New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

barpy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barpy

Ruby barby barcodes generating library port to Python

0.1.2
PyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts