A simplified API to use SQL Databases with numerical simulation.
Project description
SimulationSimpleDatabase (SSD)
The SSD project provides Python3 tools allowing users to easily develop data storage and visualization strategies for their numerical simulations with a minimal lines of code.
This project has two main objectives:
- Easy storage management system for any data from a numerical simulation;
- Easy storage & rendering management systems for visual data from a numerical simulation.
The SSD project is mainly using the Peewee Python3 library and was mostly designed to fit the DeepPhysX and SOFA frameworks.
Discover more about the project on the dedicated Documentation.
Features
The SSD project provides the following Core
packages:
SSD.Core.Storage
- Automatic management of Database file for any data;
- Creation of highly customizable Tables in the Database;
- Easy writing and reading user interface;
- Event management system;
- Tools such as merging and exporting data in other formats.
SSD.Core.Rendering
The SSD project also provides a SOFA
compatible package with additional features:
SSD.SOFA.Storage
- Callbacks to automatically record any Data field of SOFA objects.
- Recording can be done whether the simulation is running with runSofa or with a python interpreter.
SSD.SOFA.Rendering
- Callbacks to automatically record visual Data fields of SOFA objects.
- Recording can be done whether the simulation is running with runSofa or with a python interpreter.
- Rendering is available when a simulation is driven with a python interpreter.
Install
Install with pip
The SSD project is registered on PyPi, thus it can easily
be installed using pip
:
$ pip3 install SimulationSimpleDatabase
Install from sources
You can also easily install the SSD project from sources using the following instructions:
$ git clone https://github.com/RobinEnjalbert/SimulationSimpleDatabase.git
$ cd SimpleSimulationDatabase
# Option 1: Install as non-editable (users)
$ pip3 install .
# Option 2: Install as editable (developers)
$ python3 setup_dev.py set
Gallery
examples/SOFA/rendering-offscreen/replay.py |
---|
examples/SOFA/rendering/replay.py |
---|
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
Hashes for SimulationSimpleDatabase-24.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a41896c168fc7cb6ba5d0afda7f113092d9cfda66baf25989c1aefbc00e66032 |
|
MD5 | 873fa91a212c0514b6d295f9fe48b7e1 |
|
BLAKE2b-256 | 8210169a477fa2393897e37e56cbe31d08a50dfdd29af86d9a5e51b4196122cd |
Hashes for SimulationSimpleDatabase-24.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b29074f6684996c0017ac33122d0971befcfcad8439f90da933e64164f0ebfe |
|
MD5 | 937123ebcc578111590c0d9f55c8d04e |
|
BLAKE2b-256 | baf6a7c161e0cae1a6f4db706fd271ec46417409eeed347988f9b6b2f7d5cc71 |