Collecion of helper modules for the Dakara Project
This project is a collection of tools and helper modules for the Dakara Project.
config: a configuration helper that can load an YAML file and manage loggers;
exceptions: a base class for exceptions;
http_client: an HTTP client dedicated to be used with an API;
resources_manager: a helper for retreiving static files with module-like naming;
utils: other various helpers;
websocket_client: a Websocket client.
Install the package with:
pip install dakarabase
If you have downloaded the repo, you can install the package directly with:
python setup.py install
Please ensure you have a recent enough version of
pip install --upgrade "setuptools>=40.0"
Install the dependencies with:
pip install -e ".[tests]"
This installs the normal dependencies of the package plus the dependencies for tests.
Run tests simply with:
python setup.py test
To check coverage, use the
coverage run setup.py test coverage report -m
Copyright (c) 2019 Dakara Project
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size dakarabase-1.0.1-py3-none-any.whl (20.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size dakarabase-1.0.1.tar.gz (28.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for dakarabase-1.0.1-py3-none-any.whl