Generate random JSON with no schemas involved
Project description
oddsprout
Oddsprout is a configurable CLI tool and a Python library for generating random JSONs with no schemas involved. I developed this tool out of necessity to test a JSON parser but all solutions I found online involved generating data based on templates.
See the documentation for usage.
Installation
If you only intend to use it as a CLI tool:
uvx oddsprout
Otherwise, install the library from PyPI:
pip install oddsprout
Or from source:
pip install git+https://github.com/trag1c/oddsprout.git
Contributing
Contributions are welcome!
Please open an issue before submitting a pull request (unless it's a minor change like fixing a typo).
To get started:
- Clone your fork of the project.
- Install the project with uv:
uv sync
- After you're done, use the following
justrecipes to check your changes (or run the commands manually):
just test # runs pytest and mypy
just lint # runs the ruff linter and formatter in check mode
just format # runs the ruff formatter and isort
just coverage # checks UT and docstring coverage
License
oddsprout is licensed under the MIT License.
© trag1c, 2024–2025
Project details
Release history Release notifications | RSS feed
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 oddsprout-0.1.2.tar.gz.
File metadata
- Download URL: oddsprout-0.1.2.tar.gz
- Upload date:
- Size: 80.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bbbde038ece1957e46236969efbb7bb4127f025be1fd55f57cca8dba4f6e2c2
|
|
| MD5 |
18427250d62d3645285d604eb49539b7
|
|
| BLAKE2b-256 |
7576aa258100a51aa28c25b07f20f2b5fa6cb9c867f51c530e9467f891620734
|
File details
Details for the file oddsprout-0.1.2-py3-none-any.whl.
File metadata
- Download URL: oddsprout-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41bd4d45a8156c4e7f2ba209aa63b180a19a0c2d5758c888d45d08c6d26bbb26
|
|
| MD5 |
c24790b280c819e5f29ba1f79b669300
|
|
| BLAKE2b-256 |
fa24dec54ce8d2ad01d8f71cb8153bcbae96990406e6e23664add8309a163416
|