Skip to main content

DOI

Molass Library is a rewrite of MOLASS, a tool for the analysis of SEC-SAXS experiment data currently hosted at the Japanese synchrotron radiation facilities, Photon Factory and SPring-8

Tested Platforms

Continuous integration tests run on:

  • Python 3.12, 3.13, 3.14 on Ubuntu (latest)
  • Python 3.12, 3.13, 3.14 on Windows (latest)

Installation

Requirements: Python 3.12, 3.13, or 3.14

Linux (Ubuntu/Debian) prerequisites:

Before installing on Linux, ensure system build tools are available (needed to compile C extensions such as ultranest):

sudo apt install build-essential python3-dev

To install this package, use pip as follows:

pip install -U molass
pip install molass_data  # Sample datasets for tutorials and testing

If your data lives in Dropbox, pip install molass[dropbox] adds an API-based local cache (molass.DataUtils.sync_dropbox_folder) that avoids the repeated re-downloads that can happen when reading directly from a Dropbox-desktop-synced folder. See molass/DataUtils/DropboxSync.py for setup.

For development (requires molass-legacy as a sibling directory):

git clone https://github.com/biosaxs-dev/molass-library
git clone https://github.com/biosaxs-dev/molass-legacy
cd molass-library
pip install -e ".[testing]"
pip install molass_data

Quick Start

For a hands-on introduction, see the tutorial's Quick Start section, or run the corresponding test file:

pytest tests/tutorial/01-quick_start.py -v

Note: Running tests requires the development install. See CONTRIBUTING.md for setup instructions.

The molass-beginner repository provides an interactive onboarding experience in VS Code Agent mode.

Documentation

Citation

If you use Molass Library in your research, please cite the JOSS paper:

Takahashi, M., & Shimizu, N. (2026). Molass Library: A Python Package for SEC-SAXS Data Analysis. Journal of Open Source Software, 11(124), 10403. https://doi.org/10.21105/joss.10403

@article{Takahashi2026,
  doi = {10.21105/joss.10403},
  url = {https://doi.org/10.21105/joss.10403},
  year = {2026},
  publisher = {The Open Journal},
  volume = {11},
  number = {124},
  pages = {10403},
  author = {Masatsuyo Takahashi and Nobutaka Shimizu},
  title = {Molass Library: A Python Package for SEC-SAXS Data Analysis},
  journal = {Journal of Open Source Software}
}

See also CITATION.cff for citing the software itself.

Community

To join the community, see:

Especially for testing, see the first two sections in

Copilot Usage

Context is auto-loaded from .github/copilot-instructions.md when using GitHub Copilot in Agent mode (AI Context Standard).

For behavioral rules and user-type guidance, see Copilot/copilot-guidelines.md.

Optional Features

Excel reporting (Windows only):

If you want to use Excel reporting features (Windows only) for backward compatibility, install with the excel extra:

pip install -U molass[excel]

Note: The excel extra installs pywin32, which is required for Excel reporting and only works on Windows.

Metadata

Release files for molass 1.2.2

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

Source distribution (sdist)

Source distribution for molass 1.2.2
File Size Uploaded Provenance Actions
molass-1.2.2.tar.gz 2.1 MB With provenance Details for molass-1.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 3.4 MB

Release files / molass-1.2.2.tar.gz

Download URL molass-1.2.2.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
7721cf9cf166182e25a8ff64cbe6074e35f5939199b278dda46fea9eeec25c4d
BLAKE2b-256 checksum
How to use checksums
6a7b4c3312903893ee043b973d1733168c0d35ed1bbeb7484658d16ab978c742
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 Oct 30, 2026.

Transparency log

Release files / molass-1.2.2-py3-none-any.whl

Download URL molass-1.2.2-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ffab1acb5e710969ad5d110e2c515724fb2cbdd782525b43ec5302eda255d74f
BLAKE2b-256 checksum
How to use checksums
9abc029a356facbf02f5385c28afbc896146cce3ba3275d49471c5f305329a01
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 Oct 30, 2026.

Transparency log

Security for molass 1.2.2

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 molass-1.2.2.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 Oct 30, 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.

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files Full provenance

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