Declarative parameters definition for classes
Project description
metaparams
==========
.. image:: https://img.shields.io/pypi/v/metaparams.svg
:alt: PyPi Version
:scale: 100%
:target: https://pypi.python.org/pypi/metaparams/
.. image:: https://img.shields.io/pypi/l/metaparams.svg
:alt: License
:scale: 100%
:target: https://github.com/mementum/metaparams/blob/master/LICENSE
.. image:: https://travis-ci.org/mementum/metaparams.png?branch=master
:alt: Travis-ci Build Status
:scale: 100%
:target: https://travis-ci.org/mementum/metaparams
.. image:: https://readthedocs.org/projects/metaparams/badge/?version=latest
:alt: Documentation Status
:scale: 100%
:target: https://metaparams.readthedocs.io/
.. image:: https://img.shields.io/pypi/pyversions/metaparams.svg
:alt: Pytghon versions
:scale: 100%
:target: https://pypi.python.org/pypi/metaparams/
``metaparams`` is a MetaClass/Class infrastructure to define params
without invoking objects and have them automatically parse/remove the ``kwargs``
passed to the class in which they are intalled
Documentation
=============
Read the full documentation at readthedocs.org:
- `metaparams documentation <https://metaparams.readthedocs.io/>`_
Python 3 Only
=============
- Yes it is time to move forward
Installation
============
From pypi::
pip install metaparams
From source:
- Place the *metaparams* directory found in the sources inside your project
Features:
=========
- ``ParamsBase`` a class from which to subclass to also be params-enabled
- ``MetaParams`` a MetaClass for more complex usage pattern
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file metaparams-2.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: metaparams-2.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4997c49129c53eac468f069b2add62bc7d9f941dc9bfe4084a8ea76dc12952ed
|
|
MD5 |
7da6a07e1bcaf3a30e0d419c6415610c
|
|
BLAKE2b-256 |
d29cc2ee1e17c0fcf373fb166387334b790c7ce4ecbf235ff2677b50abf1b216
|