Skip to main content

Manipulate Commodore file types

Project description

cbmfiles

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 cbmfiles 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 PET, C16, C128
  • 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-1.2.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

cbmfiles-1.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cbmfiles-1.2.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.11

File hashes

Hashes for cbmfiles-1.2.tar.gz
Algorithm Hash digest
SHA256 121cfcee396426c938373044c534fb03dc6365342688ea76c28dfb2505e8d96f
MD5 e1a116aa50c1ca4f3da42de5654e6ccc
BLAKE2b-256 fa53d839fef18e035c0e9e9b89f8a570c3d311ec31993b41fd7f926ba128113b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cbmfiles-1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.11

File hashes

Hashes for cbmfiles-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5335835973ec80236f603549801536085d2ebc0a6c8bd93b95e4a48fcb69d1
MD5 36d6a9c6dba41f5b9672bd0bf7e6ef18
BLAKE2b-256 01fb37ad12fe7a4dca542f89d5d989c86f8819be9ec4bcd18e3a8079f5806219

See more details on using hashes here.

Provenance

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