check if requirements met
Project description
requirements_checker (v0.1.3)
DESCRIPTION_SHORT
Check if requirements met
DESCRIPTION_LONG
designed for check requirements (systemos) and raise/bool if no match
Features
- check requirements (systemOs), raise/bool if no match
- create fuck(?)/getter and is it for check for settings
- python packages work:
- upgrade
- delete
- version_get
- check_installed)
- upgrade pip
- ...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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for requirements_checker-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b29880d92a2df8499bff55629a554d88fea30f7662aabca0eb72426c2664022 |
|
MD5 | 70ec9505be99759779a241697d607757 |
|
BLAKE2b-256 | 2baa5eb9659922996ef549947a14ccb6a7786ea327257f79a0c48e9bdb53493e |
Close
Hashes for requirements_checker-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 222cdd51ec9bc81db8eb187d0cc647ff3fd6e3eb7cbc6ff1f978522dd8fc5630 |
|
MD5 | 490d5d74d92f4e82b6239ddb852b2d87 |
|
BLAKE2b-256 | 49a20c4134d6ea77aed54d90da824c8844ad07e403dde53dd3773d8441be837f |