You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
8 months ago | |
---|---|---|
test | 11 months ago | |
.flake8 | 2 years ago | |
.gitignore | 2 years ago | |
.pre-commit-config.yaml | 2 years ago | |
.travis.yml | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 11 months ago | |
fixed_width.py | 8 months ago | |
mypy.ini | 2 years ago | |
poetry.lock | 2 years ago | |
pyproject.toml | 2 years ago | |
requirements.txt | 2 years ago |
README.md
fixed-width
A small easily vendorable (you know that means copy/pastable) library to work with fixed width types in Python. This library allows you to specify your own rules for your own fixed width types or to just use a sane default.
You can either work in non-strict mode or strict mode which will raise exceptions for truncation and promotion.
Different storage types and behaviors are supported.