Skip to main content

Entry-point plug-in framework shared by every extensible axis of the oaknut package family.

Project description

oaknut-extension

The entry-point plug-in framework shared by every extensible axis of the oaknut package family.

An axis is one extension point — a family of interchangeable plug-ins that all answer the same question. The primary axis is filesystems (each plug-in detects and operates on one disc format, in oaknut-filesystem); oaknut.command (CLI subcommands contributed by filesystem packages) is another.

Each axis declares a kind (a short identifier such as "filesystem"). Concrete extensions for that axis subclass Extension, override _kind(), and register themselves under the oaknut.<kind> entry-point namespace in their package's pyproject.toml:

[project.entry-points."oaknut.filesystem"]
acorn-dfs = "oaknut.dfs.filesystem:AcornDFS"

Consumers discover and load them through list_extensions(), create_extension(), and friends, which wrap stevedore. Because discovery is by installed entry point, a plug-in shipped by any package appears automatically — no central registry to edit.

This package is deliberately domain-agnostic: it knows nothing about discs, files, or formats. It depends only on oaknut-exception (for the shared error hierarchy) and stevedore.

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

oaknut_extension-12.6.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oaknut_extension-12.6.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file oaknut_extension-12.6.2.tar.gz.

File metadata

  • Download URL: oaknut_extension-12.6.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for oaknut_extension-12.6.2.tar.gz
Algorithm Hash digest
SHA256 4078efe3f23117c35bdb861eb08ed6fd89807a0ee9f71c7b3b0cacae281c8992
MD5 e76a7d4ea268fbf621a82a1d02a11520
BLAKE2b-256 f35e23f03259d6cfbeeaee7388a661c9b15f5f1f92bdf727e130ed77405f0b9a

See more details on using hashes here.

File details

Details for the file oaknut_extension-12.6.2-py3-none-any.whl.

File metadata

  • Download URL: oaknut_extension-12.6.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for oaknut_extension-12.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cad869e222ed7c6d6833b1fa2e8ad14930c93d70b11e4881adb15a3af0806d2b
MD5 f2cb3a7a665bd9819e2bdd8a10c450d9
BLAKE2b-256 4fd660df5dc97d9e88236c1ca478c5c5a193e0121812e26a17edc40ed137efb6

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