CD Index 2 Parser
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/cdindex-parser/
Features
- Parses file and directory structures from
.IDXand.FILEpairs - 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 cdindex-parser
Parse a pair of .IDX/.FILE files into CSV:
cdindex-parser mydisk results.csv
Or parse into JSON:
cdindex-parser mydisk results.json --format json
Use it as a Python library:
from cdindex_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 cdindex-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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cdindex_parser-1.0.0.tar.gz | 15.4 kB | With provenance | Details for cdindex_parser-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cdindex_parser-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for cdindex_parser-1.0.0-py3-none-any.whl |
Total release size: 26.7 kB
Release files / cdindex_parser-1.0.0.tar.gz
| Download URL | cdindex_parser-1.0.0.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b39fdc50ccee5ff628ac63bfe11bfd91b3f65596abdac09ed04854d1ac4fa02a
|
|
BLAKE2b-256 checksum How to use checksums |
22bc1b6ad13bffd34ecf0506670f214344d0fe2944da4a815e3cfcb6fce566eb
|
| 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 logRelease files / cdindex_parser-1.0.0-py3-none-any.whl
| Download URL | cdindex_parser-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
243ccdf08f362700ef60a67df687e69199b6edb226802addd4e3d699e393ae36
|
|
BLAKE2b-256 checksum How to use checksums |
c3f21ad255d92ec98a325c47991970322cffcd49c76369cfe8c992681d01ad85
|
| 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 logSecurity for cdindex-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.
Attestation for cdindex_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 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.