LDAnalysis (LDA)
A provenance-driven project management system that creates a living map of your research, tracking relationships, monitoring changes, and preserving your project's complete history.
Each analysis folder, manifest, and result is named and organized to mirror the document outline, creating a one-to-one link between text, code, data, and results.
This architecture ensures that every figure, table, or claim in the document is transparently and immutably traceable back to its generating code and data—enabling instant audit, replication, and regulatory review.
Installation
Quick Install (Recommended)
Install using UV for a fast, isolated global installation:
# Install UV (one-time setup)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install LDAnalysis
uv tool install ldanalysis
Alternative Method
Using pipx:
pipx install ldanalysis
Development Installation
For contributors or to use the development version:
# Clone the repository
git clone https://github.com/cincineuro/ldanalysis.git
# Install with UV in development mode
uv tool install --upgrade -e /path/to/ldanalysis
For detailed installation instructions, see the Installation Guide.
Requirements: Python 3.8 or later
Quick Start
First-Time Setup
When you first run LDA, you'll be prompted to create a profile:
lda init
No user profile found. A profile can store default values for your projects.
Would you like to set up a profile now? [Y/n]: Y
Your name (for provenance tracking): Dr Jane Smith
Organization (optional): Research Institute
Email (optional): jane.smith@institute.edu
Default language [python/r/both] (default: python): python
Profile saved to: ~/.config/lda/profile.yaml
Create a Project
LDA uses an interactive naming system to build structured project names:
lda init
Would you like to use the structured naming system? [Y/n]: Y
Let's build your project name
-----------------------------
1. Project/Study/Protocol (e.g., ALS301, COVID19, SensorX) [required]: ALS301
2. Site/Organization/Consortium (e.g., US, LabA, UCL) [optional]: CCHMC
3. Cohort/Arm/Group (e.g., Placebo, Elderly, Control) [optional]: Treatment
4. Phase/Session/Timepoint/Batch (e.g., 6mo, 2024A, Pre) [optional]: Week8
5. Modality/DataType/Task/Platform (e.g., MRI, RNAseq, Stroop) [optional]: EEG
Preview: ALS301_CCHMC_Treatment_Week8_EEG
Is this correct? [Y/n]: Y
✨ Project created: ALS301_CCHMC_Treatment_Week8_EEG/
The tool will:
- Create a project with structured naming
- Set up section folders for your analysis
- Generate file manifests for tracking
- Initialize provenance with unique IDs
- Create a playground for experimentation
Project Structure
Each LDA project contains:
- Section folders: One-to-one mapping with document sections
- File manifests: Explicit lists of expected inputs and outputs
- Provenance tracking: Hashes, timestamps, and analyst attribution
- Audit logs: Complete history of all changes
Documentation
See CLAUDE.md for detailed architecture and usage instructions.
License
MIT License - see LICENSE file for details.
Metadata
Release files for ldanalysis 0.2.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ldanalysis-0.2.0.6.tar.gz | 1.4 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ldanalysis-0.2.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / ldanalysis-0.2.0.6.tar.gz
| Download URL | ldanalysis-0.2.0.6.tar.gz |
|---|---|
| Size | 1.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
206f22617c06ca7385186d5b7d017ec5db94829d81f23f7928e8e103355208d3
|
|
BLAKE2b-256 checksum How to use checksums |
41c63dcab5cf65cfb0073a60327caa5d44addfbf38bb085f9eff79a75bad2c9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.2
|
Release files / ldanalysis-0.2.0.6-py3-none-any.whl
| Download URL | ldanalysis-0.2.0.6-py3-none-any.whl |
|---|---|
| Size | 58.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
514f66be37571e1c73a3e4c52574ca0feb9b3b1d0d15091637da81c6f5fef40a
|
|
BLAKE2b-256 checksum How to use checksums |
7dcb27d6ea0446d0267aa45748c96db7ece786b6c78b54786ba02a56cc93bf11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.2
|
Security for ldanalysis 0.2.0.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.