Skip to main content

check if requirements met

Project description

requirements_checker (v0.1.8)

DESCRIPTION_SHORT

check if requirements met

DESCRIPTION_LONG

designed for check requirements (systemOs) and raise/bool if no match

Features

  1. check requirements (systemOs), raise/bool if no match
  2. create fuck(?)/getter and is it for check for settings
  3. python packages work:
    • upgrade
    • delete
    • version_get
    • check_installed)
    • upgrade pip
  4. ...see tests for this!

License

See the LICENSE file for license rights and limitations (MIT).

Release history

See the HISTORY.md file for release history.

Installation

pip install requirements-checker

Import

from requirements_checker import *

USAGE EXAMPLES

See tests and sourcecode for other examples.


1. example1.py

from requirements_checker import *


ReqCheckStr_Os().bool_if__WINDOWS()
ReqCheckStr_Os().bool_if_not__WINDOWS()
ReqCheckStr_Os().raise_if__LINUX()


class ReqCheckStr_Os_MY(ReqCheckStr_Os):
    LINUX: bool = True
    WINDOWS: bool = False


ReqCheckStr_Os_MY()  # check requirement!

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

requirements_checker-0.1.8.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

requirements_checker-0.1.8-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file requirements_checker-0.1.8.tar.gz.

File metadata

  • Download URL: requirements_checker-0.1.8.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for requirements_checker-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2d9d296e2a26a01abd07f110673df67ccd20ef3f303bf3f3705ec06c75ed5384
MD5 ab4f79384afc8f90e6e685b480dc2796
BLAKE2b-256 891cb5d2a0ff6e8b37530f2972ebeebaf7cb3a2228d1c30646a8c7a93516c536

See more details on using hashes here.

File details

Details for the file requirements_checker-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for requirements_checker-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9559f38c756f0962ec3d2e3d748a470b3d3266b2cbe012be68f6be6805f42ad8
MD5 df1aa5c8996955600fc044cf1038d9ea
BLAKE2b-256 080e78b788f4af924695b7be23f698a354046d3849b92374bbd1192f38e1a30d

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