check if requirements met
Project description
requirements_checker (v0.1.0)
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab69e99833bc2772651fd623772742d438c4edeebf4b6a3510b8edd5230c0d99 |
|
MD5 | eef2d6625a1d3a633ec255830ae430b8 |
|
BLAKE2b-256 | be3061b5d584ff4d963ea3421ef82c21434a021d0a19554fc20eb47bd9ec7b68 |
Close
Hashes for requirements_checker-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 541b79a81090633b0c50ef055f39f7f0552e24b3bee30899156e2cccbec2ed1a |
|
MD5 | 67e71b7fa8b40de918d33f72eba9ba49 |
|
BLAKE2b-256 | de697843a0aa7e17b7f224255d00d11dbc683461ad0f76459ffc45581a41ff69 |