Collection of different functions
Project description
General |
|
Pipeline |
|
Tools |
|
VC |
|
Github |
|
PyPI |
|
Collection of different multipurpose functions.
This library is a collection of different functions I developed which I use in different projects so I put them here.
Functionality
getenv_typed(): is a wrapper around os.getenv returning the value of the environment variable in the correct python type.
calculate_string(): takes an arithmetic expression as a string and calculates it.
SphinxDocServer: is a flask plugin to serve the repository’s docs build as HTML (by sphinx). Needs flask extra to be also installed to work.
env_exe_runner(): is a function to call a given tool from the first tox/nox environments that has it installed in a list of tox/nox environments.
get_venv_path(): is a function to get the path to the current venv.
get_venv_site_packages_dir(): is a function to get the path to the site-packages dir of a given venv.
where_installed(): is a function to find the installation places in and outside a venv.
Prerequisites
Works only with python version >= 3.6
A new version of pip that supports PEP-517/PEP-518 is required. When the setup fails try updating pip.
Disclaimer
No active maintenance is intended for this project. You may leave an issue if you have a questions, bug report or feature request, but I cannot promise a quick response time.
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.
Source Distribution
Built Distribution
Hashes for formelsammlung-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d058419563a1272aaa461a47599b6484c95c193a41c3eec3aed0363b91ec2ed |
|
MD5 | 7ec69ae913e09b0b13c69f4649fd5b3a |
|
BLAKE2b-256 | 340e3c47438c256d1ef91ce9f5fc54195e3c82f710c5267ab08563c7223ccfaf |