{ "info": { "author": "Mark Henwood", "author_email": "mark@mcbh.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Plugins", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Topic :: Utilities" ], "description": "pypostscript\n============\n\nCreate A4 Portrait PostScript output with Python Objects\n\nVersion 0.1:\n Portrait A4 only\n 4 Font choices\n TextLines\n Code39Barcodes\n Code93Barcodes\n Circles\n Rectangles\n\nUsage\n=====\n\nExample of usage::\n\n from pypostscript.barcode import Code39Barcode, Code93Barcode\n from pypostscript.shapes import Circle, Rectangle\n from pypostscript.text import HelveticaBoldFont, TextLine, TimesPlainFont\n from pypostscript.page import Page\n\n\n def sample_page():\n page = Page()\n page.extend(TextLine(x_pts=40,\n y_pts=740,\n font=HelveticaBoldFont(size_pts=22),\n text='A Test Portrait Page'))\n page.extend(TextLine(x_pts=40,\n y_pts=650,\n font=TimesPlainFont(size_pts=12),\n text='PostScript library, test portrait page.'))\n page.extend(Code39Barcode(x_pts=40,\n y_pts=500,\n chars='ABC123'))\n page.extend(Code93Barcode(x_pts=40,\n y_pts=400,\n chars='ABC987'))\n page.extend(Rectangle(x_pts=30,\n y_pts=390,\n width_pts=170,\n height_pts=185,\n line_width_pts=2))\n page.extend(Circle(centre_x_pts=80,\n centre_y_pts=150,\n radius_pts=72,\n line_width_pts=1))\n return page\n\n if __name__ == '__main__':\n page = sample_page()\n print page.render()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/pypostscript", "keywords": "postscript printing barcode", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pypostscript", "package_url": "https://pypi.org/project/pypostscript/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pypostscript/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/pypostscript" }, "release_url": "https://pypi.org/project/pypostscript/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "Create PostScript page (including barcodes) using Python objects", "version": "0.1.7" }, "last_serial": 808205, "releases": { "0.1.7": [ { "comment_text": "", "digests": { "md5": "c02e65b38324b21d2302e0ed84d1f826", "sha256": "4c9f44e9df343361819c925426720071330b6d076aa81f4dbe5821086f8313c4" }, "downloads": -1, "filename": "pypostscript-0.1.7.tar.gz", "has_sig": false, "md5_digest": "c02e65b38324b21d2302e0ed84d1f826", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 112640, "upload_time": "2012-02-28T16:21:20", "url": "https://files.pythonhosted.org/packages/3a/8d/28142177b72b6886ab65b002467b57b1ae9d12185756f4aa07705b3aa06e/pypostscript-0.1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c02e65b38324b21d2302e0ed84d1f826", "sha256": "4c9f44e9df343361819c925426720071330b6d076aa81f4dbe5821086f8313c4" }, "downloads": -1, "filename": "pypostscript-0.1.7.tar.gz", "has_sig": false, "md5_digest": "c02e65b38324b21d2302e0ed84d1f826", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 112640, "upload_time": "2012-02-28T16:21:20", "url": "https://files.pythonhosted.org/packages/3a/8d/28142177b72b6886ab65b002467b57b1ae9d12185756f4aa07705b3aa06e/pypostscript-0.1.7.tar.gz" } ] }