https://github.com/sanogotech/codebarre128python
https://github.com/sanogotech/codebarre128python
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sanogotech/codebarre128python
- Owner: sanogotech
- Created: 2021-08-31T09:15:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-31T10:15:57.000Z (over 3 years ago)
- Last Synced: 2025-02-09T00:17:24.658Z (3 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codebarre128python
The Best Python Packages for Generating Barcodes
treepoem is the most feature-rich Python package for rendering barcodes as images.https://www.codeodis.com/content/24-polices-code-barre
Police Code Barre en code barre ou par code python.## Install
```
pip install treepoem
```
Install ghostscript : https://www.ghostscript.com/download/gsdnld.htmlPATH= C:\Program Files\gs\gs9.54.0\bin
## CLI```
treepoem --type code128 --output code128.png PyBay2018treepoem --type qrcode --output qr.gif https://jonasneubert.com/talks/pybay2018.html eclevel=Q
```
## Code Sample
```
import treepoemimg = treepoem.generate_barcode(
barcode_type='qrcode',
data='https://jonasneubert.com/talks/pybay2018.html',
options={"eclevel": "Q"}
)
img.convert('1').save('qr.gif')```
## Code 128 example
```
treepoem --type code128 --output code128.png PyBay2018
```