mmcif-pdbx
Python utilities for PDBx/mmCIF storage model
What it is and what it does
mmcif-pdbx is a lightweight, pure-Python library for working with PDBx/mmCIF molecular structure files—the standard format used by the Protein Data Bank to store macromolecular structure data. It provides utilities to read and parse these files into Python objects, making structural biology data accessible without compiled dependencies.
The package is derived from the official mmCIF examples but prioritizes simplicity and PEP8 compliance over the feature completeness of the canonical py-mmcif package. It has no runtime dependencies, making it easy to integrate into projects that need basic mmCIF functionality. It is actively maintained and supports modern Python versions.
Use it for:
- Parse PDB structure files in mmCIF format for structural biology analysis pipelines.
- Extract molecular coordinates and metadata from PDBx files in research or educational contexts.
- Build lightweight bioinformatics tools that need mmCIF support without C/C++ acceleration overhead.
- Integrate mmCIF data handling into Python applications where dependency minimalism is important.
- Prototype or test structural data workflows before committing to a heavier framework.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a pure Python interface to read, parse, and work with PDBx/mmCIF molecular structure data files from the Protein Data Bank.
Yes, if you need basic mmCIF parsing in pure Python with no external dependencies. The permissive license, active maintenance, and support for current Python versions make it a low-risk choice. Choose the canonical py-mmcif package instead if you need advanced features or performance optimization for large-scale structure processing.
Install
mmcif-pdbx on PyPI
pip
pip install mmcif-pdbxuv
uv add mmcif-pdbxpoetry
poetry add mmcif-pdbxInstalling mmcif-pdbx
Before you install
Low friction installation with no runtime dependencies. Actively maintained with recent releases; supports current Python versions (3.10–3.13). Repository shows modest but steady activity.
License in practice
Licensed under CC0-1.0 (public domain equivalent), permissive treatment. No restrictions on use, modification, or redistribution for any purpose.
Quickstart
pip install mmcif-pdbx
import mmcif.io
reader = mmcif.io.PdbxReader('structure.cif')
reader.read()
Requires Python 3.10 or later.
Verify before relying
- Whether the package's API has stabilized since version 2.0 or if further breaking changes are expected.
- Performance characteristics when parsing large mmCIF files compared to the canonical py-mmcif package.
Package facts
| License | CC0-1.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 110 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 429,380/month — #6,739 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mmcif_pdbx-2.1.0-py3-none-any.whl
Tags
More Bio-Informatics packages
NetworkX provides data structures and…
permissive · top 1,000 on PyPI
biopythonBiopython provides Python tools for…
unclear · top 5,000 on PyPI
firecrawl-pyClient library for the Firecrawl API that…
permissive · top 5,000 on PyPI
intervaltreeA self-balancing interval tree data structure…
permissive · top 5,000 on PyPI
albumentationsAlbumentations applies image transformations to…
permissive · top 5,000 on PyPI
PubChemPyPubChemPy is a Python wrapper around the…
permissive · top 5,000 on PyPI
mmcifProvides native Python and C++ bindings to…
permissive · top 5,000 on PyPI
modelcifReads and writes mmCIF and BinaryCIF files…
permissive · top 15,000 on PyPI
pdb2pqrPDB2PQR prepares protein structures from PDB…
permissive · top 15,000 on PyPI
ihmReads and writes mmCIF and BinaryCIF files…
permissive · top 15,000 on PyPI
gemmiGemmi is a C++ library with Python bindings for…
copyleft · top 5,000 on PyPI
biotiteBiotite provides a unified Python library for…
permissive · top 5,000 on PyPI
mrcfilemrcfile reads and writes MRC2014 format files…
permissive · top 15,000 on PyPI
fastpdbfastpdb is a Rust-based drop-in replacement for…
permissive · top 15,000 on PyPI
pinderPinder provides access to a large…
permissive · top 15,000 on PyPI