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.3.tar.gz (23.0 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.3-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cbmfiles-2.3.tar.gz
Algorithm Hash digest
SHA256 e063dca12f23f3795770c80619ac61aa0b2c4f45349d13860efc0b42b316a073
MD5 0e1714d1a06ac7b695e5e3b49787e44a
BLAKE2b-256 53dbb9eb4c94cd9c74be7b979a2aa06752a4f69aa7c38a2428d95852462a524f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cbmfiles-2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e314cf78c7c480d070166d6dfd0f3e4caabff1f624e7af84e5ac7b00e8cebfb8
MD5 60ece07c21de71bdf998e54b6f0f5ee0
BLAKE2b-256 3b866ac934d2074f1815257f614d09228f6d9ca13356d48da50364cd263e4f20

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