{"id":15718428,"url":"https://github.com/justintime50/vcrpy-bincon","last_synced_at":"2026-01-21T08:12:36.601Z","repository":{"id":227511184,"uuid":"771623532","full_name":"Justintime50/vcrpy-bincon","owner":"Justintime50","description":"Convert binary Python VCR cassette responses to human-readable strings.","archived":false,"fork":false,"pushed_at":"2026-01-17T23:04:29.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-18T11:59:47.807Z","etag":null,"topics":["binary","cassette","human-readable","vcr","vcrpy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Justintime50.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["Justintime50"]}},"created_at":"2024-03-13T16:34:21.000Z","updated_at":"2026-01-17T23:04:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"3afd5291-b23a-4b27-a434-7b06e2a9b6dc","html_url":"https://github.com/Justintime50/vcrpy-bincon","commit_stats":null,"previous_names":["justintime50/vcrpy-bincon"],"tags_count":4,"template":false,"template_full_name":"Justintime50/python-template","purl":"pkg:github/Justintime50/vcrpy-bincon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fvcrpy-bincon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fvcrpy-bincon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fvcrpy-bincon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fvcrpy-bincon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Justintime50","download_url":"https://codeload.github.com/Justintime50/vcrpy-bincon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Justintime50%2Fvcrpy-bincon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28629924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binary","cassette","human-readable","vcr","vcrpy"],"created_at":"2024-10-03T21:53:02.975Z","updated_at":"2026-01-21T08:12:36.596Z","avatar_url":"https://github.com/Justintime50.png","language":"Python","funding_links":["https://github.com/sponsors/Justintime50"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# VCRPY Binary Converter\n\nConvert binary Python VCR cassette responses to human-readable strings.\n\n[![Build Status](https://github.com/Justintime50/vcrpy-bincon/workflows/build/badge.svg)](https://github.com/Justintime50/vcrpy-bincon/actions)\n[![Coverage Status](https://img.shields.io/codecov/c/github/justintime50/vcrpy-bincon)](https://app.codecov.io/github/Justintime50/vcrpy-bincon)\n[![PyPi](https://img.shields.io/pypi/v/vcrpy-bincon)](https://pypi.org/project/vcrpy-bincon)\n[![Licence](https://img.shields.io/github/license/Justintime50/vcrpy-bincon)](LICENSE)\n\n\u003cimg src=\"https://raw.githubusercontent.com/justintime50/assets/main/src/vcrpy-bincon/showcase.png\" alt=\"Showcase\"\u003e\n\n\u003c/div\u003e\n\nVCR cassette responses often get saved as binary instead of a human-readable string. This makes inspecting the content difficult and depending on the VCR configuration, cassette matching impossible. This tool takes in a cassette directory and converts all binary response interactions to a human-readable string before dumping the yaml back to the cassette file. This allows for devs to properly inspect their cassette content while retaining all the original data - super useful if switching your VCR config from binary to strings.\n\n```yaml\n# Takes something like the following from a vcrpy cassette:\ninteractions:\n  response:\n    body:\n      string: !!binary |\n        H4sIAAAAAAAAA4yRT0vEMBDFv0rJ1RaS/rc3xYJCVxZ3XfBUps0UI21a0lTUZb+7k0ovnvY4j997\n        byY5MyVZwUCaOm8kZEkEaZwJIRChyXIedk2eAEb8VjCfjc0Htpb4OykNzjNJrUGwKGtwcsjDKBA8\n        4OlRZEWSFFF0w3nBOYHLJK8DNQxISFmdng6uYBwm0N+s0Evf+2y2BtEKAqIsjb2V8vYv5aEq37z7\n        6vTANiYkxvmVJTPblbv94xo4W9qDlOMzDT9qclG5EGkQC56uhYu2xnleHT69jxq3dhxA9dswjNLl\n        TGaUS2vVqJ0ZjFFo6g5a1a/Nfyy9lpKorQKyW7OgzzqUaKCvLXzV7hO2+2i7f9onGtWpFlzHzIrz\n        5fILAAD//wMAxbg+BbcBAAA=\n\n# And turns it into this:\ninteractions:\n  response:\n    body:\n      string: '{\"id\": \"adr_8bda753a647111eeab7802fb85ae3091\", \"object\": \"Address\",\n        \"created_at\": \"2023-10-06T17:55:33+00:00\", \"updated_at\": \"2023-10-06T17:55:33+00:00\",\n        \"name\": \"ELVIS\", \"company\": null, \"street1\": \"3764 ELVIS PRESLEY BLVD\", \"street2\":\n        \"\", \"city\": \"MEMPHIS\", \"state\": \"TN\", \"zip\": \"38116-4106\", \"country\": \"US\",\n        \"phone\": null, \"email\": null, \"mode\": \"production\", \"carrier_facility\": null,\n        \"residential\": true, \"federal_tax_id\": null, \"state_tax_id\": null, \"verifications\":\n        {}}'\n```\n\n## Install\n\n```bash\n# Homebrew install\nbrew tap justintime50/formulas\nbrew install vcrpy-bincon\n\n# Pip install\npip3 install vcrpy-bincon\n\n# Install locally\njust install\n```\n\n## Usage\n\n```bash\n# Specify the directory where your cassette files live as the first param\nvcrpy-bincon tests/cassettes\n```\n\n### Known Side Effects\n\nUsing this tool has a couple of known (low-impact) side effects:\n\n1. `null` fields in cassettes may get replaced with nothing and become empty\n2. Some already human-readable strings may get re-encoded as escaped JSON strings if VCRPY had odd line breaks such as the ending quote on a newline with no other content\n3. Long URL and other field values may get bumped down a line from its key pair due to the default line length of 80\n\n## Development\n\n```bash\n# Get a comprehensive list of development tools\njust --list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustintime50%2Fvcrpy-bincon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustintime50%2Fvcrpy-bincon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustintime50%2Fvcrpy-bincon/lists"}