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.1.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.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oaknut_codecs-12.15.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2aae227a6e3e91745fde8d0247db13d98275dfd8d2ba1e8a782f60701e0fcceb
MD5 11088ff8bb20a4e358991a0283844f44
BLAKE2b-256 2e1337b4bcdcd2ba96e19d4d87dd4ea47eafc2c01314eb98a0fcb96f95e2b358

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oaknut_codecs-12.15.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 12b545ff115082884661891320b13c61069ba2a39ffbe688465826300c7b959a
MD5 1dc7ba0cb1abc383abb96a503a87f5c2
BLAKE2b-256 2a0c764162f32b4ca7520c973b12516eb26547f8542419096b15b307a867cfc9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

12.15.1 This release

2 files

12.15.0

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