Skip to main content

lib_cast

Pypi Status license maintenance

Build Status Codecov Status Better Code Maintainability snyk security

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

Metadata

Release files for lib-cast 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lib-cast 0.0.3
File Size Uploaded
lib_cast-0.0.3.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lib-cast 0.0.3
File Interpreter ABI Platform
lib_cast-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 21.8 kB

Release files / lib_cast-0.0.3.tar.gz

Download URL lib_cast-0.0.3.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ebb3975a26f282bc2f2b8bca5fe34a65fe7b26f198d4ca8a229b674e8f95d87a
BLAKE2b-256 checksum
How to use checksums
ba2fbe06570add5cfc0cf3b71920d164d1f1ac01083c7d7cc9ea3e04a9e30ae1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

Release files / lib_cast-0.0.3-py3-none-any.whl

Download URL lib_cast-0.0.3-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32e48e77a916aa1c23284ce5239efe23c9a2270ce4494a4fd6ade103635a1a39
BLAKE2b-256 checksum
How to use checksums
4a1d5d60f36bcc78ae3632de2848cc81c36d9850bf166eceb366f89f150a05b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page