Skip to main content

Nepali name generator, surname and caste/ethnic group utilities

Project description

NepalPy 🇳🇵

PyPI version
Python Version
License

Nepali Name, Caste & Location Generator – A lightweight, zero-dependency Python library to generate realistic Nepali names, surnames, caste/ethnic group categories, districts, and provinces.

nepalpy is designed for developers, researchers, and students who need authentic Nepali demographic and geographic data for testing, simulations, analytics, or educational projects.


Features

Feature Description
name() Generate random first names (male, female, or mixed)
name_start_with(letter, count) Generate names starting with a given letter
name_end_with(letter, count) Generate names ending with a given letter
last_name() Generate a random surname/caste
cast(count) Generate multiple surnames
full_name() Generate full names (first + last)
cast_category(surname) Identify caste/ethnic group category
district(count=1) Generate 1 or multiple random districts
district_all() Get all 77 districts of Nepal
province(count=1) Generate 1 or multiple random provinces
province_all() Get all provinces of Nepal
district_province(district_name) Return the province of a given district

Supported Caste Categories:

  • khas-arya (bahun, chhetri, thakuri, sanyasi)
  • janajati (tamang, gurung, magar, rai, limbu, etc.)
  • newar (shrestha, maharjan, sakya, bajracharya, etc.)
  • dalit (kami, damai, sarki, bishwokarma, etc.)
  • madhesi (yadav, kurmi, teli, chamar, etc.)

All mappings and geographic data are configurable and expandable.


Installation

pip install nepalpy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nepalpy-1.3.2.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nepalpy-1.3.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file nepalpy-1.3.2.tar.gz.

File metadata

  • Download URL: nepalpy-1.3.2.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for nepalpy-1.3.2.tar.gz
Algorithm Hash digest
SHA256 3eaa1e040123f2824d791e90c8b123bc1bbf8255bee9a5a76ff7fab8412cbb3e
MD5 187d87ce9377636587bfcc5eabab0b78
BLAKE2b-256 f53d28d3c0d61062a7215cd8dc9f838f78bf55dd5fc1235f267f12f1ee0a088d

See more details on using hashes here.

File details

Details for the file nepalpy-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: nepalpy-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for nepalpy-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68b66b0e872690bc13db94b9d899754bce967fe73f2c451a39f122842ab8a2fa
MD5 fe69bbfcad131987c2261fc8cf4d19fb
BLAKE2b-256 33a21b24be9e604996c670a71cce82bbecfd21f6c203207f490e89c4c53d5db4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page