lib_cast
Project description
lib_cast
some convenience functions for casting
supports python 3.7 and possibly other dialects.
100% code coverage, mypy static type checking, tested under Linux, OsX, Windows and Wine, automatic daily builds and monitoring
Installation and Upgrade
From source code:
# normal install
python setup.py install
# test without installing
python setup.py test
via pip latest Release:
# latest Release from pypi
pip install lib_cast
# test without installing
pip install lib_cast --install-option test
via pip latest Development Version:
# upgrade all dependencies regardless of version number (PREFERRED)
pip install --upgrade git+https://github.com/bitranox/lib_cast.git --upgrade-strategy eager
# normal install
pip install --upgrade git+https://github.com/bitranox/lib_cast.git
# test without installing
pip install git+https://github.com/bitranox/lib_cast.git --install-option test
via requirements.txt:
# Insert following line in Your requirements.txt:
# for the latest Release:
lib_cast
# for the latest Development Version :
git+https://github.com/bitranox/lib_cast.git
# to install and upgrade all modules mentioned in requirements.txt:
pip install --upgrade -r /<path>/requirements.txt
via python:
# for the latest Release
python -m pip install upgrade lib_cast
# for the latest Development Version
python -m pip install upgrade git+https://github.com/bitranox/lib_cast.git
Basic Usage
TBA
Requirements
following modules will be automatically installed :
## Test Requirements
## following Requirements will be installed temporarily for
## "setup.py install test" or "pip install <package> --install-option test"
typing ; python_version < "3.5"
pathlib; python_version < "3.4"
mypy ; platform_python_implementation != "PyPy" and python_version >= "3.5"
pytest
pytest-pep8 ; python_version < "3.5"
pytest-codestyle ; python_version >= "3.5"
pytest-mypy ; platform_python_implementation != "PyPy" and python_version >= "3.5"
pytest-runner
## Project Requirements
lib_regexp @ git+https://github.com/bitranox/lib_regexp.git
Acknowledgements
special thanks to “uncle bob” Robert C. Martin, especially for his books on “clean code” and “clean architecture”
Contribute
I would love for you to fork and send me pull request for this project. - please Contribute
License
This software is licensed under the MIT license
—
Changelog
0.0.3
2019-09-03: update setup.py
0.0.2
2019-09-03: refractor
0.0.1
2019-07-22: Initial public release
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.