Skip to main content

A simplified API to use SQL Databases with numerical simulation.

Project description

SimulationSimpleDatabase (SSD)

logo

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
    • Automatic management of Database file for visualization data;
    • Live rendering of numerical simulations;
    • Replay of stored numerical simulation steps;
    • Various object types and highly customizable rendering styles;
    • Several Python libraries available: Vedo, Open3D

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
caduceus
examples/SOFA/rendering/replay.py
liver

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SimulationSimpleDatabase-24.1.tar.gz (404.0 kB view hashes)

Uploaded Source

Built Distribution

SimulationSimpleDatabase-24.1-py3-none-any.whl (432.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page