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.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.1.0.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_extension-13.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / oaknut_extension-13.1.0.tar.gz
| Download URL | oaknut_extension-13.1.0.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95901fdedb214a15e20034175d917d4884ee5057b178868fbdf7a97f2b39ac17
|
|
BLAKE2b-256 checksum How to use checksums |
e4d5a3bd14c4b1cb4d870ad2b9a67ae89e505cd9da9edd9f138e4524e4f12ab3
|
| 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.0-py3-none-any.whl
| Download URL | oaknut_extension-13.1.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c99b844da1d7413ec30b62c6aeff7ef1c7b901c8029ad8c4ce76edf79db0437b
|
|
BLAKE2b-256 checksum How to use checksums |
27a28290fc60ff05eb43485e865ab3fb2d04fe76a59034edb9496f22bb4ee87f
|
| 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}
|