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

Uploaded Source

Built Distribution

cbmfiles-1.5-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cbmfiles-1.5.tar.gz
  • Upload date:
  • Size: 12.7 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.5.tar.gz
Algorithm Hash digest
SHA256 aa35e68c15fedced9c2b4486fb61f1df4c384c1f722efea8e39f71a5526c258b
MD5 09a84eb5d1daf52a1563dc3b0089cd72
BLAKE2b-256 08dd3f758914c29c15b1ebb0a4a78093ee2b311839dd1154a1e37db34ad913b6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: cbmfiles-1.5-py3-none-any.whl
  • Upload date:
  • Size: 13.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.11

File hashes

Hashes for cbmfiles-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b3477ee26ef10b174b4c7db3bf5daade0b6f43eefa83789e5e20c3306e5a3ed7
MD5 be3155a828680f130aef4ab662cd5ffd
BLAKE2b-256 ce930949bd78afecac56e8a053a534d45bd6548c6990b80c2a7b3b6dcab064a5

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