Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.3 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.3 KB

typecasts

Build Status Coverage Python Version wemake-python-styleguide PyPI - License

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.