Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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 History

This version
History Node

0.1.19

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
testdatagen-0.1.19.tar.gz (1.5 MB) Copy SHA256 Checksum SHA256 Source Aug 26, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting