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.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.4.1
File Size Uploaded Provenance Actions
graphcore_kernel-0.4.1.tar.gz 586.8 kB With provenance Details for graphcore_kernel-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / graphcore_kernel-0.4.1.tar.gz

Download URL graphcore_kernel-0.4.1.tar.gz
Size 586.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f63671a21c38cc48e4b94b972be10c41019730b8be89527140d048f63158991a
BLAKE2b-256 checksum
How to use checksums
e48c88862ea89afcfc27a1a36ff608f98f12971309aded0a5ce346813dd92dae
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.1-py3-none-any.whl

Download URL graphcore_kernel-0.4.1-py3-none-any.whl
Size 752.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2fc01fe31ec5bd762a83460d0c5d951c5ffa71a15e262a392bb81ea15aa20ea
BLAKE2b-256 checksum
How to use checksums
8e3836f13b7c788d5fdb94513e31952a99922c198efc7ff80f9728e37aacdf6d
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.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.4.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 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