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

Create PDF invoice according to Spanish regulations.

Usage

Check tests/tests_functional.py and facturapdf/strategies files.

Generators

To ease the creation of pdf flowables you can use the generators functions.

Element generator

Creates a flowable based on a given string. Check the element function to see the available elements. Arguments are given inside brackets separated by pipelines (|).

# Generates a Image flowable with 25 mm of width
generators.element('image[logo.jpg|25]')

# Generates a FrameBreak flowable
generators.element('framebreak')

Chapter generator

Creates a list of flowables passing any number of string arguments.

generators.chapter('Paragraph[Cat in the hat]', 'image[hat.jpg|25]')

# Passing a string that is not a valid flowable keyword or anything that is not a string will do nothing
# So you can mix chapter generator with another one at once
generators.chapter('hello', [1, 2, 3]) # will return ['hello', [1, 2, 3]]

Testing

$ python -m unittest discover

Check for output files at tests/output folder.

Changelog

  • 0.0.4 (2015-02-03)
    • Upgrade reportlab version to 3.1.44 to fix a issue with pillow
    • Fix Python 3
    • Several improvements on testing infrastructure: add tox andTravis-CI

License

BSD 3-Clause License. See LICENSE file.

Building status

Master
Develop
Release History

Release History

0.0.4

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.0.3

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.0.2

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.0.1

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
facturapdf-0.0.4-py2.py3-none-any.whl (10.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 3, 2015
facturapdf-0.0.4.tar.gz (6.8 kB) Copy SHA256 Checksum SHA256 Source Feb 3, 2015

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