A Python3 module to search the Cycle Babac catalogue and return description, price and availability.
Project description
# Recherche Babac2
A Python3 module to search the Cycle Babac catalogue and return description, price and availability.
## Installation
Clone the repository
`bash git clone https://github.com/normcyr/recherche_babac2 `
Create a Python virtual environment using virtualenv
`bash cd recherche_babac2 virtualenv -p python3 venv source venv/bin/activate `
Install the module
`bash pip install -e . `
## Setup the configuration file
`bash cp recherche_babac2/.env.example recherche_babac2/.env `
Then edit the .env file (eg nano recherche_babac2/.env) 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 `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Recherche_Babac2-0.1.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429c26939410d23f4b56439d09ccd8b36d31122fcff864f68170acf4444c1323 |
|
MD5 | 88f2b6c13440702b1ec20e18b18aa6bb |
|
BLAKE2b-256 | 2ba492e3c8d9f02b34d99e796fe8348f632ac5800779b713e6adc65672152de7 |