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