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
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
namesfr-0.0.2.tar.gz
(156.3 kB
view hashes)
Built Distribution
namesfr-0.0.2-py3-none-any.whl
(158.7 kB
view hashes)