Skip to main content

Generates pipe delimited test data

Project description

This testdatagen.nameandaddr module generates pipe (’|’) delimited test data with the following fields - firstname, lastname, email, streetAddress, ZipCode, City, State, StateAbrv, County, Latitude, Longitude

The intention of this module is to provide a simple way to quickly generate person test data.

Usage :

from testdatagen import nameandaddr
nameandaddr.nameaddr(filename, recordcount)

example : nameandaddr.nameaddr('persons.csv', 300)

This example will create  a file named 'persons.csv' in the  directory where this program is located.
The file 'persons.csv' will have 300 lines.
It is recommended that you provide a fuly qualified file name (i.e. /path/filename)

It needs the included csv files to generate the test data. These files are listed below -

testdata_dn.csv
testdata_fn.csv
testdata_ln.csv
testdata_st.csv
us_postal_codes.csv

Of the above csv files, the first four are created using faker module. The last file is publicly available information.

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

testdatagen-0.1.19.tar.gz (1.5 MB view details)

Uploaded Source

File details

Details for the file testdatagen-0.1.19.tar.gz.

File metadata

  • Download URL: testdatagen-0.1.19.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for testdatagen-0.1.19.tar.gz
Algorithm Hash digest
SHA256 3267e925f9b433eded410bfbaed889abd4d163f859a84caebbabc6fff77cb266
MD5 3f269d98ede04bc8059fc2b002942581
BLAKE2b-256 1d207842d797fa1821790d2e825ffebd4b4f000db1d8b2aef97d44ab6164ff55

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