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.0.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_codecs-13.0.0.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oaknut_codecs-13.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / oaknut_codecs-13.0.0.tar.gz
| Download URL | oaknut_codecs-13.0.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b29ed4645ce010a84e32c15b615af9eaaf79a047e0fc55adeaa8dbb3dc6cefe
|
|
BLAKE2b-256 checksum How to use checksums |
0945947d451beac14fb1b6d5f1981752a922602ec61c6dff8945749e66241f74
|
| 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_codecs-13.0.0-py3-none-any.whl
| Download URL | oaknut_codecs-13.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15a5dc39960b2e5ef741e2ddf1f670781696e6ff1648d2ac529c6af6eaf3df6c
|
|
BLAKE2b-256 checksum How to use checksums |
f374dd2c4ca8a832b3b79c98b18f2c2f5c68fbb509b65995bfd916ff6aadf01c
|
| 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}
|