Skip to main content

check if requirements met

Project description

requirements_checker (v0.1.15)

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.15.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

requirements_checker-0.1.15-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

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