Skip to main content

xfd

Unofficial Reader of Extended File Descriptors

install

pip install xfd

usage

import xfd

with open("data.xfd") as f:
    text = f.read()

xfd.read(text)
{
    "Identification Section": {
        "select-name": "PIZZAORDERS",
        "table-name": "PIZZAORDERS",
        "file-organization": "Indexed",
        "maximum-record-size": 248,
        "minimum-record-size": 248,
        "number-of-keys": 8,
        "sign-compatability": 0,
        "maximum-numeric-digits": 18,
        "period-character": ".",
        "comma-character": ",",
        "alphabet": "ASCII"
    },
    "Field Section": {
        "summary": {
            "elementary-items": 10,
            "elementary-items-with-occurs": 10,
            "total-items": 13,
            "total-items-with-occurs": 13
        },
        "fields": [
            {
                "field-offset": 0,
                "field-bytes": 112,
                "field-type": 16,
                "field-type-description": "Alphanumeric",
                "field-length": 112,
                "field-scale": 0,
                "field-user-flags": 0,
                "field-user-type": "no user type",
                "field-condition": 999,
                "field-condition-description": "field is technically a group item, which is a collection of multiple fields",
                "field-level": 1,
                "field-name": "PIZZA-REC"
            },
            {
                "field-offset": 0,
                "field-bytes": 2,
                "field-type": 16,
                "field-type-description": "Alphanumeric",
                "field-length": 2,
                "field-scale": 0,
                "field-user-flags": 0,
                "field-user-type": "no user type",
                "field-condition": 0,
                "field-condition-description": "field is in all the records",
                "field-level": 5,
                "field-name": "PIZZA-TYPE"
            },
            # ...
        ]
    }
}

references

Metadata

Release files for xfd 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xfd 0.0.0
File Size Uploaded Provenance Actions
xfd-0.0.0.tar.gz 7.2 kB Without provenance Details for xfd-0.0.0.tar.gz

Release files / xfd-0.0.0.tar.gz

Download URL xfd-0.0.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e12b191bd7d53dac559aacc0bb2fb29228ffbf0dc157d8ef08bbcebe99cc1933
BLAKE2b-256 checksum
How to use checksums
08919f3b534f16b1e87bfd71399a6e809fac5dffc0df5db827c37bc71ba00e69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for xfd 0.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page