Skip to main content

Random french name generator

Project description

Random french name generator

Usage

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

$ namesfr
Alexandre Crouzier

Python Package Usage

Here are examples of all current features:

>>> import namesfr
>>> namesfr.get_full_name()
u'Aurélien Germond'
>>> namesfr.get_full_name(gender='male')
u'Frédéric Castan'
>>> namesfr.get_first_name()
'Thierry'
>>> namesfr.get_first_name(gender='female')
'Iris'
>>> namesfr.get_last_name()
'Faust'

License

This project is released under an MIT License.

Data in the following files are public domain (governement data source 2018):

  • dist.all.last

  • dist.female.first

  • dist.male.first

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

namesfr-0.0.2.tar.gz (156.3 kB view details)

Uploaded Source

Built Distribution

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

namesfr-0.0.2-py3-none-any.whl (158.7 kB view details)

Uploaded Python 3

File details

Details for the file namesfr-0.0.2.tar.gz.

File metadata

  • Download URL: namesfr-0.0.2.tar.gz
  • Upload date:
  • Size: 156.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for namesfr-0.0.2.tar.gz
Algorithm Hash digest
SHA256 71bf09d3ddec03a5d58f76f2e9e71e31cc0798067e1cf302d5eb3a4ac4445160
MD5 b739abd2b295af3e286c2258452e98bd
BLAKE2b-256 d8ffcad481b646d1f516bb8bfedb2c3e7384295b3968f8e5c33931cb627ce984

See more details on using hashes here.

File details

Details for the file namesfr-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: namesfr-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 158.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for namesfr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd9476eeecf51866320eab085b4959eba7fe39c6f76a3d53c3dfe80aee2b9dc
MD5 8317871ccedfd59aec58968ff490a91a
BLAKE2b-256 8efb97f89e4a63ec491a1369057c943357c5dab925987e1b5740fabc6e858350

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