typecasts
Convert from one Python type to another in a centralized way.
Features
from typecasts import casts
str_to_bytes_coder = casts[str, bytes]
str_to_bytes_coder('boo')
# b'boo'
Installation
pip install typecasts
Credits
This project was generated with wemake-python-package. Current template version is: cf0afc42e6f5f3886be1d93b6c56b0f422b3a15a. See what is updated since then.
Metadata
Release files for typecasts 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| typecasts-0.1.9.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typecasts-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / typecasts-0.1.9.tar.gz
| Download URL | typecasts-0.1.9.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d96ba97cc17e8e38b91da7c6048288a7d0c803a84d4617b3b428ee8a2fada82e
|
|
BLAKE2b-256 checksum How to use checksums |
b1fe01ea17023bd73261b536fefa48085524cb717b613efa3446850be13be6f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.3 Linux/5.4.0-77-generic
|
Release files / typecasts-0.1.9-py3-none-any.whl
| Download URL | typecasts-0.1.9-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b443985f61bb5abf15d3142d94f8d6b648bac5f6a1e48f044d1eafafba2b246
|
|
BLAKE2b-256 checksum How to use checksums |
ab95dc5da92c1df4b19053540739cedb6b0e4c2b2a9237865619db9d9be52167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.3 Linux/5.4.0-77-generic
|