Skip to main content

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.

Notedemo_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

Licence

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

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

ccp4i2-3.1.0a12.tar.gz (21.8 MB view details)

Uploaded Source

Built Distribution

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

ccp4i2-3.1.0a12-py3-none-any.whl (22.4 MB view details)

Uploaded Python 3

File details

Details for the file ccp4i2-3.1.0a12.tar.gz.

File metadata

  • Download URL: ccp4i2-3.1.0a12.tar.gz
  • Upload date:
  • Size: 21.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ccp4i2-3.1.0a12.tar.gz
Algorithm Hash digest
SHA256 902a896dfbeae231d8b0279dc84044dc37e076b4ccb21d9e70eceb27430e3836
MD5 b5d2c08c58aa1d8bb644b38398f0cfb2
BLAKE2b-256 39a6c53150aad04dc313cf33afb54d44d26c26a4426f510adb3a278bfdf96b0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccp4i2-3.1.0a12.tar.gz:

Publisher: release.yml on ccp4/ccp4i2

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

File details

Details for the file ccp4i2-3.1.0a12-py3-none-any.whl.

File metadata

  • Download URL: ccp4i2-3.1.0a12-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.12

File hashes

Hashes for ccp4i2-3.1.0a12-py3-none-any.whl
Algorithm Hash digest
SHA256 37d01dc3da4a29e627dd0f9cd900eb4602044dff9402391cb6e578083bfe5cf9
MD5 1eefb21e659479f0889481ecc810c406
BLAKE2b-256 ff1f64204d20979fe52426f33495db8b2155f738b4e492c2a6c64752c366ef3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccp4i2-3.1.0a12-py3-none-any.whl:

Publisher: release.yml on ccp4/ccp4i2

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