{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/8"}],"enrichment":{"capability":"Reads, writes, and manipulates TRX tractography files in Python, supporting conversion between TRX and other formats (TRK, TCK, VTK, FIB, DPY) with command-line tools for validation and concatenation.","skillfed_tags":["neuroimaging","tractography","file-format"],"use_cases":["Convert brain fiber tract data between TRX and legacy formats (TRK, TCK, VTK) in neuroimaging pipelines.","Validate TRX tractography files for data integrity before processing or sharing with collaborators.","Merge multiple tractography datasets into a single file using the concatenate command.","Inspect TRX file metadata, headers, groups, and archive contents via the CLI info command.","Integrate tractography I/O into Python-based neuroimaging analysis workflows."],"what_it_does":"trx-python is a Python library for working with TRX, a community-oriented file format for tractography data used in neuroimaging research. It provides both a programmatic API and a unified command-line interface for loading, saving, converting, validating, and concatenating tractography files. The library supports multiple input formats (TRX, TRK, TCK, VTK, FIB, DPY) and can export to any of these formats, making it useful for interoperability across neuroimaging pipelines.\n\nThe package depends on numpy for numerical operations, nibabel for neuroimaging file I/O, deepdiff for data comparison, and typer for CLI argument parsing. It uses memory-mapped files to handle large tractography datasets efficiently without loading entire files into RAM. The project is actively maintained, supports Python 3.11\u20133.13, and is licensed under the permissive BSD License.","worth_installing":"Yes. trx-python is worth installing if you work with tractography data in neuroimaging. It has low install friction, active maintenance, no known vulnerabilities, a permissive license, and fills a clear need for TRX format support. The CLI tools are convenient for one-off conversions and validation; the Python API integrates well into larger pipelines. The Alpha status reflects the format's maturity, not instability."},"id":"trx-python","links":{"html":"https://skillfed.io/packages/trx-python","md":"https://skillfed.io/packages/trx-python.md","pypi":"https://pypi.org/project/trx-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-05","license_spdx":null,"license_treatment":"permissive","name":"trx-python","python_support":"supports_current","summary":"A community-oriented file format for tractography"},"popularity":{"monthly_downloads":100126,"position":13000,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
