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.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 molass 1.2.1
File Size Uploaded Provenance Actions
molass-1.2.1.tar.gz 2.0 MB With provenance Details for molass-1.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 3.3 MB

Release files / molass-1.2.1.tar.gz

Download URL molass-1.2.1.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
1659d3bb8e04f9cda4a671585fde7d501f9ac25f82106879ee4f4502469a1525
BLAKE2b-256 checksum
How to use checksums
958612977aef4ebfa154a5219fdb2b80dca3d5e9dddcf67194c9d783f02996f1
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 23, 2026.

Transparency log

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

Download URL molass-1.2.1-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7f4bf07a1b07488dbe3e3170888d9e1ddf2a2d99a147f0db758e4a35e23d4ddb
BLAKE2b-256 checksum
How to use checksums
b8409dabe058192ec93743fb99ac5f4d0cc5e634cc3a6f5dd0c0b78e95065095
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 23, 2026.

Transparency log

Security for molass 1.2.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 molass-1.2.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 Oct 23, 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.1 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