Skip to content

Sethnico/namesfr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

namesfr

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages