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:
pipx install 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:
just install
[!Note] If you don't want to install
just
, simply look up the recipes in the project'sjustfile
.
- After you're done, use the following
just
recipes to check your changes:
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
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
Hashes for oddsprout-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b3cbcf94916f09fdbd8113c8f2bdd9d983b1707ff6d77a8295aa2ccdb4bf9af |
|
MD5 | 0109aed65b1aea0fdabc7c64617a1c86 |
|
BLAKE2b-256 | 5fdd604a73aefcb8c684e7610334c6bf0f06e268b4fc41397265d14aee010a2e |