Metadata-Version: 2.1
Name: atmodel
Version: 0.1.0
Summary: Create models with less code.
Home-page: https://github.com/eghuro/atmodel
Author: Alexandr Mansurov
Author-email: alex@eghuro.cz
License: MIT license
Keywords: atmodel
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.5

======
@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.


