Shared library for chemistry database MCP servers
Project description
chemdb-common
Shared library for chemistry database MCP servers. Provides SQLAlchemy models, sync utilities, and CLI tools used by grandmofty-mcp and catapult-mcp.
Features
- Pydantic models — typed schemas for MOFs, reactions, isotherms
- SQLAlchemy ORM — SQLite and PostgreSQL support
- Sync framework — pull data from remote APIs (mofdb-client, Zenodo, Materials Project)
- CLI —
chemdbcommand for database management
Installation
uv pip install -e .
# With PostgreSQL support:
uv pip install -e ".[postgres]"
Usage
chemdb sync # sync all data sources
chemdb stats # show database statistics
Dependencies
- pydantic — data validation
- sqlalchemy — ORM
- typer — CLI framework
- httpx — HTTP client for API calls
License
LGPL-3.0-or-later — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 chemdb_common-0.2.2.tar.gz.
File metadata
- Download URL: chemdb_common-0.2.2.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e363eef152ace00ad3751e67e47d2836a5e91212d691a25b89fd81cea55bb71
|
|
| MD5 |
769a2ccaf3e1c18026620506964f44f5
|
|
| BLAKE2b-256 |
20ef168a7c0f162fd22eb2bebcb311f1ed10c2cc3ad5c07148ca34fdb3c2e563
|
Provenance
The following attestation bundles were made for chemdb_common-0.2.2.tar.gz:
Publisher:
publish.yml on retospect/chemdb-common
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chemdb_common-0.2.2.tar.gz -
Subject digest:
0e363eef152ace00ad3751e67e47d2836a5e91212d691a25b89fd81cea55bb71 - Sigstore transparency entry: 1247275331
- Sigstore integration time:
-
Permalink:
retospect/chemdb-common@43c98e61da406a7942e72bfdcb5b75dc8acaad4f -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/retospect
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@43c98e61da406a7942e72bfdcb5b75dc8acaad4f -
Trigger Event:
push
-
Statement type:
File details
Details for the file chemdb_common-0.2.2-py3-none-any.whl.
File metadata
- Download URL: chemdb_common-0.2.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d68c412d76fa9c04da279a6c1c16317953de701b20a5804b23b1a17631cad53
|
|
| MD5 |
df6534aa3b50babbfb9812a9ba90b437
|
|
| BLAKE2b-256 |
50cea9716e1f0ecb022d24ea5126976da5b434e37ee903b86b4726d9e7a12a33
|
Provenance
The following attestation bundles were made for chemdb_common-0.2.2-py3-none-any.whl:
Publisher:
publish.yml on retospect/chemdb-common
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chemdb_common-0.2.2-py3-none-any.whl -
Subject digest:
4d68c412d76fa9c04da279a6c1c16317953de701b20a5804b23b1a17631cad53 - Sigstore transparency entry: 1247275366
- Sigstore integration time:
-
Permalink:
retospect/chemdb-common@43c98e61da406a7942e72bfdcb5b75dc8acaad4f -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/retospect
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@43c98e61da406a7942e72bfdcb5b75dc8acaad4f -
Trigger Event:
push
-
Statement type: