Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jefferson1104/barcode-generator
This is a project developed in Python, using the Flask framework. The main goal is to provide a barcode generator for products.
https://github.com/jefferson1104/barcode-generator
flask pytest python
Last synced: 2 days ago
JSON representation
This is a project developed in Python, using the Flask framework. The main goal is to provide a barcode generator for products.
- Host: GitHub
- URL: https://github.com/jefferson1104/barcode-generator
- Owner: jefferson1104
- Created: 2024-02-08T04:04:18.000Z (9 months ago)
- Default Branch: Main
- Last Pushed: 2024-02-23T19:18:58.000Z (9 months ago)
- Last Synced: 2024-02-24T19:48:19.847Z (9 months ago)
- Topics: flask, pytest, python
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
BARCODE GENERATOR
## :memo: About project
This is a project developed in Python, using the Flask framework. The main goal is to provide a barcode generator for products. Some interesting features of this project include: Pylint and Pre-commit Configuration, Unit Testing with Pytest, Utilization of Libraries like python-barcode, Pillow and Cerberus.
## :rocket: Technologies
- [Python](https://docs.python.org/3/)
- [Virtual Env](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/)
- [Pylint](https://pylint.readthedocs.io/en/stable/)
- [Pre-commit](https://pre-commit.com/)
- [Flask](https://flask.palletsprojects.com/en/3.0.x/)
- [python-barcode](https://python-barcode.readthedocs.io/en/stable/)
- [Pillow](https://python-pillow.org/)
- [Cerberus](https://docs.python-cerberus.org/)
- [Pytest](https://docs.pytest.org/en/8.0.x/getting-started.html)## :cyclone: Run this project
```bash
# Clone this project
$ git clone https://github.com/jefferson1104/barcode-generator.git# Project directory
$ cd barcode-generator# Install and config virtualenv
$ pip3 install virtualenv
$ python3 -m venv .venv
$ source .venv/bin/activate# Install dependencies
$ pip install -r requirements.txt -v# run project
$ python3 run.py
```## :traffic_light: Endpoints
```bash
# to create tag
http://localhost:3000/create_tag# body json example
{
"product_code": "123456"
}
```