├── .gitignore ├── LICENSE ├── README.md ├── example ├── pyproject.toml ├── setup.cfg ├── src │ └── magic_example │ │ ├── __init__.py │ │ ├── extension.py │ │ └── py.typed └── test.py ├── pyproject.toml ├── requirements.txt ├── requirements_dev.txt ├── setup.py ├── src ├── magic_codec.pth └── magic_codec │ ├── __init__.py │ ├── builtin │ ├── __init__.py │ ├── braces.py │ ├── cpp.py │ ├── incdec.py │ └── toml.py │ ├── codec.py │ ├── py.typed │ └── register.py └── tests ├── braces └── test.by ├── cpp └── test.cpp ├── incdec ├── incdec.py └── test_incdec.py ├── test_dummy.py └── toml ├── data_invalid.toml ├── data_valid.toml └── schema.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/README.md -------------------------------------------------------------------------------- /example/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/example/pyproject.toml -------------------------------------------------------------------------------- /example/setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/example/setup.cfg -------------------------------------------------------------------------------- /example/src/magic_example/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/example/src/magic_example/__init__.py -------------------------------------------------------------------------------- /example/src/magic_example/extension.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/example/src/magic_example/extension.py -------------------------------------------------------------------------------- /example/src/magic_example/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/test.py: -------------------------------------------------------------------------------- 1 | # coding: magic_example 2 | 3 | print("Hello World - from test.py") 4 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirements_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/requirements_dev.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/setup.py -------------------------------------------------------------------------------- /src/magic_codec.pth: -------------------------------------------------------------------------------- 1 | import magic_codec.register 2 | -------------------------------------------------------------------------------- /src/magic_codec/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/magic_codec/builtin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/magic_codec/builtin/braces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/src/magic_codec/builtin/braces.py -------------------------------------------------------------------------------- /src/magic_codec/builtin/cpp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/src/magic_codec/builtin/cpp.py -------------------------------------------------------------------------------- /src/magic_codec/builtin/incdec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/src/magic_codec/builtin/incdec.py -------------------------------------------------------------------------------- /src/magic_codec/builtin/toml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/src/magic_codec/builtin/toml.py -------------------------------------------------------------------------------- /src/magic_codec/codec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/src/magic_codec/codec.py -------------------------------------------------------------------------------- /src/magic_codec/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/magic_codec/register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/src/magic_codec/register.py -------------------------------------------------------------------------------- /tests/braces/test.by: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/braces/test.by -------------------------------------------------------------------------------- /tests/cpp/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/cpp/test.cpp -------------------------------------------------------------------------------- /tests/incdec/incdec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/incdec/incdec.py -------------------------------------------------------------------------------- /tests/incdec/test_incdec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/incdec/test_incdec.py -------------------------------------------------------------------------------- /tests/test_dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/test_dummy.py -------------------------------------------------------------------------------- /tests/toml/data_invalid.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/toml/data_invalid.toml -------------------------------------------------------------------------------- /tests/toml/data_valid.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/toml/data_valid.toml -------------------------------------------------------------------------------- /tests/toml/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tsche/magic_codec/HEAD/tests/toml/schema.json --------------------------------------------------------------------------------