{ "info": { "author": "zhangshine", "author_email": "zhangshine0125@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=========\nPyInvoice\n=========\n\n.. image:: https://api.travis-ci.org/CiCiApp/PyInvoice.svg?branch=master\n :target: https://github.com/CiCiApp/PyInvoice\n\nInvoice/Receipt Generator.\n\nScreenshot\n----------\n\n.. image:: https://ciciapp.github.io/PyInvoice/dist/invoice.png\n :target: https://github.com/CiCiApp/PyInvoice\n\nDependency\n----------\n* Reportlab\n* Python 2.6+/3.3+\n\n+-------------------+-------------------+-------------------+-------------------+-------------------+\n| | Python 2.6 | Python 2.7 | Python 3.3 | Python 3.4 |\n+-------------------+-------------------+-------------------+-------------------+-------------------+\n| Reportlab 2.6 | \u2713 | \u2713 | | |\n+-------------------+-------------------+-------------------+-------------------+-------------------+\n| Reportlab 2.7 | \u2713 | \u2713 | | |\n+-------------------+-------------------+-------------------+-------------------+-------------------+\n| Reportlab 3.0 | | \u2713 | \u2713 | \u2713 |\n+-------------------+-------------------+-------------------+-------------------+-------------------+\n| Reportlab 3.1.44 | | \u2713 | \u2713 | \u2713 |\n+-------------------+-------------------+-------------------+-------------------+-------------------+\n| Reportlab 3.2 | | \u2713 | \u2713 | \u2713 |\n+-------------------+-------------------+-------------------+-------------------+-------------------+\n\nInstall\n-------\n\n.. code-block:: bash\n\n pip install pyinvoice\n\nUsage\n-----\n\n.. code-block:: python\n\n from datetime import datetime, date\n from pyinvoice.models import InvoiceInfo, ServiceProviderInfo, ClientInfo, Item, Transaction\n from pyinvoice.templates import SimpleInvoice\n \n doc = SimpleInvoice('invoice.pdf')\n \n # Paid stamp, optional\n doc.is_paid = True\n \n doc.invoice_info = InvoiceInfo(1023, datetime.now(), datetime.now()) # Invoice info, optional\n \n # Service Provider Info, optional\n doc.service_provider_info = ServiceProviderInfo(\n name='PyInvoice',\n street='My Street',\n city='My City',\n state='My State',\n country='My Country',\n post_code='222222',\n vat_tax_number='Vat/Tax number'\n )\n \n # Client info, optional\n doc.client_info = ClientInfo(email='client@example.com')\n \n # Add Item\n doc.add_item(Item('Item', 'Item desc', 1, '1.1'))\n doc.add_item(Item('Item', 'Item desc', 2, '2.2'))\n doc.add_item(Item('Item', 'Item desc', 3, '3.3'))\n \n # Tax rate, optional\n doc.set_item_tax_rate(20) # 20%\n \n # Transactions detail, optional\n doc.add_transaction(Transaction('Paypal', 111, datetime.now(), 1))\n doc.add_transaction(Transaction('Stripe', 222, date.today(), 2))\n \n # Optional\n doc.set_bottom_tip(\"Email: example@example.com
Don't hesitate to contact us for any questions.\")\n \n doc.finish()\n\n\nLicense\n-------\nMIT", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/CiCiApp/PyInvoice", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "PyInvoice", "package_url": "https://pypi.org/project/PyInvoice/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyInvoice/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/CiCiApp/PyInvoice" }, "release_url": "https://pypi.org/project/PyInvoice/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "Invoice/Receipt generator", "version": "0.1.7" }, "last_serial": 2076082, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f0701dc29ff8cf9849ee2086ce10ff47", "sha256": "7baced984a64fd88a40c9a117faf84a22d20144781e71c6268416754eb86bd89" }, "downloads": -1, "filename": "PyInvoice-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f0701dc29ff8cf9849ee2086ce10ff47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8130, "upload_time": "2015-06-14T14:16:51", "url": "https://files.pythonhosted.org/packages/e4/69/ab0a4366d73454cab715cf10639e38df6156d3b3fd0ba3f42e219c106c1c/PyInvoice-0.1.0.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "42800d56cffa702af2d55c8056e3963e", "sha256": "be741d165099c58c7bdd186759ca49a4b38fb5a20135b8275fccf74ad36dc22a" }, "downloads": -1, "filename": "PyInvoice-0.1.7.tar.gz", "has_sig": false, "md5_digest": "42800d56cffa702af2d55c8056e3963e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8335, "upload_time": "2016-04-21T12:50:23", "url": "https://files.pythonhosted.org/packages/2f/2a/34deaeaf246787a77211ad86055ce285e5d59151dbe79f17528d8f007932/PyInvoice-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "42800d56cffa702af2d55c8056e3963e", "sha256": "be741d165099c58c7bdd186759ca49a4b38fb5a20135b8275fccf74ad36dc22a" }, "downloads": -1, "filename": "PyInvoice-0.1.7.tar.gz", "has_sig": false, "md5_digest": "42800d56cffa702af2d55c8056e3963e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8335, "upload_time": "2016-04-21T12:50:23", "url": "https://files.pythonhosted.org/packages/2f/2a/34deaeaf246787a77211ad86055ce285e5d59151dbe79f17528d8f007932/PyInvoice-0.1.7.tar.gz" } ] }