Skip to main content

A dacite fork with support for PEP 585/604 typehints in 3.8+.

Project description

dacite-retrofit

A dacite fork with PEP 585 & PEP 604 typehint support in Python 3.8+. See the original project for documentation.

Installation

dacite-retrofit is available on PyPI:

pip install dacite-retrofit

It can also be installed from source:

pip install git+https://github.com/trag1c/dacite-retrofit.git

Warning Unlike dacite (which supports Python 3.6+), dacite-retrofit only supports Python 3.8+.

Development

This fork uses poetry, black, mypy, pytest and isort:

$ poetry run black .
$ poetry run mypy dacite
$ poetry run pytest --cov dacite
$ poetry run isort .

Originally created by Konrad Hałas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dacite_retrofit-1.0.1.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

dacite_retrofit-1.0.1-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page