Skip to main content

A Python Shiny app for reaction database management

Project description

rxnDB: a mineral reaction database

📚 See the documentation for details.

Prerequisite software

This project is written in python. For most users, I recommend installing the miniforge python distribution. This distributions includes a minimal installation of python and the package manager conda, which is required to build the necessary python environment for this software.

For macOS users, miniforge can be installed with homebrew:

brew install miniforge

For Window's users, miniforge can be installed from a binary .exe. Follow the instructions for miniconda, anaconda, or miniforge (recommended) here.

Installation Guide

To install with Conda (recommended):

# Create conda environment
conda create -n rxnDB python=3.13 pip

# Activate conda environment
conda activate rxnDB

# Install rxnDB
pip install rxnDB

If you want to install the development version for local testing in "editable" mode:

# Clone repo
git clone https://github.com/buchanankerswell/kerswell_et_al_rxnDB.git
cd kerswell_et_al_rxnDB

# Checkout develop branch
git checkout develop

# Create conda environment and install rxnDB locally in editable mode
# including optional development and documentation dependencies
make environment

Usage Guide

After installing rxnDB using either methods above, you can launch the Shiny app directly from the command line:

# Activate conda environment
conda activate rxnDB

# Launch app
rxndb

For more advanced usage, you can use the following options:

# Activate conda environment
conda activate rxnDB

# rxndb --host 0.0.0.0   (Make accessible from other machines)
# rxndb --port 8080      (Run on a specific port)
# rxndb --launch-browser (Open browser automatically)
# rxndb --reload         (Auto-reload when files change)

# Default command
rxndb --host 127.0.0.1 --port 8000 --launch-browser --reload

Coauthors

Acknowledgement

The UKRI NERC Large Grant no. NE/V018477/1 awarded to John Wheeler at the University of Liverpool funded this work.

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

rxndb-0.1.0a22.tar.gz (293.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rxndb-0.1.0a22-py3-none-any.whl (480.2 kB view details)

Uploaded Python 3

File details

Details for the file rxndb-0.1.0a22.tar.gz.

File metadata

  • Download URL: rxndb-0.1.0a22.tar.gz
  • Upload date:
  • Size: 293.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rxndb-0.1.0a22.tar.gz
Algorithm Hash digest
SHA256 d01c41d802dff072f418476b7d98d232dae5ef8c7c4753885a7c8908eaf8574d
MD5 84a776e51640ec0aaa35970c9a6873f5
BLAKE2b-256 3fb7928d250d8ffe3d2eb8dca1e076656b45eadb4b45ceb6ef04450e39e6f97e

See more details on using hashes here.

File details

Details for the file rxndb-0.1.0a22-py3-none-any.whl.

File metadata

  • Download URL: rxndb-0.1.0a22-py3-none-any.whl
  • Upload date:
  • Size: 480.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for rxndb-0.1.0a22-py3-none-any.whl
Algorithm Hash digest
SHA256 332a3de0daeb6b70f46b15582ed057f5cad87bcc5100d1b7b6670f78b57e1ff2
MD5 301049e532999bd0511f8a5fbc7a25d5
BLAKE2b-256 2ce8acfbffa0d23fde4f0dcd5bcc849a7aa8cb22f00528a7ba5ec0735cdb49e8

See more details on using hashes here.

Supported by

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