Skip to main content

oaknut-codecs

PyPI version CI Python versions License: MIT

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 12.18.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oaknut-codecs 12.18.1
File Size Uploaded
oaknut_codecs-12.18.1.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oaknut-codecs 12.18.1
File Interpreter ABI Platform
oaknut_codecs-12.18.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / oaknut_codecs-12.18.1.tar.gz

Download URL oaknut_codecs-12.18.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce977ab890e64729e2b93364985b01938c0fa4fe12b1013247f4f38be3bf2c1e
BLAKE2b-256 checksum
How to use checksums
f0b8ef2de34f4cdea8ccc60d90036c7d7b1f5fd46603a798f2509db899b40de9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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-12.18.1-py3-none-any.whl

Download URL oaknut_codecs-12.18.1-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec9ec5f79d083059c4c0b23603ca1a56e948ff58ae61122ed2ee3004d3e8c28e
BLAKE2b-256 checksum
How to use checksums
e62d6506e1a162c4f654577a83a35f69a595c2b4e171ea878628e5db2ba5c795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page