Generate fake but valid data filled databases for test purposes using most popular patterns(AFAIK). Current support is sqlite, mysql, postgresql, mongodb, redis, CouchDB. The installation through pypi retrieves 'fake-factory' as a main dependency. db argument takes 6 possible options, sqlite, mysql, postgresql, mongodb, redis, CouchDB. name argument is OPTIONAL. When it is absent fake2db will name db's randomly. host argument is OPTIONAL. Hostname to use for database connection. Not used for sqlite. host argument is OPTIONAL. Hostname to use for database connection. Not used for sqlite. username argument is OPTIONAL. Username for the database user. password argument is OPTIONAL. Password for database user. Only supported for mysql & PostgreSQL. locale argument is OPTIONAL. The localization of data to be generated ('en_US' as default). seed argument is OPTIONAL. Integer for seeding random generator to produce the same data set between runs. Note: uuid4 values still generated randomly.
Features
- Run fake2db with FoundationDB SQL Layer
- Custom Database Generation
- Create a custom db/table
- The installation through pypi retrieves 'fake-factory' as a main dependency
- Generate fake but valid data filled databases
- Current support is sqlite, mysql, postgresql, mongodb, redis, couchdb