[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
# Recherche Babac2
A Python3 module to search the Cycle Babac catalogue and return description, price and availability.
## Installation
1. Clone the repository
```bash
git clone https://github.com/normcyr/recherche_babac2
```
2. Create a Python virtual environment using `virtualenv`
```bash
cd recherche_babac2
virtualenv -p python3 venv
source venv/bin/activate
```
3. Install the module
```bash
python setup.py install
```
## Setup the configuration file
```bash
cp config.yml.example config.yml
```
Then edit the `config.yml` file (*eg* `nano config.yml`) and change the value of the `username` and `password` variables to the proper credentials to log in to the Cycle Babac website.
## Perform a search
Launch the search with the following command:
```bash
recherche_babac2 search text
```
For example:
```bash
recherche_babac2 training wheels
```
or, using a catalogue number:
```bash
recherche_babac2 22-150
```
Raw data
{
"_id": null,
"home_page": "http://github.com/normcyr/recherche_babac2",
"name": "Recherche-Babac2",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "bicycle babac parts repair diy",
"author": "Normand Cyr",
"author_email": "norm@normandcyr.com",
"download_url": "https://files.pythonhosted.org/packages/7b/28/3cdd86bae232c7b9389727281ad7bdc6ad955134e78aa2bbaca2506f3eb0/Recherche%20Babac2-0.2.7.tar.gz",
"platform": null,
"description": "[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n# Recherche Babac2\n\nA Python3 module to search the Cycle Babac catalogue and return description, price and availability.\n\n## Installation\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/normcyr/recherche_babac2\n```\n\n2. Create a Python virtual environment using `virtualenv`\n\n```bash\ncd recherche_babac2\nvirtualenv -p python3 venv\nsource venv/bin/activate\n```\n\n3. Install the module\n\n```bash\npython setup.py install\n```\n\n## Setup the configuration file\n\n```bash\ncp config.yml.example config.yml\n```\n\nThen edit the `config.yml` file (*eg* `nano config.yml`) and change the value of the `username` and `password` variables to the proper credentials to log in to the Cycle Babac website.\n\n## Perform a search\n\nLaunch the search with the following command:\n\n```bash\nrecherche_babac2 search text\n```\n\nFor example:\n\n```bash\nrecherche_babac2 training wheels\n```\n\nor, using a catalogue number:\n\n```bash\nrecherche_babac2 22-150\n```\n",
"bugtrack_url": null,
"license": "GNU GPLv3",
"summary": "A Python3 module to search the Cycle Babac catalogue and return description, price and availability.",
"version": "0.2.7",
"split_keywords": [
"bicycle",
"babac",
"parts",
"repair",
"diy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aed3cd0dc1fb51c971ecdd0d768efae7e3cc5690351f7b401df101dff8a50639",
"md5": "e1633ab48866e96b0def77f54ba1187b",
"sha256": "3ecea06edafcf04951f0fd22caa7c6c5ca19cf23bf369cd9bbff8a30d4925eb1"
},
"downloads": -1,
"filename": "Recherche_Babac2-0.2.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e1633ab48866e96b0def77f54ba1187b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 17841,
"upload_time": "2023-01-16T04:56:18",
"upload_time_iso_8601": "2023-01-16T04:56:18.196844Z",
"url": "https://files.pythonhosted.org/packages/ae/d3/cd0dc1fb51c971ecdd0d768efae7e3cc5690351f7b401df101dff8a50639/Recherche_Babac2-0.2.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7b283cdd86bae232c7b9389727281ad7bdc6ad955134e78aa2bbaca2506f3eb0",
"md5": "2c522375ed04da4e87a81227729311fc",
"sha256": "77e2af4473658bd927c07c1863eb6dec14dcf5e3200f7a0f6fd0ae7cd9b41ae5"
},
"downloads": -1,
"filename": "Recherche Babac2-0.2.7.tar.gz",
"has_sig": false,
"md5_digest": "2c522375ed04da4e87a81227729311fc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 17376,
"upload_time": "2023-01-16T04:56:19",
"upload_time_iso_8601": "2023-01-16T04:56:19.807729Z",
"url": "https://files.pythonhosted.org/packages/7b/28/3cdd86bae232c7b9389727281ad7bdc6ad955134e78aa2bbaca2506f3eb0/Recherche%20Babac2-0.2.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-16 04:56:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "normcyr",
"github_project": "recherche_babac2",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "recherche-babac2"
}