Skip to main content

This Python module enables access to various types of file formats used by Commodore microcomputers.

It provides classes to translate BASIC and binary program files between their native format and standard text files.

Examples

Classes reside in the cbm_files module, the whole module may be imported or just those definitions referenced by the user.

List the contents of a BASIC file

from cbm_files import BASICFile

with open('example.prg', 'rb') as f:
    prog = BASICFile(f)

for line in prog.to_text():
    print(line)

TODO

  • detailed documentation

  • support more BASIC variants

  • more examples

Metadata

Release files for cbmfiles 2.3

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

Source distribution (sdist)

Source distribution for cbmfiles 2.3
File Size Uploaded Provenance Actions
cbmfiles-2.3.tar.gz 23.0 kB Without provenance Details for cbmfiles-2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cbmfiles 2.3
File Interpreter ABI Platform Actions
cbmfiles-2.3-py3-none-any.whl Python 3 none any Details for cbmfiles-2.3-py3-none-any.whl

Total release size: 47.8 kB

Release files / cbmfiles-2.3.tar.gz

Download URL cbmfiles-2.3.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e063dca12f23f3795770c80619ac61aa0b2c4f45349d13860efc0b42b316a073
BLAKE2b-256 checksum
How to use checksums
53dbb9eb4c94cd9c74be7b979a2aa06752a4f69aa7c38a2428d95852462a524f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.11

Release files / cbmfiles-2.3-py3-none-any.whl

Download URL cbmfiles-2.3-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e314cf78c7c480d070166d6dfd0f3e4caabff1f624e7af84e5ac7b00e8cebfb8
BLAKE2b-256 checksum
How to use checksums
3b866ac934d2074f1815257f614d09228f6d9ca13356d48da50364cd263e4f20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.11

Security for cbmfiles 2.3

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