Python client for the LCMD molecular database
Project description
LCMD-DB
Python client for the LCMD molecular database.
Installation
uv add lcmd-db
# or
pip install lcmd-db
Usage
from lcmd_db import load_dataset
# Load a dataset
df = load_dataset("spahm_l11")
# Load with XYZ structures (adds structure_path column)
df = load_dataset("spahm_l11", include_structures=True)
print(df["structure_path"][0])
# Force re-download (bypass cache)
df = load_dataset("spahm_l11", force_download=True)
# Clear cache
from lcmd_db import clear_cache
clear_cache() # Clear all
clear_cache("spahm_l11") # Clear specific dataset
Options
| Parameter | Description | Default |
|---|---|---|
subset |
Dataset slug (e.g., "spahm_l11", "qm9") | required |
data_format |
Output format: "parquet", "csv", "json", "xlsx", "tsv" | "parquet" |
include_structures |
Download XYZ files and add structure_path column |
False |
cache_dir |
Custom cache directory | OS-dependent |
force_download |
Bypass cache and re-download | False |
Available Datasets
Browse datasets at lcmd-app.epfl.ch.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lcmd_db-0.1.0.tar.gz
(29.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lcmd_db-0.1.0.tar.gz.
File metadata
- Download URL: lcmd_db-0.1.0.tar.gz
- Upload date:
- Size: 29.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c65db13de2b31d95119c5d47c079f73e1630a2d8761f10d144f282e75921de87
|
|
| MD5 |
e2f4e60d2a23e9ad3eb17d02f7317fde
|
|
| BLAKE2b-256 |
147b97df993fecd8976951c09f05f5f201d0ac987120924f05df88d36196c017
|
File details
Details for the file lcmd_db-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lcmd_db-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa085662b23273bfb0012f153bb1fd60f1f786b48d4e2abd2b7513fc298a7a27
|
|
| MD5 |
b8481bd5375ab9d42dcb61c94faf94a3
|
|
| BLAKE2b-256 |
815a006b359a1d09f596d509eb0723df4a704fd7c420bf825656fbc0608b5e90
|