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.1.2
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.1.2.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_extension-13.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / oaknut_extension-13.1.2.tar.gz
| Download URL | oaknut_extension-13.1.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef81a589a6f3d291d0ec19e8e5cf242a69ca45448668f564ce3cb5744fbc87b7
|
|
BLAKE2b-256 checksum How to use checksums |
d2422928836ec8cd5ab7f0e1b614030de64375cf3036e78043947a00298554c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","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.1.2-py3-none-any.whl
| Download URL | oaknut_extension-13.1.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9a7ea3ef45a50e4a401fd4e315ab4c0066ada7ab0d1e7ce05a440e1077164b2
|
|
BLAKE2b-256 checksum How to use checksums |
1da8fd4b69eefb9788c8962c141954b2a6137b723fc0310fbb32ed02f921687f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","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}
|