SDK für den ProcessCube
Werkzeuge und Tools für die Entwicklung mit dem ProcessCube
Unterstützung
Moduleliste:
- processcube_sdk.configuration: Umgang mit Konfigurationsdateien
- processcube_sdk.database: Datenbankzugriffe mit SQLAlchemy und Pandas handeln
- processcube_sdk.external_tasks: External-Tasks-Basis-Klassen und generische Umsetzung (z.B. Prüfen von Instanzen eines Models)
- processcube_sdk.fastapi: fastapi-Auth-Module für den Umgang mit Google-Authentifizierung
- processcube_sdk.jupyter: Vereinfachung der automatischen Ausführung von Jupyter-Notebooks und Ergebnissen, die als Resultat ermittelt werden sollen
Verwendung
processcube_sdk.external_tasks
Die External-Tasks haben für die direkte Verwendung eine Möglichekeit als Module direkt gestartet zu werden.
Das Starten erfolgt wie nachfolgende beschrieben:
python -m pip install processcube_sdk
CONFIG_FILE=`pwd`/config.dev.json PYTHONPATH=. python -m processcube_sdk.external_tasks
Die Konfigurationsdatei, sollte dabei folgende Elemente enthalten:
{
"engine":
{
"url": "http://192.168.178.125:56100"
},
"logging":
{
"level": "info"
},
"external_task_worker": {
"authority_url": "http://localhost:56000",
"client_name": "processcube_external_tasks",
"client_secret": "RyxBOlzo4pVQZZ6EzKnjRyxBOlzo4pVQZZ6EzKnjRyxBOlzo4pVQZZ6EzKnjRyxBOlzo4pVQZZ6EzKnj",
"client_scopes": "engine_etw",
"max_get_access_token_retries": 10
}
}
Zur Authorisierung der External-Tasks gegen die Engine ist es notwendig den Eintrag "external_task_worker" mit den Einträgen:
- authority_url: Authority, die den Token ausstellt
- client_name: Unter welchem Namen die External-Tasks der Authority bekannt sind
- client_secret: Secret, welches zur Authentifizierung der External-Tasks benötigt wird
- client_scopes: Welche Berechtigungen die External-Tasks haben sollen
zu erstellen.
Verwendung mit Docker
Die Verwendung mit Docker ist unter docs/README.Dockerfile.md beschrieben.
Metadata
Release files for processcube-sdk 6.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| processcube_sdk-6.0.1.tar.gz | 35.7 kB | Without provenance | Details for processcube_sdk-6.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| processcube_sdk-6.0.1-py3-none-any.whl | Python 3 | none | any | Details for processcube_sdk-6.0.1-py3-none-any.whl |
Total release size: 82.6 kB
Release files / processcube_sdk-6.0.1.tar.gz
| Download URL | processcube_sdk-6.0.1.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44cd0815fc6b9c417debeb2d8d72c628dc0db8940b97511f4992ed2e8b162edc
|
|
BLAKE2b-256 checksum How to use checksums |
bbf97fddaa17339ea0bfb0a4aea8e7c96ba005a2cf1671d1521c09b8ebc3989a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / processcube_sdk-6.0.1-py3-none-any.whl
| Download URL | processcube_sdk-6.0.1-py3-none-any.whl |
|---|---|
| Size | 46.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7350a8bad590220153a711c88945911657ae86c828cc1b516a2c696875c30529
|
|
BLAKE2b-256 checksum How to use checksums |
abe5edc1d3d0b58df93919d23875335f7dc108ed33be0aa2768961c53f29b913
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Security for processcube-sdk 6.0.1
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.