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

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.1
File Size Uploaded Provenance Actions
graphcore_kernel-0.5.1.tar.gz 593.6 kB With provenance Details for graphcore_kernel-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.4 MB

Release files / graphcore_kernel-0.5.1.tar.gz

Download URL graphcore_kernel-0.5.1.tar.gz
Size 593.6 kB
Tags Source
SHA-256 checksum
How to use checksums
63c289d2f66c5e0c7468438324246047ec2e85f4306683dd6f6a97ab927e69de
BLAKE2b-256 checksum
How to use checksums
dc78e5c27fc0ca8aaaa7760731900733a455c47088576ac9ed33d235a73916b7
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 23, 2026.

Transparency log

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

Download URL graphcore_kernel-0.5.1-py3-none-any.whl
Size 759.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
685cee3be0af7b5200958d3896dec4b05543a9c5e0d3a90b03b9c8db7b17a7d9
BLAKE2b-256 checksum
How to use checksums
e96c293478907f2cbe396ca14a7765eccb5c04ecfa6959bf9a53a7db362bd333
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 23, 2026.

Transparency log

Security for graphcore-kernel 0.5.1

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.1.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 23, 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