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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oaknut_codecs-12.15.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oaknut_codecs-12.15.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file oaknut_codecs-12.15.0.tar.gz.

File metadata

  • Download URL: oaknut_codecs-12.15.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for oaknut_codecs-12.15.0.tar.gz
Algorithm Hash digest
SHA256 6a21556020d7c8bf29b1c51d307e602b973e54573217b0e6b84fbbcd6a39026f
MD5 5d698976df8737025e3a9085525942fc
BLAKE2b-256 872bbfc06c2edacc47101118f30c9e662d028af7324e2b57ce915822d8aab07a

See more details on using hashes here.

File details

Details for the file oaknut_codecs-12.15.0-py3-none-any.whl.

File metadata

  • Download URL: oaknut_codecs-12.15.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for oaknut_codecs-12.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40a83d31f5d4817527f7adf9210f83a73992264c69f0c5b5ad6647c79a08d20b
MD5 3ac90f9d3390205d51993cdf725fcf41
BLAKE2b-256 e50b889b1d9f70dda8bbcca73a8c35a6a69cdfd0b9f1ab4b49cdd5e827335835

See more details on using hashes here.

Release history Release notifications | RSS feed

12.15.1

2 files

This release

12.15.0 This release

2 files

12.14.1

2 files

12.14.0

2 files

12.13.1

2 files

12.12.0

2 files

12.11.0

2 files

12.10.1

2 files

12.10.0

2 files

12.9.0

2 files

12.8.2

2 files

12.8.1

2 files

12.8.0

2 files

12.7.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page