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

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.4.0
File Size Uploaded Provenance Actions
graphcore_kernel-0.4.0.tar.gz 586.9 kB With provenance Details for graphcore_kernel-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / graphcore_kernel-0.4.0.tar.gz

Download URL graphcore_kernel-0.4.0.tar.gz
Size 586.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a45555bf80e3d47633b63e7ad25d8e49e51cc67a983cec4028f2ecbdaea88ed0
BLAKE2b-256 checksum
How to use checksums
49bf88b0c175270e44079185b96533de9a1da0c2cd47459810fdbfadd8c7b6a8
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 22, 2026.

Transparency log

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

Download URL graphcore_kernel-0.4.0-py3-none-any.whl
Size 752.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60baaba5af0c48a8138d62a9084c1a0f762a759e0a652fa6cf9bc785f198f1b0
BLAKE2b-256 checksum
How to use checksums
e73ad6f3b0534b586a615618236bc68e1fe1ca4554f599cd12306b101e18ef72
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 22, 2026.

Transparency log

Security for graphcore-kernel 0.4.0

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.4.0.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 22, 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