This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Get cat/dog/superhero/supervillain names.

I just combine @sindresorhus’s four staffs into this one.

Install

$ pip install getname

Usage

API

random(the_type, gender, showall)

  • type: cat/dog/superhero/supervillian.
  • gender: female/male, only for dog names.
  • showall: True/False, show all the names.
>>> from getname import random_name
>>> random_name('cat')
u'Angel'
>>> random_name('dog', gender='female')
u'Maggie'
>>> random_name('superhero', showall=True)
[u'3-D Man', u'A-Bomb', u'A.I.M.', ...]

CLI

$ getname dog
Angel
$ getname dog -f
Lady
$ getname dog --showall
[u'Max', u'Buddy',...]

Use getname -h to get help message about each usage.

Usage: getname [OPTIONS] COMMAND [ARGS]...

  Get popular cat/dog/superhero/supervillain names.

Options:
  -v, --version  Show the version and exit.
  -h, --help     Show this message and exit.

Commands:
  cat      Get popular cat names.
  dog      Get popular dog names.
  superhero     Get superhero names.
  supervillain  Get supervillain names.

Use getname cat/dog/superhero/supervillain -h to get help message about the specified type.

Tests

$ pip install -r dev-requirements.txt
$ invoke test

Credits

All the glories should belong to @sindresorhus, I just port it to python :)

License

MIT.

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
getname-0.1.1.tar.gz (18.9 kB) Copy SHA256 Checksum SHA256 Source Aug 23, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting