evonik-dummy-0.0.9


توضیحات

Generate dummy data, e.g., for testing APIs
ویژگی مقدار
سیستم عامل OS Independent
نام فایل evonik-dummy-0.0.9
نام evonik-dummy
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Benjamin Schiller
ایمیل نویسنده benjamin.schiller@evonik.com
آدرس صفحه اصلی https://evodl.visualstudio.com/evonik-dummy
آدرس اینترنتی https://pypi.org/project/evonik-dummy/
مجوز -
# 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](https://swagger.io/specification/) 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](https://pip.pypa.io/en/stable/) to install `evonik.dummy` as the package `evonik-dummy`. ```bash pip install evonik-dummy ``` ## Usage ```python 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 [MIT](https://choosealicense.com/licenses/mit/)


نیازمندی

مقدار نام
>=0.10.5 exrex
>=4.1.1 faker
>=6.0.1 pytest


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl evonik-dummy-0.0.9:

    pip install evonik-dummy-0.0.9.whl


نصب پکیج tar.gz evonik-dummy-0.0.9:

    pip install evonik-dummy-0.0.9.tar.gz