Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        



BARCODE GENERATOR



technology
technology

## :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"
}
```