Microservice handler for cryptic-game
Project description
python3-lib
The microservice-libary for python3 of cryptic-game.
Pypi Seite: https://pypi.org/project/cryptic-game/
Installation:
$ pip3 install cryptic-game
Features
- Endpoint Mapping
- automatic input validation
- Database Control
- Sentry and Logger -> Stacktraces and Context Data
Quick Start
Checkout the example.py for an quick example how this library is used.
Requirements
Required are all modules in the requirements.txt
.
Enviroment Variables
Variable | Functionality |
---|---|
MODE | debug or production |
DATA_LOCATION | Path where you sqlite db should be stored under debug mode |
DBMS | Mysql or sqlite used internaly |
SQLITE_FILE | Name of your sqlite db |
MYSQL_HOSTNAME | Host where your mysql server runs |
MYSQL_PORT | Under which port your mysql on the given host runs |
MYSQL_DATABASE | Name of your mysql database |
MYSQL_USERNAME | Mysql username |
MYSQL_PASSWORD | Your password for this given user |
PATH_LOGFILE | Path too where your logging files should be stored |
DSN | Data Structure Name for your sentry instance |
RELEASE | The Release this will be reported too sentry |
Test it!
Your microservice will be supported by the game-server of cryptic.
Wiki
Visit our wiki for more information.
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 cryptic_game-0.4.3.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da37cb9f81d6f7be42c3adf676bd9fa46d6b02738c93b3e9a8a5d4fa8e1283c3 |
|
MD5 | 556c425ee6e8cb99729559a710e0382e |
|
BLAKE2b-256 | 7f77285c48f956c4e663f942be84401b03ada05dae816bd6401c39d1a97d00ac |