Barby goes python
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead of kstep:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
barpy
.gitignore
README.md
README.txt
setup.py
test.py

README.md

barpy

This is Python a port of barby library written in Ruby. I couldn't find lightweight Python barcode generation library of the same caliber as barby (elaphe is broken and others don't support GS1-128 and QRCode at the same time, so I ported barby).

API is basicly the same as of barby, but in Python style.

The port is very quick and not complete at the moment (I ported only parts I really need for my project), I will port the rest eventually.

Also the port is quite direct, in a sense there are a lot of places in Python code which have more Rubyish flavour instead of Pythonian (e.g. a lot of @property decorators to call methods without parenthesis). I did it to avoid logic errors during porting process, I will make code more Pythonian in the future.