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
git clone https://github.com/normcyr/recherche_babac2
- Create a Python virtual environment using
virtualenv
cd recherche_babac2
virtualenv -p python3 venv
source venv/bin/activate
- Install the module
pip install -e .
Setup the configuration file
cp .env.example .env
Then edit the .env
file (eg nano .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:
recherche_babac2 search text
For example:
recherche_babac2 training wheels
or, using a catalogue number:
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
Recherche Babac2-0.0.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for Recherche_Babac2-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34b7461f281a3098ae2f60e11014f982f40a899ea0e4af98c8c5530858caedac |
|
MD5 | c2b4e0e635e793ec3cf98cdc85ea53bc |
|
BLAKE2b-256 | 7a012f41912314c7e24cec774afbe4f64727b843ad9dfc6763fdee3293afff1e |