├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── README.md ├── conftest.py ├── magic_constraints ├── __init__.py ├── argument.py ├── constraint.py ├── decorator.py ├── exception.py ├── metadata.py ├── types.py └── utils.py ├── pytest.ini ├── requirements.txt ├── scripts ├── install-from-source.sh ├── install-from-yum.sh ├── pip-install-pkgs-of-requirements.sh ├── push-to-pypi.sh └── push-to-testpypi.sh ├── setup.cfg ├── setup.py └── tests ├── test_exception.py ├── test_from_restdef.py ├── test_metadata.py ├── test_py3_annotation.py ├── test_py3_constraint.py ├── test_py3_types.py ├── test_py3_usage.py ├── test_types.py └── test_usage.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/README.md -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/conftest.py -------------------------------------------------------------------------------- /magic_constraints/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/__init__.py -------------------------------------------------------------------------------- /magic_constraints/argument.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/argument.py -------------------------------------------------------------------------------- /magic_constraints/constraint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/constraint.py -------------------------------------------------------------------------------- /magic_constraints/decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/decorator.py -------------------------------------------------------------------------------- /magic_constraints/exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/exception.py -------------------------------------------------------------------------------- /magic_constraints/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/metadata.py -------------------------------------------------------------------------------- /magic_constraints/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/types.py -------------------------------------------------------------------------------- /magic_constraints/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/magic_constraints/utils.py -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/install-from-source.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /scripts/install-from-yum.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | -------------------------------------------------------------------------------- /scripts/pip-install-pkgs-of-requirements.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/scripts/pip-install-pkgs-of-requirements.sh -------------------------------------------------------------------------------- /scripts/push-to-pypi.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/scripts/push-to-pypi.sh -------------------------------------------------------------------------------- /scripts/push-to-testpypi.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/scripts/push-to-testpypi.sh -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description-file = README.md 3 | 4 | [bdist_wheel] 5 | universal = 1 6 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/setup.py -------------------------------------------------------------------------------- /tests/test_exception.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_exception.py -------------------------------------------------------------------------------- /tests/test_from_restdef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_from_restdef.py -------------------------------------------------------------------------------- /tests/test_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_metadata.py -------------------------------------------------------------------------------- /tests/test_py3_annotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_py3_annotation.py -------------------------------------------------------------------------------- /tests/test_py3_constraint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_py3_constraint.py -------------------------------------------------------------------------------- /tests/test_py3_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_py3_types.py -------------------------------------------------------------------------------- /tests/test_py3_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_py3_usage.py -------------------------------------------------------------------------------- /tests/test_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_types.py -------------------------------------------------------------------------------- /tests/test_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huntzhan/magic-constraints/HEAD/tests/test_usage.py --------------------------------------------------------------------------------