Install & Compatibility
Where this runs
tested against v0.3.10 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.920 runs
build_error
glibcpy 3.10–3.920 runs
installs and imports cleanly · install 19.7s · import 4.359s · 433MB
439MB installed
● package 439MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
load_dataset
✓ from load_atoms import load_dataset
list_datasets
✓ from load_atoms import list_datasets
list_ids
✓ from load_atoms import list_ids
Database
✓ from load_atoms import Database
✗ from load_atoms.database import Database
Database is a top-level symbol, not in submodule
List datasets, load one, and access atoms.
from load_atoms import load_dataset, list_datasets
# List available datasets
print(list_datasets())
# Load a dataset (e.g., 'QM9')
dataset = load_dataset('QM9')
print(f"Loaded {len(dataset)} structures")
# Access first structure
atoms = dataset[0]
print(atoms)
load-atoms --version
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'load_atoms'
Library not installed.
fixRun `pip install load-atoms`
ModuleNotFoundError: No module named 'load_atoms' when trying to import after installation.
Package name is 'load-atoms' but import is 'load_atoms' (underscore vs hyphen). Installed correctly, import may fail if environment is wrong.
fixEnsure you installed the correct package and Python environment is consistent. Use `pip list | grep load-atoms` to confirm.
ConnectionError: Failed to download dataset 'QM9'
Network issue or dataset server down.
fixCheck internet connection or try again later. Alternatively, set `cache_dir` to a path with existing download.
ValueError: No dataset with id 'qm9'
Dataset ID is case-sensitive; 'qm9' is not recognized (correct is 'QM9').
fixUse `list_ids()` to see available IDs, then call with exact string.
Upgrade
Version history
0.3.10latest on PyPI · released Nov 25, 2025
Audit
Dependencies
aserequiredRequired for atomic simulation environment interface
requestsrequiredFor downloading datasets from remote sources