{ "info": { "author": "Alain Barthe", "author_email": "barthe@albar.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "This module has been written for a particular need: to print easily small pieces\r\nof information in a pretty way, such as the output of the UNIX df command.\r\nThat's why the whole page management stuff has been let down.\r\n\r\nExisting perl formats should be usable as is.\r\n\r\n>>> from perlformats import PerlFormat\r\n>>> myformat = \"\"\"\r\n... @<<<<<<<<<<<<<<<<<< @||||||| @<<<<<<@>>>> @>>>> @<<<<<<<<<<<<<<<<<\r\n... name, $login, $office,$uid,$gid, $home\r\n... \"\"\"\r\n>>> pf = PerlFormat(myformat)\r\n>>> mydata = { '$login': 'jsmith', '$office': 'F125', \r\n... '$uid': '1234', '$gid': '25', '$home': '/home/jsmith' }\r\n>>> person.name # An object contains a value\r\n'John Smith'\r\n>>> print pf.format(mydata, person) # Values may be searched in several places\r\nJohn Smith jsmith F125 1234 25 /home/jsmith", "description_content_type": null, "docs_url": null, "download_url": "http://www.albar.fr/downloads/perlformats.py", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.albar.fr/perlformats_html/index.html", "keywords": "text format perl", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "perlformats", "package_url": "https://pypi.org/project/perlformats/", "platform": "Any platform", "project_url": "https://pypi.org/project/perlformats/", "project_urls": { "Download": "http://www.albar.fr/downloads/perlformats.py", "Homepage": "http://www.albar.fr/perlformats_html/index.html" }, "release_url": "https://pypi.org/project/perlformats/0.1/", "requires_dist": null, "requires_python": null, "summary": "This module implements partially perl formats in python.", "version": "0.1" }, "last_serial": 91457, "releases": { "0.1": [] }, "urls": [] }