Tool for rendering plausible real-life csv data.
Project description
Tool for rendering plausible real-life csv data.
How do I install this package?
As usual, just download it using pip:
pip install random_csv_generator
Tests Coverage
Since some software handling coverages sometime get slightly different results, here’s three of them:
Tool for rendering plausible real-life csv data.
Usage examples
Currently the generated CSV contains FAKE data about italian persons and some FAKE financial informations.
from random_csv_generator image random_csv
df = random_csv(300) # To generate a CSV with 300 rows
region |
province |
surname |
name |
sex |
birth_municipality |
birth_province |
birth_region |
birth_cap |
birth_province_code |
birthdate |
address |
house_number |
cap |
municipality |
province_code |
codice_fiscale |
total_debit |
payed_debit |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Toscana |
Siena |
Veronese |
Giorgio |
M |
Castelnovo Bariano |
Rovigo |
Veneto |
45030 |
RO |
2000-12-08 |
Via Traversa Stazione |
15 |
53034 |
Colle Di Val D’elsa |
SI |
VRNGRG00T08C215S |
15.347,00 € |
1.763,00 € |
Lombardia |
Brescia |
Barsotti |
Laura |
F |
Santa Luce |
Pisa |
Toscana |
56040 |
PI |
1981-04-16 |
Via Martiri Della Libertà |
291 |
25030 |
Roncadelle |
BS |
BRSLRA81D56I217W |
24.015,00 € |
12.250,00 € |
Calabria |
Vibo Valentia |
Landi |
Edoardo |
M |
Certaldo |
Firenze |
Toscana |
50052 |
FI |
1999-07-31 |
Corso Umberto I |
250 |
89822 |
Serra San Bruno |
VV |
LNDDRD99L31C540R |
73.788,00 € |
70.486,00 € |
Lazio |
Frosinone |
Rossi |
Giuseppe Oreste Massimo |
M |
Baricella |
Bologna |
Emilia Romagna |
40052 |
BO |
1953-09-10 |
Borgo San Nicola |
114 |
3020 |
Pastena |
FR |
RSSGPP53P10A665N |
17.640,00 € |
15.303,00 € |
Umbria |
Perugia |
Piras |
Maurizio |
M |
Sadali |
Cagliari |
Sardegna |
08030 |
CA |
1957-06-14 |
Piazza D. Alighieri |
3 |
6061 |
Castiglione Del Lago |
PG |
PRSMRZ57H14H659Q |
11.106,00 € |
10.210,00 € |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for random_csv_generator-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35015ad1f7ed44ebaf6a509e5c62c59aa749aee1e8d3dfeff7603b50e989b2e |
|
MD5 | a313e14c4ce79103adf071d44c57bc5b |
|
BLAKE2b-256 | 5d21c54097869e0aaf09bb61f465deb864b4d4d5fe39a561ad14f21b77026f4c |