No project description provided
Project description
Syntrend Synthetic Data Generation
Syntrend is a Python Package and Command Line tool for generating synthetic data to express very specific behaviours and trends across multiple inputs.
A simple Project may only contain a few lines of YAML
$ cat 5_numbers.yaml
output:
count: 5
type: integer
$ syntrend generate 5_numbers.yaml
-178
430
-192
-114
-125
Specific objectives for this project is to:
- Be Lightweight: Make a tool that can easily run from a local workstation, from a CI Pipeline, or embedded into an application.
- Be Easy to Use: All configurations use YAML, intended as an extendable markup format that allows re-use within and across projects.
- Be Environment Agnostic: Everyone has preferences of how they want to work so providing formatted outputs that can be easily consumed by target sources is necessary.
- Support As Many Data Types As Possible: Projects have different expectations of how they consume data: exchange formats, structured, streaming, or a combination of all with references between them.
- Be Expressive: Data can have a personality, and we need this data to express that personality so we have something consistent to work with.
Quickstart
-
Install Syntrend
For a local Python project, use the project release to PyPI
pip install syntrend
or pull the Docker image
docker pull ghcr.io/wsidl/syntrend:latest
-
Create a Project File
Create a text file with the YAML content defined in the Project File structure
type: string
-
Run the Project File
syntrend generate project_file.yaml
if using Docker:
docker run -v $(pwd):/project -w /project ghcr.io/wsidl/syntrend:latest generate project_file.yaml
-
Handle the data
The data can be produced into a number of different locations. This can be handled after the command is generated or piped from the outputs.
Next Steps
- Become familiar with Project File structure
- Review the types of data generators that can create and parse values for the dataset
- Understand how to use Expressions to define trends in specific properties across a project.
- Apply controlled randomness within your data using Value Distributions
- Understand how data can be formatted or provide custom outputs
- Read the FAQ's for any un-answered questions
Contributing
see CONTRIBUTING documentation
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file syntrend-0.3.1.tar.gz.
File metadata
- Download URL: syntrend-0.3.1.tar.gz
- Upload date:
- Size: 336.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8699ba18c5536b7edf41f95b56cab62d72f98561eea03d0a42540e57c7f181e2
|
|
| MD5 |
598b047c53c1a2b96fcf257355defe1f
|
|
| BLAKE2b-256 |
0700ce387e7371330d05e09238d00cbe07828a637f3d9308953c7dbce98cb6da
|
File details
Details for the file syntrend-0.3.1-py3-none-any.whl.
File metadata
- Download URL: syntrend-0.3.1-py3-none-any.whl
- Upload date:
- Size: 51.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aeed89bb8169b8e7a99fc80e7598552d06d0c5672a05d6298ecac769abc7c3e
|
|
| MD5 |
2b87d696fa437cfbeb6e8fa272426e3f
|
|
| BLAKE2b-256 |
5daa61930b193be9f065e36955095a70adc4436b340a02226641f0fcf2f674e7
|