Skip to main content

indian-names (v0.2)

Python module to generate random names of Indian origin.

PyPI - Python Version PyPI - License Maintenance PyPI PyPI - Status

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()
    'Nisha Asthana'
    >>> 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

Release files for indian-names 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for indian-names 0.3
File Size Uploaded
indian-names-0.3.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for indian-names 0.3
File Interpreter ABI Platform
indian_names-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 24.1 kB

Release files / indian-names-0.3.tar.gz

Download URL indian-names-0.3.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b19dbe303ce8086e07060b480a7656a4ce0e0d342a8ee477ad5a69048a1c8862
BLAKE2b-256 checksum
How to use checksums
6668cb20c4dedf7e6ffbb2cfb17366a7de983722c536ef17f50cfb42d59fb6e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / indian_names-0.3-py3-none-any.whl

Download URL indian_names-0.3-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
718c55818381403cbde1af76ff73d957db6c6ae2b52dc10005f2a493d31986f4
BLAKE2b-256 checksum
How to use checksums
03f10bacaec2f16ec91d6291127d83a978f366f7d3ce68434d8a09ae7e22714d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page