Skip to main content

check if requirements met

Project description

requirements_checker (v0.1.1)

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

Uploaded Source

Built Distribution

requirements_checker-0.1.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for requirements_checker-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ca85a8aa535812d0be332187a6054f9ee58c47a2a4335b68c180ce52b282d840
MD5 672ce09a73197fb1e65e482c507cad61
BLAKE2b-256 07dc754006246426633ff1f6fe3ef7749ea430fe985c9f8fb8c8358d9e43107d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for requirements_checker-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4120c95e5dfa3bcb2afceb9482b2fdd9be891846296020969c4fece6970f275
MD5 5ff6fdb01aaec16f3b00db163e71bc65
BLAKE2b-256 8e053be52efe11288cc1af493c7c655b09ae9bdec136b49ed29acc674298b689

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