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

Uploaded Source

Built Distribution

cbmfiles-1.7-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cbmfiles-1.7.tar.gz
  • Upload date:
  • Size: 14.1 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.14

File hashes

Hashes for cbmfiles-1.7.tar.gz
Algorithm Hash digest
SHA256 ba402eaca08ff9cb242c13a8cb119bb801839f2d7443152ef8233c0d7b69c93f
MD5 61bb79ba708bd52e4c302cf5527fe156
BLAKE2b-256 b3c1065ba707084506d89f5be443a748a073fd29fdf40811592f9e3076c677e5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cbmfiles-1.7-py3-none-any.whl
  • Upload date:
  • Size: 15.7 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.14

File hashes

Hashes for cbmfiles-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 de996be867872f9fabb583a259ec99df947d2d85c7ddff1b895e5637fa52e709
MD5 44ad9354ffce16748af26d4b4877765a
BLAKE2b-256 c0e1a0dbb3bc22eda9597a6325aae01b48d27cf6b80863373aff2376ab4f7593

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