aiojson-0.3.1612466996
توضیحات
Simple json request template validator for aiohttp
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aiojson-0.3.1612466996 |
| نام | aiojson |
| نسخه کتابخانه | 0.3.1612466996 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://git.yurzs.dev/yurzs/aiojson |
| آدرس اینترنتی | https://pypi.org/project/aiojson/ |
| مجوز | - |
aiojson
=======
|pipeline status| |coverage report| |pypi link|
.. |coverage report| image:: https://git.yurzs.dev/yurzs/aiojson/badges/master/coverage.svg
:target: https://git.yurzs.dev/yurzs/aiojson/-/commits/master
.. |pipeline status| image:: https://git.yurzs.dev/yurzs/aiojson/badges/master/pipeline.svg
:target: https://git.yurzs.dev/yurzs/aiojson/-/commits/master
.. |pypi link| image:: https://badge.fury.io/py/aiojson.svg
:target: https://pypi.org/project/aiojson
Simple json template verifier for ``aiohttp``
Usage
-----
Simple example:
.. code-block:: python
from aiohttp import JsonTemplate
@JsonTemplate({
"messages": [{
"id": int,
"text": str
}])
async def received_message(request, validated_data):
pass
نیازمندی
| مقدار | نام |
|---|---|
| - | aiohttp |
نحوه نصب
نصب پکیج whl aiojson-0.3.1612466996:
pip install aiojson-0.3.1612466996.whl
نصب پکیج tar.gz aiojson-0.3.1612466996:
pip install aiojson-0.3.1612466996.tar.gz