datatable-faker
Library to generate fake datatable for unittest
Installation
for stable version - pip install datatable-faker for developement - git clone https://github.com/Agent-Hellboy/datatable-faker - cd datatable-faker - python -m venv .venv - source .venv/bin/activate
Example
from dataclasses import dataclass
@dataclass()
class Heartbeat:
serialNumber: str
cbsdId: str
grantId: str
grantState: str
carrier: int
maxEirp: int
from datatable_faker import generate_fake_data
fake_data = generate_fake_data(Heartbeat)
print(fake_data)
Heartbeat(serialNumber='economic', cbsdId='pull', grantId='save', grantState='same', carrier=729, maxEirp=1792)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Metadata
Release files for datatable-faker 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datatable-faker-0.1.7.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datatable_faker-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / datatable-faker-0.1.7.tar.gz
| Download URL | datatable-faker-0.1.7.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76ae09ef2e1d09354b04a6136520a269ae6ec5157c862a67c0fdda8b5e7c9cf7
|
|
BLAKE2b-256 checksum How to use checksums |
89953d58cf988bd454b87302b300d5bf36459fc4b126730246d687bc27b521ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / datatable_faker-0.1.7-py3-none-any.whl
| Download URL | datatable_faker-0.1.7-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4210c1f1b33389cac7117db3f97146b31437cfa03b325300e0ee36f9b52ffee3
|
|
BLAKE2b-256 checksum How to use checksums |
c1c09f1f4f509a5c5d63e926ba91faf073269726e2a720bc294d63d9e79faed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|