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
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 Distribution
dacite_retrofit-1.0.1.tar.gz
(7.9 kB
view details)
Built Distribution
File details
Details for the file dacite_retrofit-1.0.1.tar.gz
.
File metadata
- Download URL: dacite_retrofit-1.0.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.18 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6234412a2d00b4a63d53abf25b7555a9af4073592451c65bfb24640b8e1fa28f |
|
MD5 | 35db87e9017166f593c6a3011decce64 |
|
BLAKE2b-256 | 7e4d7c7cfef7eb9a2d1c08cf2720578f587d3009c3f194eac81216280c70b9fc |
File details
Details for the file dacite_retrofit-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: dacite_retrofit-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.8.18 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3c36b8692e21113489a7165e3906b16908764543da06e349d4640bf1a05d68 |
|
MD5 | e46844684f197543cd77a7691db69ae7 |
|
BLAKE2b-256 | 3882845f89aa8a726b2a5e54dc40322dcf658de7de0730efd4e41f51cc7417c5 |