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

Uploaded Source

Built Distribution

cbmfiles-1.8-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cbmfiles-1.8.tar.gz
  • Upload date:
  • Size: 15.0 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.8.tar.gz
Algorithm Hash digest
SHA256 4b683ad9e5426ad83b2339cf092705b44b3d7d67fcf0f8490dc685b037f6a950
MD5 3e061cc68576216c04295d3e756ebb20
BLAKE2b-256 24b634d6d45356784bb82a1167f9a5545ff3eb517ee74e09d1bb3512d13ab769

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for cbmfiles-1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 78940a44555a21181a357d527c48a4b3776dff3901202ae6e7ac8827765152a5
MD5 f723b9b2e1308d98554415ace5f4bb00
BLAKE2b-256 0a755f8e476bcea530910a65dba0ddf8cd09cd44d9b08b7565fd91f3f770affa

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