check if requirements met
Project description
requirements_checker (v0.1.2)
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
- ...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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91550746c1dfb69af990002c8b370244845a55c2b15aaa8db0cbd98c3228e814 |
|
MD5 | f1c8a8a784125b8565a662dfe2cb5748 |
|
BLAKE2b-256 | b8443aa4d7060df4f1b44004d2222b0c3cb2a9e921a3a0eefa444a984aab0871 |
Close
Hashes for requirements_checker-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e29f9ad1eedd6c2b4fd3d1e41cd07b580dd27ced5ec3d8ecc8a4747db5af27ce |
|
MD5 | 17f8b818af77647f91f16ae55f53614c |
|
BLAKE2b-256 | f71568e38d850f4492395f441ca66f9aa648e5a8c812964a84dea26afa16a940 |