Generate random names of Indian origin
Project description
indian-names (v0.2)
Python module to generate random names of Indian origin.
Installation
You can install it using pip from the repository as:
pip install indian-names
Usage
Indian-names can be used as a command line utility or imported as a Python module.
Command Line Usage
To use the script from the command line:
$ indian-names
Anand Dubey
Python Module Usage
Here are examples of all current features:
>>> import indian_names
>>> indian_names.get_full_name()
'Bhawana Joshi'
>>> indian_names.get_full_name(gender='male')
'Manish Gupta'
>>> indian_names.get_first_name()
'Siddhant'
>>> indian_names.get_first_name(gender='female')
'Kajal'
>>> indian_names.get_last_name()
'Tripathi'
The module can currently generate 550+ first names for male and female each, and 350+ last names. Overall 400,000+ full names can be generated.
TODO (Future):
- Increase the number of names possible.
- Implement first/last name pairs for regional names as well. Emphasis on handling first names that are compatible with only certain last names & vice-versa.
License
This project is released under a BSD 3-Clause License.
Names are compiled in the following files through various online sources available publically:
first.male.names
first.female.names
last.names
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
indian-names-0.2.tar.gz
(14.8 kB
view hashes)
Built Distribution
indian_names-0.2-py3-none-any.whl
(15.3 kB
view hashes)
Close
Hashes for indian_names-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bdf55d75689aafe2999db6987b71117daf73213e53ae2478f4604c1a8d0fb8f |
|
MD5 | e1bcbde180c572563b658980982c1f56 |
|
BLAKE2b-256 | c193db86d0bc9a0f8ca4e5220d300f7d264966e29008d4ac86166c0b23cea976 |