Skip to main content

Manipulate Commodore file types

Project description

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

Project details


Download files

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

Source Distribution

cbmfiles-2.2.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

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

cbmfiles-2.2-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file cbmfiles-2.2.tar.gz.

File metadata

  • Download URL: cbmfiles-2.2.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for cbmfiles-2.2.tar.gz
Algorithm Hash digest
SHA256 0151bb70f31131c1da2ae7794d6fdbdd2b9e2bed4c072683b824f28461e482a8
MD5 25929e8e5b6f3c5939788b81d0c3fe0f
BLAKE2b-256 afcd4f4731ffac9ccf6e114cf49f085fd13b7dd4cf9d66177439c6bf2b9ce87e

See more details on using hashes here.

File details

Details for the file cbmfiles-2.2-py3-none-any.whl.

File metadata

  • Download URL: cbmfiles-2.2-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for cbmfiles-2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f295e4e1d239ff2b37ac3e93df021b7ca34ce95ffd8f46b3af8c922ef9bd3c0
MD5 6f58f80f7b2781d78c2dcf452965d298
BLAKE2b-256 56d03b3178a7459b25f8ae1635984a9a4b1348d916ad4e98f04d1393d35dc42f

See more details on using hashes here.

Supported by

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