oaknut-codecs
Text codecs for Acorn computer character sets, part of the oaknut family of packages for working with Acorn computer filesystems, files, and formats.
This package provides a Python codec for the Acorn/BBC Micro character
set — a variant of ASCII in which &60 is the pound sign £ and &7C
is the broken bar ¦. Importing the package registers the codec under
the name "acorn", so it works with the standard str.encode /
bytes.decode machinery:
import oaknut.codecs # registers the "acorn" codec
"COST£100".encode("acorn") # b'COST\x60100'
b"COST\x60100".decode("acorn") # 'COST£100'
It is the dependency-free bottom layer of the workspace, alongside
oaknut-exception, so that language and file packages can share one
codec implementation without taking a dependency on each other.
Installation
uv add oaknut-codecs
License
MIT — see LICENSE.
Metadata
Release files for oaknut-codecs 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_codecs-13.3.1.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_codecs-13.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / oaknut_codecs-13.3.1.tar.gz
| Download URL | oaknut_codecs-13.3.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7d0bcc9de679e0a581ed7d7be041caacd2738dd056efc87ea777486f4751797
|
|
BLAKE2b-256 checksum How to use checksums |
a4abec9bd6dd5c899b8cace4f43f88b50fb4f6e4ce37da40a141e4d7d9953509
|
| 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_codecs-13.3.1-py3-none-any.whl
| Download URL | oaknut_codecs-13.3.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bb025e3f309a0a3fc01f550a9f29b255b0c477992afa0b76e5cd5fb85ef422f
|
|
BLAKE2b-256 checksum How to use checksums |
73b726e75dcd30edf88d625caba8b533253fdf36b119144f2897c1ec76bc888e
|
| 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}
|