This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Elaphe is a python binding of Barcode Writer In Pure PostScript (http://www.terryburton.co.uk/barcodewriter/). It generates barcode symbol as PostScript code fragment using BWIPP. The generated code is then embedded in encapsulated PostScript image which can be handled by PIL.

Prerequisites

  • Python 2.7 or later (functional decorators, ternary operator, and generator expressions are used).

    Note

    Except setup.py test, code may still work on 2.5-2.6.

  • If you want to render barcode into bitmap image, EpsImagePlugin of Python Imaging Library (http://www.pythonware.com/products/pil) or Pillow is required. Note that EpsImagePlugin requires Ghostscript is correctly installed.

Simple Usage

The following example:

>>> from elaphe import barcode
>>> barcode('qrcode',
...         'Hello Barcode Writer In Pure PostScript.',
...         options=dict(version=9, eclevel='M'),
...         margin=10, data_mode='8bits'))   # Generates PIL.EpsImageFile instance
<PIL.EpsImagePlugin.EpsImageFile ... at ...>
>>> _.show() # Show rendered bitmap

will invoke some viewer which shows a QRcode symbol with 10px margin.

Remember, barcode() returns PIL image object.

0.1.1 (2016-05-25)

  • Fix packaging.
  • Switch to zest.releaser.

0.1.0 (2016-05-24)

  • First version of elaphe3 that can be installed from PyPI
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
elaphe3-0.1.1-py2.py3-none-any.whl (231.1 kB) Copy SHA256 Checksum SHA256 3.5 Wheel May 25, 2016
elaphe3-0.1.1.tar.gz (208.1 kB) Copy SHA256 Checksum SHA256 Source May 25, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting