Data hub for pandapower and pandapipes networks based on MongoDB
Project description
pandahub is a data hub for pandapower and pandapipes networks based on MongoDB. It allows you to store pandapower and pandapipes networks as well as timeseries in a MongoDB. pandahub allows you to access the database directly through the PandaHub class, but also provides a REST-API based on FastAPI. Access through the API is managed with a user management implementation based on FastAPI Users.
Development
docker compose up -d
runs a mongodb container alongside a pandahub api instance with live reload available
at http://localhost:8002. To connect to an existing database instead, set MONGODB_URL
to the connection string through an environment variable / in you .env
file.
Swagger UI is available at http://localhost:8002/docs.
If you develop on the library and do not need the fastapi app, docker compose up db -d
starts only the mongodb
container.
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
File details
Details for the file pandahub-0.3.11.zip
.
File metadata
- Download URL: pandahub-0.3.11.zip
- Upload date:
- Size: 62.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63293347be411db7c6ec0ed41caf81166181888f220a48fe5fa8b2141e85ab24 |
|
MD5 | 712412de08d15c86f8854399a439950e |
|
BLAKE2b-256 | f33f5194e8bf676e2f542f587a60b181daba8dcdf411ade6af56d4f6ed619654 |