Skip to main content

datatable-faker

Library to generate fake datatable for unittest

https://img.shields.io/pypi/v/datatable-faker https://github.com/Agent-Hellboy/datatable-faker/actions/workflows/python-publish.yml/badge.svg https://img.shields.io/pypi/pyversions/datatable-faker.svg https://img.shields.io/pypi/l/datatable-faker.svg https://pepy.tech/badge/datatable-faker https://img.shields.io/pypi/format/datatable-faker.svg

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)

Source distribution for datatable-faker 0.1.7
File Size Uploaded
datatable-faker-0.1.7.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datatable-faker 0.1.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page