Skip to main content

Collection of different functions

Project description

General

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

Semantic Versioning - 2.0.0

PyPI

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

PyPI - Stability PyPI - Format PyPI - Monthly downloads

Pipeline

GitHub Actions - Test code Code Climate - Coverage

GitHub Actions - Code qualitiy Code Climate - Maintainability

GitHub Actions - Test docs GitHub Actions - Dependency safety

Github

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

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

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.

  • session_w_poetry: decorator to change nox session class to include poetry_install() method.

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.

License

This project is licensed under the GPL-3.0 or later.

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-4.0.0.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

formelsammlung-4.0.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: formelsammlung-4.0.0.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.7 Linux/5.4.0-1036-azure

File hashes

Hashes for formelsammlung-4.0.0.tar.gz
Algorithm Hash digest
SHA256 ee4dfce2f3b01f946b99694b49cbb16ee8785f3091665a306c102dbde641240e
MD5 3113ae8bee3bbb7b616577009c054ce0
BLAKE2b-256 bd3b1994fc82d21d48a5d1370eba1e1c84c13de05a868b4b45f673e27a8271a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: formelsammlung-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.7 Linux/5.4.0-1036-azure

File hashes

Hashes for formelsammlung-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f42d466f5bcb0125d8d7859d20eb5d4813d7285404ee026af52d5e09f22f7c74
MD5 6120e05791459622ee5c6490647bf6d4
BLAKE2b-256 f8365d1d2a00ce37b13c6c54095a636e26e213281dd5e8bbb7af829841b221d6

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