Skip to main content

Collection of different functions

Project description

General

Maintenance - not intended License Code Style - Black Read the Docs - Build Status (latest)

Pipeline

Azure DevOps builds Azure DevOps Coverage

Tools

Poetry tox Pytest Sphinx

VC

VCS Website Versioning - semantic pre-commit

Github

Github - Latest Release Github - Commits since latest release Github - Last Commit

Github - Stars Github - Forks Github - Contributors Github - Watchers

PyPI

PyPI - Package latest release PyPI - Supported Python Versions PyPI - Supported Implementations

PyPI - Stability PyPI - Format PyPI - Monthly downloads

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_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

formelsammlung-1.2.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

formelsammlung-1.2.0-py3-none-any.whl (23.7 kB view details)

Uploaded Python 3

File details

Details for the file formelsammlung-1.2.0.tar.gz.

File metadata

  • Download URL: formelsammlung-1.2.0.tar.gz
  • Upload date:
  • Size: 25.5 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

Hashes for formelsammlung-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9da9b924bb3ca8beff60fa8a2f8af4bffce1feab0fba2b61c44a6ffcbf3f1373
MD5 f3ea1ca924f9026a804854dc820bebce
BLAKE2b-256 b5c707c505f9e17f446eb89e1909325a9e2be6d0d005d93293f0590e9b8d44c4

See more details on using hashes here.

File details

Details for the file formelsammlung-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: formelsammlung-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.7 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

Hashes for formelsammlung-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ded5b7cf72711ab9cccce63431af7a7a20be53ca312bbadcf446d95185e9a33a
MD5 9e79a7e529a5128ee96ad2181e3e375f
BLAKE2b-256 0a6356f1720083db6a0e01cc0e84b1b95b3e032520f4b13aef3a78d01ec760cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page