Skip to main content

CD Index 2 Parser

codecov CI PyPI Python Versions License: MIT Ask DeepWiki

CD Index 2 Parser converts legacy *.IDX and *.FILE files from CD Index 2 (光碟索引大師) into modern CSV/JSON formats, preserving the full file tree structure, sizes, and modification timestamps.

This tool is for anyone who has old CD/DVD index catalogs from this popular legacy software and wants to access them with modern tools.

📖 Full Documentation: https://chriskyfung.github.io/cdindex2-parser/


Features

  • Parses file and directory structures from .IDX and .FILE pairs
  • Correctly decodes the 32-bit MS-DOS FAT timestamps
  • Reconstructs full file paths from tab-indented tree structures
  • Outputs clean CSV or JSON
  • Supports encodings like UTF-16, Big5, and CP950 for Traditional Chinese file names
  • Zero runtime dependencies — pure Python standard library
  • Typed API with frozen dataclasses — importable as a library

Quick Start

Install from PyPI:

pip install cdindex2-parser

Parse a pair of .IDX/.FILE files into CSV:

cdindex2-parser mydisk results.csv

Or parse into JSON:

cdindex2-parser mydisk results.json --format json

Use it as a Python library:

from cdindex2_parser import parse_catalog

catalog = parse_catalog("mydisk.IDX", encoding="utf-16")
for entry in catalog:
    print(f"{entry.path}  is_dir={entry.is_dir}  size={entry.size_bytes}")

📖 Documentation

Document Link
Installation Docs › Installation
Usage Docs › Usage
File Format Docs › File Format
API Reference Docs › API Reference
Troubleshooting Docs › Troubleshooting

License

MIT License. See LICENSE for details.

Metadata

Release files for cdindex2-parser 1.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 cdindex2-parser 1.0.0
File Size Uploaded Provenance Actions
cdindex2_parser-1.0.0.tar.gz 15.5 kB With provenance Details for cdindex2_parser-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdindex2-parser 1.0.0
File Interpreter ABI Platform Actions
cdindex2_parser-1.0.0-py3-none-any.whl Python 3 none any Details for cdindex2_parser-1.0.0-py3-none-any.whl

Total release size: 27.0 kB

Release files / cdindex2_parser-1.0.0.tar.gz

Download URL cdindex2_parser-1.0.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
63e14c5234a75e863b6ba66178912850b293e7cf500a1d5db3f3d7c98d716b58
BLAKE2b-256 checksum
How to use checksums
89c29d66d650a070ba1ec115147503f61ff122a2a077869dcb6306f9977c141d
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 Nov 24, 2026.

Transparency log

Release files / cdindex2_parser-1.0.0-py3-none-any.whl

Download URL cdindex2_parser-1.0.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e53c181b1dd9de3cf29518dc7720a16c211276e0170443a9a0a82cb0fe145bf3
BLAKE2b-256 checksum
How to use checksums
56a36261779eac4dc54af70b683205baa2dad059c56074a796a489eec2dcf194
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 Nov 24, 2026.

Transparency log

Security for cdindex2-parser 1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cdindex2_parser-1.0.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 Nov 24, 2026.

Transparency log

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

1.0.0 This release

2 release files Full 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