evonik-dummy
This repo contains the python module evonik.dummy.
It is publically available on the python package index as the package evonik-dummy.
The module contains python classes to generate dummy data. These classes and their attributes / arguments are designed with the properties of data elements in OpenAPI in mind. They can be used to generate example data for testing and showcasing APIs, including REST and GQL.
Repo Structure
evonik/ # source code of evonik-dummy
notebooks/ # jupyter notebooks with examples and doc
LICENSE # MIT license file
README.md # this README
setup.py # pypi setup script
requirements.txt # list of dependencies
Installation
Use the package manager pip to install evonik.dummy as the package evonik-dummy.
pip install evonik-dummy
Usage
from evonik.dummy import String, Integer
print(String().valids(5))
print(Integer().invalids(exhaustive=True))
Test
To test the current implementation, execute the following:
pytest evonik/dummy
Build & Upload
To build the package and upload a new version to pypi, execute the following commands:
rm -rf build dist evonik_dummy.egg-info
python3 setup.py sdist bdist_wheel --universal
twine upload dist/*
License
Release files for evonik-dummy 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| evonik-dummy-0.0.13.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| evonik_dummy-0.0.13-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 26.6 kB
Release files / evonik-dummy-0.0.13.tar.gz
| Download URL | evonik-dummy-0.0.13.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c6fc100f311c11d7396e1b434a62d1265539b6d63e735fa9586499341eeebeb
|
|
BLAKE2b-256 checksum How to use checksums |
2ba27154930d623047f7a71e7add4ca8cdc5a0985389de1c9cd1923bbd02b4bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|
Release files / evonik_dummy-0.0.13-py2.py3-none-any.whl
| Download URL | evonik_dummy-0.0.13-py2.py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c22d45dcba7e14c0167575d8cd9b30c1b42321dbd7ca684521d38b3aaffa9a1e
|
|
BLAKE2b-256 checksum How to use checksums |
b51bd5a50905055871561fed965a690be9a8a4a568834ffcee7b258e9a16e9fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
|