{ "info": { "author": "Ask Solem", "author_email": "ask@celeryproject.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: Artistic License", "Operating System :: OS Independent", "Programming Language :: Perl", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Artistic Software", "Topic :: Communications :: Chat", "Topic :: Communications :: Usenet News", "Topic :: Documentation", "Topic :: Games/Entertainment :: Fortune Cookies", "Topic :: Internet :: Name Service (DNS)", "Topic :: Other/Nonlisted Topic", "Topic :: Religion", "Topic :: Software Development :: Libraries :: Perl Modules", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "######################################################\n metasyntactic - Themed metasyntactic variables names\n######################################################\n\n:Version: 0.99\n\nSynopsis\n========\n\nThis is a port of the excellent Perl module `Acme::MetaSyntactic`_,\nwritten by Phillipe (BooK) Bruhat.\n\nIn fact it is automatically generated from Acme::MetaSynctacic.\nAnd this particular version was generated from version 0.99.\n\nThe original CONTRIBUTORS file is shipped with this distribution.\n\n.. _`Acme::MetaSyntactic`:\n http://search.cpan.org/dist/Acme-MetaSyntactic/lib/Acme/MetaSyntactic.pm\n\nUsage\n=====\n\nGeneral\n-------\n\nGet a list of all themes::\n\n >>> import metasyntactic\n >>> metasyntactic.all_themes\n set(...)\n\n\nGet random theme::\n\n >>> metasyntactic.random()\n \n\n\nGet random metavariable from random theme::\n\n >>> metasyntactic.random().random()\n ['Barbouille']\n\nGet 4 random metavariables from random theme::\n\n >>> metasyntactic.random().random(4)\n ['eve', 'irene', 'frank', 'ellen']\n\nGet random metavariables from 4 random themes::\n\n >>> [theme.random() for theme in metasyntactic.random(4)]\n ['Barbouille', 'Fragarach', 'Grumpy', 'the_Lord_of_the_Rings']\n\nGet 2 random metavariables from 4 random themes::\n\n >>> [theme.random(2) for theme in metasyntactic.random(4)]\n [['Lupa', 'Civetta'],\n ['spigot', 'physique'],\n ['Patrice_Petit', 'Yvette_Chauvire'],\n ['GiNG_GiNG', 'DOINK_DOINK_DOINK_DOINK']]\n\nThemes\n------\n\n # Get theme by theme name\n >>> foo = metasyntactic.get(\"foo\")\n >>> foo\n \n\n # Get random name\n >>> foo.random()\n 'fubar'\n\n # Get several random names.\n >>> foo.random(8)\n ['bar', 'xyzzy', 'foobar', 'thud', 'foo', 'fred', 'garply', 'quux']\n\n # Get all names\n >>> foo.all()\n set(....)\n\n\nCategories\n==========\n\n # Get random name in specific category\n >>> foo.random(8, category=\"fr\")\n ['truc', 'test1', 'machin', 'titi', 'tutu', 'pipo', 'test2', 'tata']\n\n # get default category\n >>> foo.default()\n 'en'\n\n # get all available categories\n >>> foo.categories()\n set(['en', 'fr', 'nl'])\n\n # get all names in specific category\n >>> foo.all(category=\"fr\")\n set(...)\n\n >>> yapc = metasyntactic.get(\"yapc\")\n\n >>> yapc.random(4, section=\"america north\")\n ['Buffalo', 'Pittsburgh', 'Boca_Raton', 'Saint_Louis']\n\n >>> yapc.sections()\n set(['america north',\n 'america south',\n 'asia',\n 'australia',\n 'brazil',\n 'canada',\n 'europe',\n 'israel',\n 'taipei'])\n\n\nInstallation\n============\n\nYou can install `metasyntactic` either via the Python Package Index (PyPI)\nor from source.\n\nTo install using `pip`,::\n\n $ pip install metasyntactic\n\nTo install using `easy_install`,::\n\n $ easy_install metasyntactic\n\nIf you have downloaded a source tarball you can install it\nby doing the following,::\n\n $ python setup.py build\n # python setup.py install # as root\n\n\nBug tracker\n===========\n\nIf you have any suggestions, bug reports or annoyances please report them\nto our issue tracker at http://github.com/ask/metasyntactic/issues/\n\nLicense\n=======\n\nThis software is licensed under the `Artistic License`.\nAnd I don't reserve any copyright for this work, as all the hard work\nshould be credited to the original authors.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ask/metasyntactic/", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "metasyntactic", "package_url": "https://pypi.org/project/metasyntactic/", "platform": "any", "project_url": "https://pypi.org/project/metasyntactic/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ask/metasyntactic/" }, "release_url": "https://pypi.org/project/metasyntactic/0.99/", "requires_dist": null, "requires_python": null, "summary": "metasyntactic - Themed metasyntactic variables names", "version": "0.99" }, "last_serial": 794725, "releases": { "0.99": [ { "comment_text": "", "digests": { "md5": "d19938622ed55471ce7e8f0e935c43b5", "sha256": "cc8f75d1fd0cbd9d2ffd30c5f9d6ff86e50a053b88d0687abb0d84296d4dfdc4" }, "downloads": -1, "filename": "metasyntactic-0.99.tar.gz", "has_sig": false, "md5_digest": "d19938622ed55471ce7e8f0e935c43b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 160206, "upload_time": "2011-09-08T15:06:56", "url": "https://files.pythonhosted.org/packages/af/c3/b634d7d9b0c48300dfa5fa991540e297b82df785d3d602ce43dcdf15563a/metasyntactic-0.99.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d19938622ed55471ce7e8f0e935c43b5", "sha256": "cc8f75d1fd0cbd9d2ffd30c5f9d6ff86e50a053b88d0687abb0d84296d4dfdc4" }, "downloads": -1, "filename": "metasyntactic-0.99.tar.gz", "has_sig": false, "md5_digest": "d19938622ed55471ce7e8f0e935c43b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 160206, "upload_time": "2011-09-08T15:06:56", "url": "https://files.pythonhosted.org/packages/af/c3/b634d7d9b0c48300dfa5fa991540e297b82df785d3d602ce43dcdf15563a/metasyntactic-0.99.tar.gz" } ] }