Skip to main content

ROMI_logo / PlantDB.server

Licence Python Version GitHub branch check runs PyPI - Version

Server-side component of the ROMI plant database system.

Provides a robust REST API server implementation for managing plant phenotyping data.

Features include:

  • File system database management
  • Data synchronization services
  • Command-line tools for database management

Overview

PlantDB is a library for the ROMI (Robotics for Microfarms) plant database ecosystem. It is designed for plant and agricultural research facilities and robotics labs that require lightweight plant data management infrastructure.

It consists of three components:

  1. plantdb.commons: provides a Python API for interacting with plant data
  2. plantdb.server: provides the server-side REST API to interact with plant data
  3. plantdb.client: provides the client-side REST API to interact with plant data

For comprehensive documentation of the PlantImager project, visit: https://docs.romi-project.eu/plant_imager/

API documentation for the plantdb library is available at: https://romi.github.io/plantdb/

Environment Setup

We strongly recommend using isolated environments to install ROMI libraries.

Python venv

To create a new Python virtual environment for PlantDB:

python -m venv .venv         # create a pyvenv named `.venv` in the current directory
source .venv/bin/activate    # activate the virtual environment
pip install ipython          # optional interactive workbench

Conda

This documentation uses conda as both an environment and package manager. If you don't have miniconda3 installed, please refer to the official documentation.

To create a new conda environment for PlantDB:

conda create -n plantdb 'python=3.10' ipython

To use it, you need to activate it with:

conda activate plantdb  # activate your environment

Installation

User - Pre Built Packages

Activate your environment and install the packages using pip:

pip install plantdb.commons plantdb.server plantdb.client

Developers - From Sources

To contribute to the development, you will need to install the sources:

git clone https://github.com/romi/plantdb.git
cd plantdb
# Install 'plantdb.commons'...
pip install -e src/commons/.[io]
# Install 'plantdb.server'...
pip install -e src/server/.
# Install 'plantdb.client'...
pip install -e src/client/

Usage

Test with Toy Dataset

To run the server with a temporary test database in debug mode:

fsdb_rest_api --test --debug

Development

To start the REST API server for a local plant database:

fsdb_rest_api -db /path/to/your/database --host 127.0.0.1 --port 8080

Production

To start the REST API server in production:

uwsgi --http :5000 --module plantdb.server.cli.wsgi:application --callable application --master

For detailed usage instructions and a full endpoint reference, see:

Metadata

Release files for plantdb.server 0.17.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plantdb.server 0.17.1
File Size Uploaded Provenance Actions
plantdb_server-0.17.1.tar.gz 79.1 kB With provenance Details for plantdb_server-0.17.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plantdb.server 0.17.1
File Interpreter ABI Platform Actions
plantdb_server-0.17.1-py3-none-any.whl Python 3 none any Details for plantdb_server-0.17.1-py3-none-any.whl

Total release size: 183.6 kB

Release files / plantdb_server-0.17.1.tar.gz

Download URL plantdb_server-0.17.1.tar.gz
Size 79.1 kB
Tags Source
SHA-256 checksum
How to use checksums
65a6a3494944ab9636e613144360cb9a0ce7c9c890c79a0440a2919dfa632468
BLAKE2b-256 checksum
How to use checksums
fd00715a637c4b00cddb87f85ec0f81d53e0dc029e10de67b11e1b2d3505a1e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / plantdb_server-0.17.1-py3-none-any.whl

Download URL plantdb_server-0.17.1-py3-none-any.whl
Size 104.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a36a340ade94c6e30bdfe536621ee0fb9b198e1c639f7ca7c5b3ab1980e9f1d4
BLAKE2b-256 checksum
How to use checksums
e73f8e0036d233afe0c5033f91ae9a843d5e42e77e72dbd19e56ed11e6d4ebfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for plantdb.server 0.17.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for plantdb_server-0.17.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page