Skip to main content

Generate names in every language.

Project description

Name4py

Generate names in every language.

Installation

pip install -U name4py
pip install git+https://github.com/vortezwohl/Name4py.git

Quick Start

  1. Import SDKs
from name4py import NameGenerator, Country, Gender
  1. Generate names
chinese_name = NameGenerator(Country.CHN).next_name(Gender.Female, surname_first=True, hyphenate=False)
french_name = NameGenerator(Country.FRA).next_name(Gender.Male, surname_first=False, hyphenate=True)
print(chinese_name)
print(french_name)

output:

高思涵
Frédérick St-Martin

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

name4py-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

name4py-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file name4py-0.1.0.tar.gz.

File metadata

  • Download URL: name4py-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for name4py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6389c58c59b76a656c651159666487ea1385ee8e2f265672512ba1cf831209a1
MD5 57be0d734b88abce9669989d10952974
BLAKE2b-256 d186d42f687e6650113721c0617ee60d1745707ec667558da9c337ff5450b288

See more details on using hashes here.

File details

Details for the file name4py-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: name4py-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for name4py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88c0b4de98ed1255002ddeb3b8fdc61e985f28bdb13d5891781d3bac92d993de
MD5 4bb5d216304530fd995a93e7b8dbcd9b
BLAKE2b-256 6e6d0fe7fd217f10bcbd610072d1af758dd52aa0369427e7446fd738ff03cc29

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