{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Writes HTTP Archive (HAR) files in Python with zero external dependencies, supporting single-threaded entry recording without page grouping.","skillfed_tags":["har-format","http-testing"],"use_cases":["Record HTTP interactions during integration tests and save them as HAR files for analysis or replay","Generate HAR archives from captured network traffic in debugging or performance profiling workflows","Export request/response logs from a test suite in a standardized format for sharing with other tools"],"what_it_does":"harfile is a minimal, zero-dependency library for programmatically writing HTTP Archive (HAR) files in Python. It provides a context manager interface to build HAR files by adding individual HTTP request/response entries with timing data, suitable for recording network activity in test scenarios or debugging workflows.\n\nThe package is designed for single-threaded use and does not support HAR's page grouping feature. It accepts entries via a simple API that takes request, response, timing, and metadata objects, then serializes them to standard HAR format. With no external dependencies and support for modern Python versions (3.8 through 3.14), it integrates easily into testing and monitoring pipelines.","worth_installing":"Yes, for test and debugging workflows that need HAR output. The zero-dependency design, permissive license, and active maintenance make it a low-risk choice. The single-threaded constraint and lack of page support are acceptable trade-offs for most recording use cases; verify that your HAR field requirements match the library's scope before adopting."},"id":"harfile","links":{"html":"https://skillfed.io/packages/harfile","md":"https://skillfed.io/packages/harfile.md","pypi":"https://pypi.org/project/harfile/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-29","license_spdx":"MIT","license_treatment":"permissive","name":"harfile","python_support":"supports_current","summary":"Writer for HTTP Archive (HAR) files"},"popularity":{"monthly_downloads":2744639,"position":2909,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.0"}
