Skip to main content

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)
  • CLIchemdb command 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chemdb_common-0.2.2.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chemdb_common-0.2.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

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

Hashes for chemdb_common-0.2.2.tar.gz
Algorithm Hash digest
SHA256 0e363eef152ace00ad3751e67e47d2836a5e91212d691a25b89fd81cea55bb71
MD5 769a2ccaf3e1c18026620506964f44f5
BLAKE2b-256 20ef168a7c0f162fd22eb2bebcb311f1ed10c2cc3ad5c07148ca34fdb3c2e563

See more details on using hashes here.

Provenance

The following attestation bundles were made for chemdb_common-0.2.2.tar.gz:

Publisher: publish.yml on retospect/chemdb-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for chemdb_common-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d68c412d76fa9c04da279a6c1c16317953de701b20a5804b23b1a17631cad53
MD5 df6534aa3b50babbfb9812a9ba90b437
BLAKE2b-256 50cea9716e1f0ecb022d24ea5126976da5b434e37ee903b86b4726d9e7a12a33

See more details on using hashes here.

Provenance

The following attestation bundles were made for chemdb_common-0.2.2-py3-none-any.whl:

Publisher: publish.yml on retospect/chemdb-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page