Skip to content

A Python synthetic data generator for use in unit testing

License

Notifications You must be signed in to change notification settings

opensourceame/pyfake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFake

Pyfake is a synthetic data generator for use in Unit testing or other places where you need to use fake data for some purpose.

Usage

from pyfake import Person

person = Person()

print(person.name)        # Joe Bloggs
print(person.email)       # joe.bloggs@example.com

from pyfake import TcpIp

print(TcpIp().ipv6)       # ca39:a408:5736:769:a0b5:c5a5:393e:d2b

Object generator list

  • Adjective
  • Book
  • Company
  • Country
  • Person
  • Sports
  • TCP/IP (ip addresses, port ranges etc)

more generators are being added, check back for more details or request a generator via GH issues

About

A Python synthetic data generator for use in unit testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages