atmodel-0.1.0
توضیحات
Create models with less code.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | atmodel-0.1.0 |
| نام | atmodel |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alexandr Mansurov |
| ایمیل نویسنده | alex@eghuro.cz |
| آدرس صفحه اصلی | https://github.com/eghuro/atmodel |
| آدرس اینترنتی | https://pypi.org/project/atmodel/ |
| مجوز | MIT license |
======
@model
======
.. image:: https://img.shields.io/pypi/v/atmodel.svg
:target: https://pypi.python.org/pypi/atmodel
.. image:: https://img.shields.io/travis/eghuro/atmodel.svg
:target: https://travis-ci.org/eghuro/atmodel
.. image:: https://readthedocs.org/projects/atmodel/badge/?version=latest
:target: https://atmodel.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
Create models with less code.
* Free software: MIT license
* Documentation: https://atmodel.readthedocs.io.
Getting started
---------------
Install @model from pip:
pip install atmodel
Using @model is as simple as::
from atmodel import model
@model('a', optional=['b'])
class Model:
pass
Then use the class as::
m = Model(a=1)
if m.a() > 0:
n = Model(a=1, b=2)
Credits
-------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2019-10-01)
------------------
* First release on PyPI.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl atmodel-0.1.0:
pip install atmodel-0.1.0.whl
نصب پکیج tar.gz atmodel-0.1.0:
pip install atmodel-0.1.0.tar.gz