• Stars
    star
    452
  • Rank 96,761 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 12 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Random name generator

names

https://secure.travis-ci.org/treyhunner/names.png?branch=master https://coveralls.io/repos/treyhunner/names/badge.png?branch=master https://pypip.in/v/names/badge.png https://pypip.in/d/names/badge.png

Random name generator

Installation

The script is available on PyPI. To install with pip:

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:

$ names
John Powell

Python Package Usage

Here are examples of all current features:

>>> 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

More Repositories

1

resume

LaTeX resume format
TeX
241
star
2

tmuxstart

Create default configurations for your named tmux sessions
Shell
135
star
3

invoices

Simple LaTeX invoice format
84
star
4

dramatic

Display all Python process output character-by-character
Python
47
star
5

django-email-log

Django email backend that logs all emails
Python
40
star
6

editorconfig-tools

Experimental: Tools for verifying/fixing code style based on EditorConfig file (not completed yet)
Python
37
star
7

custom-bootstrap-example

Example of using a custom Bootstrap build with bootstrap-sass and bower
CSS
36
star
8

dotfiles

My dotfiles
Vim Script
34
star
9

countdown-cli

Full-screen countdown timer, centered in the terminal window
Python
25
star
10

http-tui

HTTP API Client TUI
Python
25
star
11

ember-deploy-ssh-index

ember-deploy index-adapter for SSH
JavaScript
23
star
12

undataclass

Turn dataclasses into not-dataclasses
Python
22
star
13

pseudorandom.name

Random name generator website
Python
22
star
14

python-oddities

Yes this repository will be renamed soon...
21
star
15

jquery-formrestrict

jQuery plugin to restrict form input (includes replacement for AlphaNumeric plugin)
JavaScript
18
star
16

django-relatives

Utilities for linking to related objects in Django admin
Python
18
star
17

disallow-import-star

Stop your users from using "import *"
Python
15
star
18

pep438

Check packages in your requirements.txt file for good PEP 438 usage
Python
14
star
19

utf-cli

Search Unicode characters from your terminal
Python
8
star
20

exercism-python

Python Exercism problems
Python
6
star
21

jquery-django-formset

jQuery plugin for dynamically adding/removing forms from Django formsets
JavaScript
6
star
22

python-oddities-talk

Python Oddities Explained talk #pythonoddity
JavaScript
6
star
23

treyhunner.github.com

My blog
HTML
5
star
24

django-skeleton-app

Tips for creating an open source Django project
Python
3
star
25

SandTrap

Identify malicious website spidering bots and block them from accessing PHP pages.
PHP
3
star
26

readability-counts

25 minute talk on writing readable code
JavaScript
3
star
27

detect-charset

Detect character set of file
JavaScript
2
star
28

loop-better

JavaScript
2
star
29

mentoring

Meaningful Mentoring Moments talk
JavaScript
2
star
30

ingress-inventory-counter

Ingress Item Counter
CSS
2
star
31

Arclight

Modified version of Arclight theme for MythTV
2
star
32

editorconfig-python-validator

Validators .editorconfig against text files found (only checks indentation on .py files)
Python
1
star
33

django-dependency

Git fork of django-dependency
Python
1
star
34

jQuery.dotdotdot-plugin

version 1.5.2 of the jQuery dotdotdot plugin
JavaScript
1
star
35

audio-scripts

Collection of scripts useful for managing music collections
Shell
1
star
36

project-euler

My solutions to Project Euler problems
Haskell
1
star
37

databundles

Data Bundles are packages of data that simplify the process of finding, cleaning, transforming and loading popular datasets. http://clarinova.com/bundles
Python
1
star
38

CurrentTime

Twitter bot that tweets the current time
Python
1
star
39

lazy-looping

Lazy Looping: The Next Iteration (talk slides)
JavaScript
1
star
40

talk-talk

Give a lightning talk
JavaScript
1
star
41

patchio

Python monkey patching utilities
Python
1
star
42

magic-djv-file-example

A djv file format including both a Django template and a view that uses it in the same file (you probably shouldn't do this...)
Python
1
star