⚠️ Not Production Ready ⚠️
pyfost.gestion_studio
Fost Studio Seats Management Tools
Table of Contents
Installation
Create a virualenv, activate it, and then:
pip install pyfost.gestion-studio
Run
Services
Edit a .env or .env.DEV or .env.PROD file (Use the .env in the repo root as example).
Then, in the same folder, spawn your services:
- Full Stack:
python -m pyfost.gestion_studio.main_all - All Backends:
python -m pyfost.gestion_studio.main_backends - All Frontends:
python -m pyfost.gestion_studio.main_frontends
Python APIs
You can interact with the services using their respecive clients:
from pyfost.gestion_studio.floors.api import FloorsAPI
from pyfost.gestion_studio.projects.api import ProjectsAPI
floors_api = ProjectsAPI(host=<floors_service_host>, port=<floors_service_port>)
facilities = floors_api.get_facilities()
project_api = ProjectsAPI(host=<project_service_host>, port=<project_service_port>)
tasks = projects_api.get_tasks()
Dev
Tips
- You can explore the content of the sqlite files (*.db in the repo root) using:
- https://inloop.github.io/sqlite-viewer/
- https://sqliteviewer.app/
- my fav: https://beta.sqliteviewer.app/
- or download sqlitebrowser here: https://sqlitebrowser.org/
- You can copy/past svg from web editors to create map symbols:
floors
(! OUTDATED !)
- To generate the python client from the backend (api)
- run the backend standalone:
fastapi run src/pyfost/gestion_studio/floors/backend/main.py - install openapi-python-client:
pipx install openapi-python-client --include-deps - cd to the root of the repo (containing this file)
- generate the client:
openapi-python-client generate --url http://127.0.0.1:8000/openapi.json --output-path ../pyfost.gestion-studio-floors_api --config openapi-python-client.yaml - replace current client (./src/pyfost/gestion_studio/floors/api) by the generated one (../pyfost.gestion-studio-floors_api/api)
- also copy the client README (../pyfost.gestion-studio-floors_api/README.md -> ./src/pyfost/gestion_studio/floors/api/README.md)
- run the backend standalone:
License
pyfost.gestion-studio is distributed under the terms of the GNU GPL-3.0 or later license.
Metadata
Release files for pyfost.gestion-studio 0.1.5
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 |
|---|---|---|---|---|
| pyfost_gestion_studio-0.1.5.tar.gz | 254.9 kB | Without provenance | Details for pyfost_gestion_studio-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyfost_gestion_studio-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for pyfost_gestion_studio-0.1.5-py3-none-any.whl |
Total release size: 533.2 kB
Release files / pyfost_gestion_studio-0.1.5.tar.gz
| Download URL | pyfost_gestion_studio-0.1.5.tar.gz |
|---|---|
| Size | 254.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa432dcf91e635fcabb49dcc1b6b21f807902bd725240976deadfc015b9808c7
|
|
BLAKE2b-256 checksum How to use checksums |
5e946bfc60fa18b06a3f5a7859db6e26b413bb30c258c05b3f98bf9295bd4af7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / pyfost_gestion_studio-0.1.5-py3-none-any.whl
| Download URL | pyfost_gestion_studio-0.1.5-py3-none-any.whl |
|---|---|
| Size | 278.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b059059877d002d770c06f98b89c8a5078cc5d4dc8a3ea1657db4ef2955e97a6
|
|
BLAKE2b-256 checksum How to use checksums |
b8ebd0b444a891f147d80d61de94b81b236af3e8b67fe5f559f4921f6c72f1fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for pyfost.gestion-studio 0.1.5
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.