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
Release history Release notifications | RSS feed
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.6.tar.gz
(12.7 kB
view details)
Built Distribution
cbmfiles-1.6-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file cbmfiles-1.6.tar.gz
.
File metadata
- Download URL: cbmfiles-1.6.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd15708b0f77691822439e2945f9b1a64c3fc621e0d020e4cb27320c04c788f |
|
MD5 | e015553d6916c7c8e35cdd5eb4ea6397 |
|
BLAKE2b-256 | c1d40a632cad3009028b8c2337c4f7ec56b4652306dd48d1a0115b9593b9f082 |
Provenance
File details
Details for the file cbmfiles-1.6-py3-none-any.whl
.
File metadata
- Download URL: cbmfiles-1.6-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b579311c9ea337484f33a8d50d21f1892147861a9ddec7aa4d7211f7cd1d2731 |
|
MD5 | 13755f32524fd156fa378530c0191253 |
|
BLAKE2b-256 | d7e81c87ef0bfa4ddbeff90951de0c5414efeb2bb1d64f22988ea39ad686d58e |