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. New features are added when I need them somewhere.
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 venv/tox/nox environment that has it installed in a list of venv/tox/nox environments.
get_venv_path(): is a function to get the path to the current venv.
get_venv_bin_dir(): is a function to get the path to the bin/Scripts dir of a given venv.
get_venv_tmp_dir(): is a function to get the path to the tmp/temp dir of a given 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
File details
Details for the file formelsammlung-3.0.1.tar.gz
.
File metadata
- Download URL: formelsammlung-3.0.1.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e292f259f7d1bfee6c64a45aea2163df6281161aec60cb70c7c44f29fa4b148 |
|
MD5 | cedab0aca92a22e916ece05d84b0da2c |
|
BLAKE2b-256 | 8fc347f9c4e92a328dcae1805ae167f056829ec961834e94cccdef9f1c2a020b |
File details
Details for the file formelsammlung-3.0.1-py3-none-any.whl
.
File metadata
- Download URL: formelsammlung-3.0.1-py3-none-any.whl
- Upload date:
- Size: 24.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.4.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc4ee6a779183b629adac45ea6ad6319997d3310f7616be80b152e30b9dd11c |
|
MD5 | 215a599f5891ab2f48fd2356841f0741 |
|
BLAKE2b-256 | 33933f166aeb52aff4e70b449613ddd46523a6fd779fc6d142b98045397baff8 |