Skip to main content
Pre-release

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

Licence

LGPL-3.0. See the repository for full licensing details.

Release files for ccp4i2 3.1.0a25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ccp4i2 3.1.0a25
File Size Uploaded
ccp4i2-3.1.0a25.tar.gz 21.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ccp4i2 3.1.0a25
File Interpreter ABI Platform
ccp4i2-3.1.0a25-py3-none-any.whl Python 3 none any Details

Total release size: 44.3 MB

Release files / ccp4i2-3.1.0a25.tar.gz

Download URL ccp4i2-3.1.0a25.tar.gz
Size 21.9 MB
Tags Source
SHA-256 checksum
How to use checksums
cdd42b7dcd0ec36301010e8a0e00b1c76702d295d403a6fa59f33d74db383f90
BLAKE2b-256 checksum
How to use checksums
25423683db3955842f460b21f4893f13afdfff1857004cf3f7ea021c01337793
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 24, 2026.

Transparency log

Release files / ccp4i2-3.1.0a25-py3-none-any.whl

Download URL ccp4i2-3.1.0a25-py3-none-any.whl
Size 22.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e9ebad665cd06d8aed42595196d5d165f2cd655bec3b5019667f1f9d7609c4e6
BLAKE2b-256 checksum
How to use checksums
e94fbf9efa34b01b9f82fe3abfc2027374b50774f2858a127594ea78cded330e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.1.0a25 This release

2 release files

3.0.1

2 release files

3.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page