Skip to main content

python3-lib

The microservice-libary for python3 of cryptic-game.

Pypi Seite: https://pypi.org/project/cryptic-game/

Installation:

$ pip3 install cryptic-game

Quick Start

from cryptic import MicroService

ms: MicroService = MicroService(name="echo")


@ms.microservice_endpoint(path=["microservice"])
def handle(data: dict, microservice: str):
    print(data, microservice)
    return {}


@ms.user_endpoint(path=["user"])
def handle(data: dict, user: str):
    print(data, user)
    return {}


if __name__ == '__main__':
    ms.run()

Requirements

Required are all modules in the requirements.txt.

Test it!

Your microservice will be supported by the game-server of cryptic.

Environment variables

key default value
SERVER_HOST 127.0.0.1
SERVER_PORT 1239

Wiki

Visit our wiki for more information.

Metadata

Release files for microservicecryp 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for microservicecryp 1.3.3
File Size Uploaded Provenance Actions
microservicecryp-1.3.3.tar.gz 3.2 kB Without provenance Details for microservicecryp-1.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for microservicecryp 1.3.3
File Interpreter ABI Platform Actions
microservicecryp-1.3.3-py3-none-any.whl Python 3 none any Details for microservicecryp-1.3.3-py3-none-any.whl

Total release size: 6.8 kB

Release files / microservicecryp-1.3.3.tar.gz

Download URL microservicecryp-1.3.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a460531102bdc0b74ed21b66c2ccefb9f5cbfdfdf52727310a6d2849049c2a53
BLAKE2b-256 checksum
How to use checksums
48ac4f2697af508a50c71a3cead60692dba020f56a1a9da5e4ffac085742c701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release files / microservicecryp-1.3.3-py3-none-any.whl

Download URL microservicecryp-1.3.3-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee952bcce6331af88db67bf8aa069f8e90b10ce6c8b69afe06ee2681e2fc07e9
BLAKE2b-256 checksum
How to use checksums
015ed27ddf574d7899e219d5e47bb39799cf910bc179071d5abc687e931cceb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Security for microservicecryp 1.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page