Skip to main content

check if requirements met

Project description

Ver/TestedPython Ver/Os
repo/Created Commit/Last Tests/GitHubWorkflowStatus Tests/GitHubWorkflowStatus
repo/Size Commit/Count/t Commit/Count/y Commit/Count/m

requirements_checker (current v0.2.16/Ver/Pypi Latest)

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(?)/source and is it for check for settings
  3. [python PACKAGES/MODULES]:
    • upgrade
    • delete
    • version_get
    • check_installed)
    • upgrade pip
  4. [VERSION]:
    • parse
    • check
    • compare

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, sourcecode and docstrings 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.2.16.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

requirements_checker-0.2.16-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: requirements_checker-0.2.16.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for requirements_checker-0.2.16.tar.gz
Algorithm Hash digest
SHA256 76c43f9dce2e1eed3564b2f48c67f7218a837b3029a4c0cd9121fa1418cdd981
MD5 98c04c0b477f72aa748d1488ebec5f7e
BLAKE2b-256 71a95cb7cc2255c341d53747ca438e15432447d623125fdbe8f8d2506d4d51f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for requirements_checker-0.2.16-py3-none-any.whl
Algorithm Hash digest
SHA256 67f43e061275bcda3db41461ba0e7a1edc3914e8f9e627ee1c6099c39457a16d
MD5 f456d0cc202b0c986d5606af538e4bbe
BLAKE2b-256 2291703ffa70e3daae12f488b345575a004a23880b38b0942202d5803eda17af

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