diff options
Diffstat (limited to 'venv/lib/python3.9/site-packages/names-0.3.0.dist-info')
8 files changed, 181 insertions, 0 deletions
diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/AUTHORS.rst b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/AUTHORS.rst new file mode 100644 index 00000000..00d5c7bd --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/AUTHORS.rst @@ -0,0 +1,4 @@ +Authors +======= + +- Trey Hunner <http://treyhunner.com> diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/INSTALLER b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/METADATA b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/METADATA new file mode 100644 index 00000000..9555998e --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/METADATA @@ -0,0 +1,152 @@ +Metadata-Version: 2.1 +Name: names +Version: 0.3.0 +Summary: Generate random names +Home-page: https://github.com/treyhunner/names +Author: Trey Hunner +License: MIT +Classifier: Development Status :: 4 - Beta +Classifier: Environment :: Console +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.2 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: Implementation :: PyPy +License-File: AUTHORS.rst + +names +===== + +.. image:: https://secure.travis-ci.org/treyhunner/names.png?branch=master + :target: http://travis-ci.org/treyhunner/names +.. image:: https://coveralls.io/repos/treyhunner/names/badge.png?branch=master + :target: https://coveralls.io/r/treyhunner/names + +Random name generator + + +Installation +------------ + +The script is `available on PyPI`_. To install with pip:: + + sudo pip install names + + +Usage +----- + +Names can be used as a command line utility or imported as a Python package. + +Command Line Usage +~~~~~~~~~~~~~~~~~~ +To use the script from the command line: + +.. code-block:: bash + + $ names + John Powell + +Python Package Usage +~~~~~~~~~~~~~~~~~~~~ +Here are examples of all current features: + +.. code-block:: pycon + + >>> import names + >>> names.get_full_name() + u'Patricia Halford' + >>> names.get_full_name(gender='male') + u'Patrick Keating' + >>> names.get_first_name() + 'Bernard' + >>> names.get_first_name(gender='female') + 'Christina' + >>> names.get_last_name() + 'Szczepanek' + + +License +------- + +This project is released under an `MIT License`_. + +Data in the following files are public domain (derived from 1990 Census data): + +- dist.all.last +- dist.female.first +- dist.male.first + +.. _mit license: http://th.mit-license.org/2013 +.. _available on PyPI: http://pypi.python.org/pypi/names/ + + +Changes +======= + +0.3.0 (2013-05-14) +------------------ + +- Fixed Python 3 support +- Improved tests and fixed minor bugs + + +0.2 (2013-02-17) +---------------- + +- Initial release + + +Contributing +============ + +Please file bugs to the `Github issue tracker`_. Pull requests are welcome. + +.. _Github issue tracker: https://github.com/treyhunner/names/issues + + +Hacking and Pull Requests +------------------------- + +Please try to conform to `PEP8`_ for code contributions and ensure that the +tests continue to function. + +Please include new tests with your pull requests when appropriate. + +Running the tests +~~~~~~~~~~~~~~~~~ + +You will need `tox`_ and `coverage`_ installed to run the tests on your code: + +.. code-block:: bash + + $ pip install tox coverage + +To run the tests and generate a coverage report: + +.. code-block:: bash + + $ ./runtests.sh + +The coverage output should look similar to this:: + + _____________________ summary _____________________ + py27: commands succeeded + py32: commands succeeded + py33: commands succeeded + pypy: commands succeeded + flake8: commands succeeded + congratulations :) + Name Stmts Miss Branch BrMiss Cover + -------------------------------------------------- + names/__init__ 25 0 8 0 100% + names/main 4 0 0 0 100% + -------------------------------------------------- + TOTAL 29 0 8 0 100% + +.. _pep8: http://www.python.org/dev/peps/pep-0008/ +.. _tox: http://testrun.org/tox/latest/ +.. _coverage: https://pypi.python.org/pypi/coverage/ diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/RECORD b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/RECORD new file mode 100644 index 00000000..73286f2e --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/RECORD @@ -0,0 +1,16 @@ +../../../bin/names,sha256=_ShWVegYlnJYNzD0ij0HQU6dBVqDUOs_4Lc4uS23l54,256
+names-0.3.0.dist-info/AUTHORS.rst,sha256=odF8zhhPqEjVUu7a2lqleENBYdoEa2Q4CROf0uj655s,55
+names-0.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+names-0.3.0.dist-info/METADATA,sha256=C6FyNVOQ3ShyXACjp2kV2zmGykp6StNW12A7jExgMDc,3615
+names-0.3.0.dist-info/RECORD,,
+names-0.3.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+names-0.3.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
+names-0.3.0.dist-info/entry_points.txt,sha256=QppLyUXxOl1LfcplDATcU13-9DOG1TkS-pWZU3_AKms,42
+names-0.3.0.dist-info/top_level.txt,sha256=FvYIm-WF1XWjx3AHhshsD9DHp0aWd_jxu7M_VICnZuE,6
+names/__init__.py,sha256=zqgXMFZePTOpRg895Kz7XyOjPuDFmYWSTTinDsnu-RE,1088
+names/__pycache__/__init__.cpython-39.pyc,,
+names/__pycache__/main.cpython-39.pyc,,
+names/dist.all.last,sha256=sOKzdDzLrWQcpIs0TCTN680dmh923G2_BZhvKRnwtOE,3107965
+names/dist.female.first,sha256=vS8xD8Tl1eXqEiydQ0LJghFFgjEY6yDbFkfzBex3s1g,149625
+names/dist.male.first,sha256=ClB4727_47SD0VsPf5UEdmISbJv7Yk7NXluXj8DyRws,42665
+names/main.py,sha256=5yK2oLWs3KfDiS6FWG-Ken40cbxkKN2r2NPZICLqD5s,151
diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/REQUESTED b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/REQUESTED new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/REQUESTED diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/WHEEL b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/WHEEL new file mode 100644 index 00000000..1f37c02f --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.40.0) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/entry_points.txt b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/entry_points.txt new file mode 100644 index 00000000..674088ef --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/entry_points.txt @@ -0,0 +1,2 @@ +[console_scripts] +names = names.main:main diff --git a/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/top_level.txt b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/top_level.txt new file mode 100644 index 00000000..652bf5ad --- /dev/null +++ b/venv/lib/python3.9/site-packages/names-0.3.0.dist-info/top_level.txt @@ -0,0 +1 @@ +names |