Skip to main content

petscii-codecs

The petscii-codecs package provides encodings to represent data from Commodore 8-bit systems. These computers used a modified form of ASCII, commonly called PETSCII, which contains graphic symbols as well as control codes.

Codecs for the following systems are available:

  • PET 2001

  • later PETs

  • VIC-1001

  • VIC-20

  • C64

  • C16

  • Plus4

  • C128 (40 and 80 column modes)

Each system has two codecs, typically one for uppercase and graphics, one for lowercase and uppercase. The exception is the VIC-1001 which has a katakana codec instead of the lowercase and uppercase one.

Usage

Codecs are used in the same way as other encodings:

import petscii_codecs

with open('example.seq', encoding='petscii_c64en_lc') as f:
    for line in f:
        print(line)

Metadata

Release files for petscii-codecs 2.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 petscii-codecs 2.1
File Size Uploaded Provenance Actions
petscii-codecs-2.1.tar.gz 39.8 kB Without provenance Details for petscii-codecs-2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for petscii-codecs 2.1
File Interpreter ABI Platform Actions
petscii_codecs-2.1-py3-none-any.whl Python 3 none any Details for petscii_codecs-2.1-py3-none-any.whl

Total release size: 120.0 kB

Release files / petscii-codecs-2.1.tar.gz

Download URL petscii-codecs-2.1.tar.gz
Size 39.8 kB
Tags Source
SHA-256 checksum
How to use checksums
94e11559d7030823764b096ac0c785637c8c9c6a529a58bc7815fcb038e0bd97
BLAKE2b-256 checksum
How to use checksums
6a7453ed606d82e859a5d4d10ab023f4e81edfb146f34038ad506a9728b7c604
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / petscii_codecs-2.1-py3-none-any.whl

Download URL petscii_codecs-2.1-py3-none-any.whl
Size 80.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a79b43311d1398e4d6172820ec416661abc39130d8701657bbfb2cb45baaa22
BLAKE2b-256 checksum
How to use checksums
3fb5576324378f1dfdad69020c172b5a2b2b177ba586774893b11e5371aa3bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for petscii-codecs 2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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