Skip to main content

NexusLIMS Logo

Documentation Python 3.11+ Maintained by Datasophos

Tests Integration Tests codecov

NexusLIMS - Automated Laboratory Information Management for Electron Microscopy

⚠️ Notice: This is a fork of the original NexusLIMS project, created after the lead developer (@jat255) left NIST and founded Datasophos. This fork is maintained by Datasophos and is not affiliated with NIST in any way. For the official NIST version, please visit the original repository.

What is NexusLIMS?

NexusLIMS automatically generates experimental records by extracting metadata from microscopy data files and harvesting information from laboratory calendar systems.

Originally developed by the NIST Office of Data and Informatics, NexusLIMS transforms raw microscopy data into structured, searchable experimental records without requiring manual data entry. By combining file metadata extraction with reservation calendar information, NexusLIMS creates comprehensive documentation of microscopy sessions automatically.

What it does

  • Reads metadata from .dm3/.dm4 (DigitalMicrograph), .tif (FEI/Thermo), .ser/.emi (FEI TIA), and other microscopy formats
  • Pulls reservation and usage context from NEMO to associate files with the right session and user
  • Groups files from the same session into logical acquisition activities using temporal clustering
  • Generates thumbnail previews alongside the extracted metadata
  • Builds XML records conforming to the "Nexus Experiment" schema and uploads them to the NexusLIMS CDCS web frontend

How it works

When an instrument session ends in NEMO, NexusLIMS finds all data files saved during the reservation window, extracts their metadata, and assembles everything into a structured record — no manual data entry required. Records are uploaded to a searchable web interface where users can browse and retrieve their experimental data.

For more details, see the Record Building Workflow documentation.

Quick Start

Installation

The easiest way to install NexusLIMS is as an isolated command-line tool using uv (requires installing uv first):

uv tool install nexuslims

Option 2: pip (virtual environment)

Install in a user-managed virtual environment:

python -m venv nexuslims-venv
source nexuslims-venv/bin/activate
pip install nexuslims

Option 3: Development install (from source)

For contributors or developers who want to modify NexusLIMS source code:

git clone https://github.com/datasophos/NexusLIMS.git
cd NexusLIMS
uv sync

Note: For development installs, you will need to prefix NexusLIMS commands with uv run (e.g. uv run nexuslims config edit).

Configuration

Run nexuslims config edit to interactively configure your installation. You'll need to set:

  • CDCS frontend credentials and URL
  • File paths for data storage
  • NEMO API credentials (if using)
  • Database path

Note: For development installs from source, you can also copy .env.example to .env, edit it manually, and set NX_CONFIG_FILE="$PWD/.env" when running NexusLIMS.

See Configuration Documentation for details.

Initialize Database

nexuslims db init

Then add your instruments using the interactive instrument manager:

nexuslims instruments manage

See the Getting Started Guide for more details.

Build Records

nexuslims build-records

Documentation

📚 Full documentation: https://datasophos.github.io/NexusLIMS/stable/

System Requirements

  • Backend: Linux or macOS. Windows is not currently supported.
  • Python: 3.11 or 3.12
  • Network Access: Read-only access to centralized instrument data storage
  • Calendar System: NEMO instance (or custom harvester implementation)
  • Frontend: NexusLIMS CDCS instance for browsing and searching records (optional, but probably desired)

Current Limitations

NexusLIMS is under active development, but there are some limitations:

  • File Format Support: Currently supports a subset of common electron microscopy formats (see extractor documentation for details). If you have different isntrumentation at your institution, custom extractors will be needed.
  • Calendar Integration: NexusLIMS is designed to inteface with the NEMO laboratory facility management system. Other systems would require custom harvester implementation.
  • Platform Support: The NexusLIMS backend is intended to be run on in a server environment, and thus supports Linux or macOS only (theoretically WSL2 on Windows as well, though this is untested). Full Windows support would require additional development effort.

Need help adding features or deploying at your institution? Datasophos offers professional services for NexusLIMS deployment, customization, and support. Contact us at josh@datasophos.co.

Development Quick Start

# Install development dependencies
uv sync --dev

# Run tests
./scripts/run_tests.sh

# Run linting
./scripts/run_lint.sh

# Build documentation
./scripts/build_docs.sh

See the Developer Guide for detailed information about:

  • Architecture overview
  • Adding new file format extractors
  • Creating custom harvesters
  • Testing and CI/CD
  • Release process

Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests (100% coverage required)
  4. Submit a pull request to main

See Contributing Guidelines for more details, including our AI contribution policy.

The NexusLIMS logo is inspired by Nobel Prize winner Dan Shechtman's groundbreaking work at NIST in the 1980s. Using transmission electron diffraction, Shechtman discovered quasicrystals - a new class of crystals that have regular structure and diffract, but are not periodic. This discovery overturned fundamental paradigms in crystallography.

We chose Shechtman's first published quasicrystal diffraction pattern as inspiration due to its significance in electron microscopy and its storied NIST heritage.

License

See LICENSE for details.

Support

Datasophos offers deployment assistance, custom extractor and harvester development, and training for teams adopting NexusLIMS. Get in touch at josh@datasophos.co.


Metadata

Release files for nexusLIMS 2.9.0

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

Source distribution (sdist)

Source distribution for nexusLIMS 2.9.0
File Size Uploaded Provenance Actions
nexuslims-2.9.0.tar.gz 16.6 MB With provenance Details for nexuslims-2.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nexusLIMS 2.9.0
File Interpreter ABI Platform Actions
nexuslims-2.9.0-py3-none-any.whl Python 3 none any Details for nexuslims-2.9.0-py3-none-any.whl

Total release size: 17.8 MB

Release files / nexuslims-2.9.0.tar.gz

Download URL nexuslims-2.9.0.tar.gz
Size 16.6 MB
Tags Source
SHA-256 checksum
How to use checksums
9fc434d1cdc45aeccc7212d75de30aa2502f3ee3f6c8a190f82c624e5e3e13ad
BLAKE2b-256 checksum
How to use checksums
3b94a8e583212a623ba6ed490649782d563462066a9f8060f08ff1fea51e2016
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 4, 2026.

Transparency log

Release files / nexuslims-2.9.0-py3-none-any.whl

Download URL nexuslims-2.9.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
743e67f4206aec4fdc417136f3de9da4dc39db8f6def34a8c22278de614898f1
BLAKE2b-256 checksum
How to use checksums
2fa35874e39600b01622a5cbd574bda80700f16ae63229c1400658831fefee73
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 4, 2026.

Transparency log

Security for nexusLIMS 2.9.0

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 nexuslims-2.9.0.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 4, 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