CCP4i2 - Graphical interface and scripting environment for CCP4
Project description
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.
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 ccp4i2-3.1.0a19.tar.gz.
File metadata
- Download URL: ccp4i2-3.1.0a19.tar.gz
- Upload date:
- Size: 21.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
967d4b0d7996306e9f9feb6eecc44f3ef0d3e0d521fcc390a62bee3d3066358b
|
|
| MD5 |
d518bdfa064d5c7ec0c1617b300c6abd
|
|
| BLAKE2b-256 |
2dbed55ed2062bb471ab87a67cbff328b97332af67566db48b4a483fa611a3b2
|
Provenance
The following attestation bundles were made for ccp4i2-3.1.0a19.tar.gz:
Publisher:
release.yml on ccp4/ccp4i2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccp4i2-3.1.0a19.tar.gz -
Subject digest:
967d4b0d7996306e9f9feb6eecc44f3ef0d3e0d521fcc390a62bee3d3066358b - Sigstore transparency entry: 2217643875
- Sigstore integration time:
-
Permalink:
ccp4/ccp4i2@073fdb31ab9ca7c697cb392b01a9b0513c629a0a -
Branch / Tag:
refs/tags/v3.1.0a19 - Owner: https://github.com/ccp4
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@073fdb31ab9ca7c697cb392b01a9b0513c629a0a -
Trigger Event:
push
-
Statement type:
File details
Details for the file ccp4i2-3.1.0a19-py3-none-any.whl.
File metadata
- Download URL: ccp4i2-3.1.0a19-py3-none-any.whl
- Upload date:
- Size: 22.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7996e88402488803d64f2ab1e30f270f124222f135183f1b9e5f5cf2b982608b
|
|
| MD5 |
82dfde7e16f306b7f534d9070bfc4127
|
|
| BLAKE2b-256 |
b8e2e78a38d86bbed6a9a7733551a9c829deff5b01ea4638c3799a5de13a43c8
|
Provenance
The following attestation bundles were made for ccp4i2-3.1.0a19-py3-none-any.whl:
Publisher:
release.yml on ccp4/ccp4i2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccp4i2-3.1.0a19-py3-none-any.whl -
Subject digest:
7996e88402488803d64f2ab1e30f270f124222f135183f1b9e5f5cf2b982608b - Sigstore transparency entry: 2217643982
- Sigstore integration time:
-
Permalink:
ccp4/ccp4i2@073fdb31ab9ca7c697cb392b01a9b0513c629a0a -
Branch / Tag:
refs/tags/v3.1.0a19 - Owner: https://github.com/ccp4
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@073fdb31ab9ca7c697cb392b01a9b0513c629a0a -
Trigger Event:
push
-
Statement type: