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.6/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(?)/getter 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.6.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

requirements_checker-0.2.6-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for requirements_checker-0.2.6.tar.gz
Algorithm Hash digest
SHA256 3e561d11ec9e0d888d45302b28e81a58d07f15fe2c17c09890e9b6be60f2c2d5
MD5 e2c5901f98159908af62b1e5747c66dc
BLAKE2b-256 b9c9de3b0fbf589d9ddf32132d4bc8424bcd2bce08ce5615b7c8fc0244fa2ce3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for requirements_checker-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 40b382cb1da3331b4a2b68bfdf1a05632490850cd6653a8c0b9d76e9d6dcaf67
MD5 802e69a8390f98da747e00f2126855f3
BLAKE2b-256 01c2385f91835f44480e54f34414a400a44a1f3d4f811047ea064d71abbb443c

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