Skip to main content
Help us improve Python packaging – donate today!

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.

Release history Release notifications

This version
History Node

0.1.19

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
testdatagen-0.1.19.tar.gz (1.5 MB) Copy SHA256 hash SHA256 Source None Aug 26, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page