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 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.1.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

cbmfiles-2.1-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cbmfiles-2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3155b51c3d90c9b43239a878279577615cb837837ca492371c6d4cc832e551e4
MD5 ad643a0958f30bbcb22edf9eeecf35a5
BLAKE2b-256 88e61b63aea0e57ca6e7b7b5d459ec2dbb87ad35c70018b55a73ca9023dd768e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cbmfiles-2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95692c99923ed10bc065b41bf4c3c3fbf6d49801c880e9bb1f1ec0b2ab3de872
MD5 083d59dbd4b989881c53bf251240b066
BLAKE2b-256 003996064db7769029f689b706fed4dc7996192d1fef4dc498638637c716281d

See more details on using hashes here.

Supported by

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