Skip to main content

Python package: genesynth

Project description

[![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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genesynth-0.6.0.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genesynth-0.6.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file genesynth-0.6.0.tar.gz.

File metadata

  • Download URL: genesynth-0.6.0.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for genesynth-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1200e19f066355688dfed605a24e854b886bcac854ba9e9c969d18dde262dfea
MD5 7a1a2ac3efa708c6447c2aff4dfb9f10
BLAKE2b-256 77485407b38aa5e63dd275f7896d7916a5f5f4df433f23fe85bf8e2b8143fe1a

See more details on using hashes here.

File details

Details for the file genesynth-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: genesynth-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for genesynth-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05e5041bbc6466c1c2e91dfc6fb1d684b2ebd7a6613dc5a4ad77fb04ef9b5c07
MD5 c2d48f2180f48204dcf531e80e066140
BLAKE2b-256 f2625bafc431389f64cf340de6f19030e60788560d8996a427dc5a71438b0e9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page