This release is a pre-release and may not be stable for production use.
ccp4i2
ccp4i2 is the Python backend of CCP4i2 — the graphical interface and scripting environment for the CCP4 macromolecular crystallography suite. This is the Django/Qt-free generation of CCP4i2: a REST API, a task/pipeline framework, and the data-management core that drive the CCP4i2 desktop (Electron/React) and web deployments.
CCP4-free control plane
The control plane — the REST API, task configuration, parameter validation, and the container/digest machinery — imports and runs on a stock Python with no CCP4 installation. Only actual job execution (running Refmac, Phaser, Servalcat, …) needs the full CCP4 suite, and that always happens out-of-process on a CCP4-bearing worker.
In practice that means you can pip install ccp4i2 into a plain virtual
environment to configure and validate tasks, serve the API, and drive the
frontend; the crystallographic binaries and their toolkits (clipper, iotbx,
mmtbx, ccp4mg, phaser, dials, xia2, …) are supplied by CCP4 at execution time and
are deliberately not pip dependencies.
Installation
pip install ccp4i2
Optional extras:
pip install ccp4i2[science] # rdkit, scipy, pandas — fuller local execution
pip install ccp4i2[dev] # test/lint toolchain (pytest, mypy, black, …)
ccp4i2 depends on the shared
ccp4i2-api library (authentication +
DRF integration), which is installed automatically.
Note —
demo_data(the ~400 MB of example datasets used by the test/demo workflows) is not bundled in the package; it is distributed out-of-band.
Running
export DJANGO_SETTINGS_MODULE=ccp4i2.config.settings
# i2run — run a task from the command line
i2run <task> --project_name <proj> [--PARAM value ...]
# development server
python -m uvicorn ccp4i2.config.asgi:application
Links
- CCP4: https://www.ccp4.ac.uk/
- Source: https://github.com/ccp4/ccp4i2
- Documentation: https://www.ccp4.ac.uk/html/INDEX.html
Licence
LGPL-3.0. See the repository for full licensing details.
Metadata
Release files for ccp4i2 3.1.0a107
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ccp4i2-3.1.0a107.tar.gz | 22.6 MB | With provenance | Details for ccp4i2-3.1.0a107.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ccp4i2-3.1.0a107-py3-none-any.whl | Python 3 | none | any | Details for ccp4i2-3.1.0a107-py3-none-any.whl |
Total release size: 45.8 MB
Release files / ccp4i2-3.1.0a107.tar.gz
| Download URL | ccp4i2-3.1.0a107.tar.gz |
|---|---|
| Size | 22.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2c29e7f0031929ddf3ad6aee36d462d56bce15d5969d49c49e3bb025533ffa0
|
|
BLAKE2b-256 checksum How to use checksums |
ca2dbe10dae80a351c71344e04cd129fe6ef4d82d7216d89fb1307e1793adca0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / ccp4i2-3.1.0a107-py3-none-any.whl
| Download URL | ccp4i2-3.1.0a107-py3-none-any.whl |
|---|---|
| Size | 23.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fd91dedb4461d8da569a1d91d68d2a99335b235298122a69014b80c5c4df2bf
|
|
BLAKE2b-256 checksum How to use checksums |
e1f22ff58de0b61318135023cf2ec2fe5fc7134130e66d4458cd89bf844dbf23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logSecurity for ccp4i2 3.1.0a107
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ccp4i2-3.1.0a107.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.