Skip to main content

[![Python packages](https://github.com/sterling312/genesynth/actions/workflows/github-actions-unittests.yaml/badge.svg)](https://github.com/sterling312/genesynth/actions/workflows/github-actions-unittests.yaml)

# genesynth This library is used to synthetically generate structured data based on configuration to be used for testing as well as structured data training purposes. The approach of the library is to leverage as much as C-level python packages such as numpy and scipy to generate data at field level, one type at a time, and use graph approach to piece together the complex dependency as well as de-normalization/sampling from each fields to construct data in a scalable manner fast.

# install ` pip install genesynth `

# example ` $ python -m genesynth.server --host=0.0.0.0 -p 8080 ` ` $ make run `

` $ python -m genesynth.cli -f tests/test.yaml --stdout ` ` $ make cli FILENAME=$(pwd)/tests/test.yaml `

# project status

## supported feature * load yaml as configuration file * arbitrary row size support * data type mapping with configurable parameters * JSON (semi-structured data) support * improved data type support * foreign relationship support * DOT file graph * table graph * built-in orchestrator using graph * thread and process support * intermediary data temporary cache * graph visualization * GenAI based field-level data generation (ollama & openai)

## key features to add * add yaml validator * fix header support * additional output file formats (JSON, PSQL dump, CSV with quotes, etc) * add support for JSON arrays * improve constraint support * add support for quoted string * add support statistical distribution via kernel convolution * optimize orchestration and disk cache efficiency * optimize thread/process based generation * convert serial to autoincrement constraint for integer type * convert password to constraint of string type

## nice to have features to add * support external scheduler * support NLP based text generation * support sklearn * support integration with pytorch embedding * support for object reference via $ref * fix compatibility with [JSON schema array notation](https://json-schema.org/understanding-json-schema/reference/array.html#items) * fix when json array child object appears as separate items

Metadata

Release files for genesynth 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genesynth 0.6.4
File Size Uploaded Provenance Actions
genesynth-0.6.4.tar.gz 23.4 kB Without provenance Details for genesynth-0.6.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for genesynth 0.6.4
File Interpreter ABI Platform Actions
genesynth-0.6.4-py3-none-any.whl Python 3 none any Details for genesynth-0.6.4-py3-none-any.whl

Total release size: 52.9 kB

Release files / genesynth-0.6.4.tar.gz

Download URL genesynth-0.6.4.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
95a5b5244d02f0c7e4d2ca6c8a3b31da5cf2a776007331f01b70bcc9048d9d99
BLAKE2b-256 checksum
How to use checksums
9321cb6523b1c5e2c98cc6597024c848e4993da982af535f6d65cda2d177e16f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Release files / genesynth-0.6.4-py3-none-any.whl

Download URL genesynth-0.6.4-py3-none-any.whl
Size 29.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a59f7184c7e5ae7bd427ebf593eae5985dc69f9762c6a34c9c329b4ad1818c3
BLAKE2b-256 checksum
How to use checksums
4ed14c8820a01241a045af7e9a207c5e2068cd97fd0d9fd7b496e83133a1669d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.4

Security for genesynth 0.6.4

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.

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