Skip to main content

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

  1. Clone the repository
git clone https://github.com/normcyr/recherche_babac2
  1. Create a Python virtual environment using virtualenv
cd recherche_babac2
virtualenv -p python3 venv
source venv/bin/activate
  1. Install the module
pip install -e .

Setup the configuration file

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:

recherche_babac2 search text

For example:

recherche_babac2 training wheels

or, using a catalogue number:

recherche_babac2 22-150

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Recherche-Babac2, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size Recherche_Babac2-0.1.0-py3-none-any.whl (17.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size Recherche Babac2-0.1.0.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page