jfiles
jfiles reads jBASE hashed files without jBASE. It understands the four
hashed file types of TAFC: J3, J4, JP and JR. It takes the type from the
first 8 bytes of the file, so one command works for all of them,
dictionaries (NAME]D) included.
It needs Python 3.8 or later and nothing else.
uvx jfiles show FBNK.CUSTOMER # every record, as a tree
uvx jfiles show FBNK.CUSTOMER 100112 # one record
uvx jfiles keys FBNK.CUSTOMER
uvx jfiles get FBNK.CUSTOMER 100112 > record.bin
uvx jfiles stat FBNK.CUSTOMER
| Command | Prints |
|---|---|
show FILE [KEY ...] |
records as trees of attributes, values and subvalues |
keys FILE |
the record keys, one on a line |
get FILE KEY |
one record body, as it is stored |
dump FILE |
every record: key in hex, length, body in hex |
stat FILE |
the file type and its header parameters |
show numbers the parts of a record as jBC does, so 3.2.1 is
REC<3,2,1>:
MULTI (17 bytes)
1: name
2:
2.1: a
2.2:
2.2.1: b1
2.2.2: b2
3: last
From Python
import jfiles
file = jfiles.open('FBNK.CUSTOMER')
for key, body in file.records():
attributes = body.split(b'\xfe')
print(file.read(b'100112'))
Keys and bodies are bytes. The marks are 0xfe between attributes, 0xfd
between values and 0xfc between subvalues.
What it was checked against
The formats were taken from the file drivers of TAFC PB201214 on x86-64
Linux. For each type, files were made by TAFC under scripted writes,
deletes and clears, and jfiles must list each one in the order of TAFC's
SELECT. For J4 and JR the same code also writes files, and they are the
same as TAFC's byte for byte.
Limits
- The command only reads. Do not read a file while jBASE is writing to it: jfiles takes no locks.
- Encrypted files and secondary indexes are not handled.
- UD files (a directory with one file for each record) are not hashed files and need no tool.
jfiles is part of jbcc, a jBC to C compiler. It is released under the MIT license.
Metadata
Release files for jfiles 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jfiles-0.1.0.tar.gz | 13.8 kB | With provenance | Details for jfiles-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jfiles-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for jfiles-0.1.0-py3-none-any.whl |
Total release size: 32.8 kB
Release files / jfiles-0.1.0.tar.gz
| Download URL | jfiles-0.1.0.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84f9b762f3fb1f812d7711650fb2d2e44052a867313bd2a3b608c6070db2fd75
|
|
BLAKE2b-256 checksum How to use checksums |
38449b9cce3e8a299d3b0b6a836605607615ba1fb871494aaf6ad9e46f9aa411
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logRelease files / jfiles-0.1.0-py3-none-any.whl
| Download URL | jfiles-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f43032b191287eece167c3b215ea5b00d8eeaa499455a5bfddfd508e1c3c0d8c
|
|
BLAKE2b-256 checksum How to use checksums |
644073c50b2fff78e341a2d16a530eaf7a04e2a61326626df2e0f848e9f4c320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logSecurity for jfiles 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for jfiles-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.