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.
Part of the oaknut monorepo.
Installation
uv add oaknut-extension # or: pip install oaknut-extension
License
MIT — see LICENSE.
Metadata
Release files for oaknut-extension 13.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oaknut_extension-13.3.0.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_extension-13.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / oaknut_extension-13.3.0.tar.gz
| Download URL | oaknut_extension-13.3.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
720bb674dcf6dedec7f6b15cadf2eef7213185bed5f92c7ad3d7474f1dedbd21
|
|
BLAKE2b-256 checksum How to use checksums |
d95d3ffabde9933b82d85c0fa83d80952e7e1990ac319830273d345f9e1b5e40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|
Release files / oaknut_extension-13.3.0-py3-none-any.whl
| Download URL | oaknut_extension-13.3.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c254da065e885fdf41598dd7d31908372548e08c8e7118baff80abed7067eed0
|
|
BLAKE2b-256 checksum How to use checksums |
caef3c2115f4ae9df7c090d24dc90e9a6e616ffcf874f209493ee9205f77e6da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}
|