{"categories":[{"label":"File Formats","url":"https://skillfed.io/packages/category/file-formats"}],"enrichment":{"capability":"Parses and generates tab-separated values (TSV) data with high performance, converting between TSV text files and Python objects with support for multiple data types including dates, UUIDs, decimals, and IP addresses.","skillfed_tags":["tsv-parsing","postgresql","bulk-data-transfer"],"use_cases":["Bulk import or export of data from PostgreSQL using the COPY command with text format.","High-speed parsing of large TSV files with mixed data types into Python objects.","Converting database query results into TSV for transfer to another system or database.","Generating TSV output from Python data structures for database ingestion.","Processing RFC 3339 timestamps and RFC 4122 UUIDs embedded in TSV records."],"what_it_does":"tsv2py is a native-code parser and generator for tab-separated values (TSV) data, optimized for bulk data transfer between Python and databases like PostgreSQL. It converts TSV records into Python tuples of typed objects\u2014supporting bytes, strings, integers, floats, booleans, dates, datetimes, UUIDs, decimals, IP addresses, and JSON structures\u2014and can generate TSV output from tuples. The implementation uses AVX2 SIMD instructions for date-time parsing, UUID parsing, and field delimiter detection, and calls C standard library functions for integer parsing and IP address validation.\n\nThe package is designed as a high-performance alternative to Python standard-library approaches for TSV handling, particularly for scenarios involving PostgreSQL COPY operations or bulk data import/export. It supports the PostgreSQL text format (a TSV variant with backslash-escaped special characters) and handles the full escape sequence set including NULL values, control characters, and backslashes. Prebuilt wheels are available for modern Python versions on macOS, Linux, Windows, and PyPy, reducing installation friction on common platforms.","worth_installing":"Yes, if you work with TSV data or PostgreSQL bulk operations and need performance beyond the standard library. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers prebuilt wheels for most platforms. Install friction is moderate but manageable; only consider it a blocker if you cannot install a C compiler on your target system."},"id":"tsv2py","links":{"html":"https://skillfed.io/packages/tsv2py","md":"https://skillfed.io/packages/tsv2py.md","pypi":"https://pypi.org/project/tsv2py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-26","license_spdx":null,"license_treatment":"permissive","name":"tsv2py","python_support":"supports_current","summary":"High-performance parser and generator for PostgreSQL-compatible tab-separated values (TSV)"},"popularity":{"monthly_downloads":94918,"position":13298,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.0"}
