fakeish
faker but fast and dumb instead of slow and smart
Usage
To generate random but possibly overlapping data:
from fakeish import Fakeish
f = Fakeish()
rand_ssn = f.ssn()
In order to generate data that is both random and non-overlapping, however, some light configuration is needed. The following code will
f = Fakeish()
f.configure_unique_samples_list("ssn", 50)
non_overlapping_ssns = [f.unique.ssn() for i in range(50)]
Configuration sample type can also be any of the following: emails, first_names, first_names_male, first_names_female, last_names, names, names_male, names_female.
In order to generate the same random data each time, the Fakeish object can be seeded:
f = Fakeish()
f.seed(<int>)
# configure / generate data here
Metadata
Release files for fakeish 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fakeish-0.3.0.tar.gz | 13.6 kB | Without provenance | Details for fakeish-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fakeish-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for fakeish-0.3.0-py3-none-any.whl |
Total release size: 30.2 kB
Release files / fakeish-0.3.0.tar.gz
| Download URL | fakeish-0.3.0.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3801fd54ac418f26a3cde0875591b1898677512dde694e2e6e4d491d4d17afd1
|
|
BLAKE2b-256 checksum How to use checksums |
b299ec611fba59c3961faa24ad03e1d8ed578d00f3782d0ae9ebaec373cc3008
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.9.0
|
Release files / fakeish-0.3.0-py3-none-any.whl
| Download URL | fakeish-0.3.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cad7dd5f6145c1725e1152edb9643698822856b73df748a7bf108fafcdd4e9a5
|
|
BLAKE2b-256 checksum How to use checksums |
700cf42df64653a59a63954098e1d0c5a059ee62bae820fbb203c800273ea69b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.9.0
|
Security for fakeish 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.