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.0.0.tar.gz (21.7 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.0.0-py3-none-any.whl (22.3 MB view details)

Uploaded Python 3

File details

Details for the file ccp4i2-3.0.0.tar.gz.

File metadata

  • Download URL: ccp4i2-3.0.0.tar.gz
  • Upload date:
  • Size: 21.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for ccp4i2-3.0.0.tar.gz
Algorithm Hash digest
SHA256 5a61043b0a1072c2be1f26bc9961ebae5711649b3fe73df66d0e6453b4cdbd08
MD5 fb7bff2a58f72022ec7d429164efa612
BLAKE2b-256 b886df3c6a3fbc0be32f36eb7e1f03356885579184738b6240bc11a9ba3ae9d5

See more details on using hashes here.

File details

Details for the file ccp4i2-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: ccp4i2-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for ccp4i2-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2616ca6866d6f009fd712f75ab3ae6be873726d8dd1e527e57fe8ff8999f1e9
MD5 ee10f7af47703b23e0d411f321ecdc06
BLAKE2b-256 aafd35e31cb291e194b38f9c554533449408fda30d6f2130cf82a524d9ade1a5

See more details on using hashes here.

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