Skip to main content

graphcore-kernel (backend)

Installable Django package (distributed as graphcore-kernel; the import name stays graphcore). Pure platform library — entities, strategies, executor, transport, auth. No CLI, no process supervisor, no templates.

cd kernel/backend
python3.14 -m venv .venv
source .venv/bin/activate
pip install -e ".[redis,server]"

For CLI + scaffolding, install the local monorepo packages together (nothing is on PyPI yet):

# from local_dev/
pip install -e "graphcore/kernel/backend[redis,server]" \
            -e graphcore/distro/backend

Public surface

App authors import from graphcore.public.*; everything else under graphcore.* is internal and free to move.

from graphcore.public.apps import GraphCoreAppConfig
from graphcore.public.entities import Entity, register_entity
from graphcore.public.strategies import SetAttributes, Strategy, register_strategy
from graphcore.public.auth.policy import AccessPolicy
from graphcore.public.auth.perms import Read, Write

graphcore.public.apps is imported while Django populates the app registry, before models can be defined. graphcore.public is a namespace only, so that import does not pull in Entity.

Optional extras

Library-only installs of the kernel can omit these. The distro enables both by default; generated projects can still use LocMem or another cache in settings even when the Redis packages are installed.

Extra Adds Needed for
redis redis, django-redis, channels-redis Redis-backed cache + channel layer
server uvicorn[standard] ASGI serving

Tests

From the monorepo root, with the shared Postgres running (graphcore infra up):

scripts/test                        # every suite on Postgres, database-dependent suites on SQLite
scripts/test graphcore.persistence  # narrow to a test label, on every database

See .agents/skills/run-tests/SKILL.md for the options.

Metadata

Release files for graphcore-kernel 0.5.2

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

Source distribution (sdist)

Source distribution for graphcore-kernel 0.5.2
File Size Uploaded Provenance Actions
graphcore_kernel-0.5.2.tar.gz 594.6 kB With provenance Details for graphcore_kernel-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for graphcore-kernel 0.5.2
File Interpreter ABI Platform Actions
graphcore_kernel-0.5.2-py3-none-any.whl Python 3 none any Details for graphcore_kernel-0.5.2-py3-none-any.whl

Total release size: 1.4 MB

Release files / graphcore_kernel-0.5.2.tar.gz

Download URL graphcore_kernel-0.5.2.tar.gz
Size 594.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4b3fa348c409fec17a31c162bb5a9779819deb3c9243a60c36428d2bc8e8cd1f
BLAKE2b-256 checksum
How to use checksums
ab398dbe044d30e5173d42dc4ba46f26ffae022b983854aaa6ebad3882c1c586
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 Nov 24, 2026.

Transparency log

Release files / graphcore_kernel-0.5.2-py3-none-any.whl

Download URL graphcore_kernel-0.5.2-py3-none-any.whl
Size 760.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77f737bf953661ffdace987ee65b100dba3b9c6871795b3aba76dbc702f8ba6a
BLAKE2b-256 checksum
How to use checksums
24ad14500c27b83587cc5fe79a79ae73dd1f8fe0efd550024424ef3e9785db79
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 Nov 24, 2026.

Transparency log

Security for graphcore-kernel 0.5.2

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.

Select from 2 files

Attestation for graphcore_kernel-0.5.2.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 Nov 24, 2026.

Transparency log

A 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.

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