Flask Babac
A Python3 Flask front-end application to search the Cycle Babac catalogue and return description, price and availability.
Installation
- Clone the repository
git clone https://github.com/normcyr/flask_babac
- Create a Python virtual environment using
virtualenv
cd flask_babac
virtualenv -p python3 venv
source venv/bin/activate
- Install the module
pip install -e .
Configuration
- Connection to the Cycle Babac website
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.
Finally, move the config.yml file to your user configuration folder
mkdir -p ~/.config/flask_babac
mv config.yml ~/.config/flask_babac/config.yml
- Environment variables for the Flask application
cp .env.example .env
Then edit the .env file (eg nano .env) and change the values of the variables to your desired parameters.
- Launch the Flask application
flask run
Then access web application at the address given, typically
http://127.0.0.1:8080
This is the page you should get at first:
And after search for training wheels, you get your results in a table:
Perform a search on a command line interface
Launch the search with the following command:
flask_babac search text
For example:
flask_babac training wheels
or, using a catalogue number:
flask_babac 22-150
Metadata
Release files for Flask-Babac 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Flask Babac-0.1.0.tar.gz | 4.1 kB | Without provenance | Details for Flask Babac-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Flask_Babac-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for Flask_Babac-0.1.0-py3-none-any.whl |
Total release size: 21.7 kB
Release files / Flask Babac-0.1.0.tar.gz
| Download URL | Flask Babac-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e99b6f5d397d5ff9a71bfd0d0eb6bf076d94544a2fb0b330c3c7ae6be30332fc
|
|
BLAKE2b-256 checksum How to use checksums |
4e74b4b8f1de935610c8ed68cc2481857a371ee931be911042446698af4df47f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
|
Release files / Flask_Babac-0.1.0-py3-none-any.whl
| Download URL | Flask_Babac-0.1.0-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9a92aaace6d5a5806d8db24ab188f3790f0d28599ef9670c4215c6adf0b338a
|
|
BLAKE2b-256 checksum How to use checksums |
590c56182e8fe38b14c19e5c66faeb0917de10a1203cd6daec8401cbf614c1ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
|
Security for Flask-Babac 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.