{ "info": { "author": "Trey Hunner", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "names\n=====\n\n.. image:: https://secure.travis-ci.org/treyhunner/names.png?branch=master\n :target: http://travis-ci.org/treyhunner/names\n.. image:: https://coveralls.io/repos/treyhunner/names/badge.png?branch=master\n :target: https://coveralls.io/r/treyhunner/names\n\nRandom name generator\n\n\nInstallation\n------------\n\nThe script is `available on PyPI`_. To install with pip::\n\n sudo pip install names\n\n\nUsage\n-----\n\nNames can be used as a command line utility or imported as a Python package.\n\nCommand Line Usage\n~~~~~~~~~~~~~~~~~~\nTo use the script from the command line:\n\n.. code-block:: bash\n\n $ names\n John Powell\n\nPython Package Usage\n~~~~~~~~~~~~~~~~~~~~\nHere are examples of all current features:\n\n.. code-block:: pycon\n\n >>> import names\n >>> names.get_full_name()\n u'Patricia Halford'\n >>> names.get_full_name(gender='male')\n u'Patrick Keating'\n >>> names.get_first_name()\n 'Bernard'\n >>> names.get_first_name(gender='female')\n 'Christina'\n >>> names.get_last_name()\n 'Szczepanek'\n\n\nLicense\n-------\n\nThis project is released under an `MIT License`_.\n\nData in the following files are public domain (derived from 1990 Census data):\n\n- dist.all.last\n- dist.female.first\n- dist.male.first\n\n.. _mit license: http://th.mit-license.org/2013\n.. _available on PyPI: http://pypi.python.org/pypi/names/\n\n\nChanges\n=======\n\n0.3.0 (2013-05-14)\n------------------\n\n- Fixed Python 3 support\n- Improved tests and fixed minor bugs\n\n\n0.2 (2013-02-17)\n----------------\n\n- Initial release\n\n\nContributing\n============\n\nPlease file bugs to the `Github issue tracker`_. Pull requests are welcome.\n\n.. _Github issue tracker: https://github.com/treyhunner/names/issues\n\n\nHacking and Pull Requests\n-------------------------\n\nPlease try to conform to `PEP8`_ for code contributions and ensure that the\ntests continue to function.\n\nPlease include new tests with your pull requests when appropriate.\n\nRunning the tests\n~~~~~~~~~~~~~~~~~\n\nYou will need `tox`_ and `coverage`_ installed to run the tests on your code:\n\n.. code-block:: bash\n\n $ pip install tox coverage\n\nTo run the tests and generate a coverage report:\n\n.. code-block:: bash\n\n $ ./runtests.sh\n\nThe coverage output should look similar to this::\n\n _____________________ summary _____________________\n py27: commands succeeded\n py32: commands succeeded\n py33: commands succeeded\n pypy: commands succeeded\n flake8: commands succeeded\n congratulations :)\n Name Stmts Miss Branch BrMiss Cover\n --------------------------------------------------\n names/__init__ 25 0 8 0 100%\n names/main 4 0 0 0 100%\n --------------------------------------------------\n TOTAL 29 0 8 0 100%\n\n.. _pep8: http://www.python.org/dev/peps/pep-0008/\n.. _tox: http://testrun.org/tox/latest/\n.. _coverage: https://pypi.python.org/pypi/coverage/", "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/treyhunner/names", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "names", "package_url": "https://pypi.org/project/names/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/names/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/treyhunner/names" }, "release_url": "https://pypi.org/project/names/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Generate random names", "version": "0.3.0" }, "last_serial": 706930, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ab53e6ab1729d3f14fbbab0966aab233", "sha256": "5af2c246bc5d79169ee2229df88fd39c39000ad27d4fa9ba1b83166dddd381bc" }, "downloads": -1, "filename": "names-0.1.tar.gz", "has_sig": false, "md5_digest": "ab53e6ab1729d3f14fbbab0966aab233", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 784848, "upload_time": "2013-02-18T04:39:49", "url": "https://files.pythonhosted.org/packages/d5/be/49af17ab086f302bd5bddd05e33ba5dc3f16f20bcb4ce3ecd63b28e668cf/names-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "35cc48636c5a4144d144e20e5e15ed89", "sha256": "203b37143c94ac098cd6e27fbaef8ff94a3ff76dce2ffb1a378f3f1c54d21a31" }, "downloads": -1, "filename": "names-0.2.tar.gz", "has_sig": false, "md5_digest": "35cc48636c5a4144d144e20e5e15ed89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 786456, "upload_time": "2013-02-18T05:56:08", "url": "https://files.pythonhosted.org/packages/ed/e5/152526eac5700d6b5a188b71e6ad7b45cb990c0eb55e4efdaaa6a7b65781/names-0.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "64e8e6d66583863fd7c43d9ea62991d3", "sha256": "726e46254f2ed03f1ffb5d941dae3bc67c35123941c29becd02d48d0caa2a671" }, "downloads": -1, "filename": "names-0.3.0.tar.gz", "has_sig": false, "md5_digest": "64e8e6d66583863fd7c43d9ea62991d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 789099, "upload_time": "2013-05-14T14:55:49", "url": "https://files.pythonhosted.org/packages/44/4e/f9cb7ef2df0250f4ba3334fbdabaa94f9c88097089763d8e85ada8092f84/names-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64e8e6d66583863fd7c43d9ea62991d3", "sha256": "726e46254f2ed03f1ffb5d941dae3bc67c35123941c29becd02d48d0caa2a671" }, "downloads": -1, "filename": "names-0.3.0.tar.gz", "has_sig": false, "md5_digest": "64e8e6d66583863fd7c43d9ea62991d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 789099, "upload_time": "2013-05-14T14:55:49", "url": "https://files.pythonhosted.org/packages/44/4e/f9cb7ef2df0250f4ba3334fbdabaa94f9c88097089763d8e85ada8092f84/names-0.3.0.tar.gz" } ] }