{"id":23237685,"url":"https://github.com/eeriemyxi/vert","last_synced_at":"2025-10-26T20:30:55.037Z","repository":{"id":265894328,"uuid":"896808957","full_name":"eeriemyxi/vert","owner":"eeriemyxi","description":"Sane way to extract/view archived contents.","archived":false,"fork":false,"pushed_at":"2024-12-04T14:42:38.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-19T04:14:27.078Z","etag":null,"topics":["extract","python","tar","unzip"],"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/eeriemyxi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-12-01T11:16:08.000Z","updated_at":"2024-12-04T16:16:27.000Z","dependencies_parsed_at":"2024-12-02T01:31:33.798Z","dependency_job_id":null,"html_url":"https://github.com/eeriemyxi/vert","commit_stats":null,"previous_names":["eeriemyxi/vert"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fvert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fvert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fvert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeriemyxi%2Fvert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eeriemyxi","download_url":"https://codeload.github.com/eeriemyxi/vert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238394323,"owners_count":19464583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["extract","python","tar","unzip"],"created_at":"2024-12-19T04:14:30.692Z","updated_at":"2025-10-26T20:30:55.019Z","avatar_url":"https://github.com/eeriemyxi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vert\nSane way to extract/view archived contents.\n\nVert will detect whether or not an archive file is nested inside a directory and\ncreate a directory before extracting if there isn't.\n\n\u003e [!WARNING] \n\u003e By default Vert uses Python's in-built libraries for extraction. If\n\u003e you'd like you may use external tools like `tar` and `unzip` instead. Please\n\u003e see [Configuration](#configuration) section. While I have made efforts to\n\u003e safely use these libraries, they are still always more likely to have\n\u003e vulnerabilities than mature tools like `tar` and `unzip`.\n\n## Technical Details\nVert simply checks whether or not the root of the archive's source tree is a\nsingle file/directory to judge if it should create a directory to nest the\ncontents into.\n\n# How To Install\n```bash\ngit clone --depth 1 --branch main https://github.com/eeriemyxi/vert\npip install ./vert\n```\nOr,\n```\npip install git+https://github.com/eeriemyxi/vert@main\n```\n# Configuration\nBy default it uses `tarfile` and `zipfile` modules from Python's standard\nlibrary to extract content. If you'd like to use `tar` and `unzip` utilities\ninstead, then you can set `VERT_USE_EXTERNAL_TOOLS` environment variable to\n`\"true\"`; setting it to anything else will mean `\"false\"` (for now.)\n\n# Usage\n```bash\nvert l myzip.zip myzip2.tar.xz myzip3.tar.gz\n```\nView the contents of the archives.\n\n```bash\nvert x myzip.zip myzip2.tar.xz myzip3.tar.gz\n```\nExtract the contents of the archives. If the contents are not nested then it will extract\nthem into directories `myzip`, `myzip2`, and `myzip3`.\n\n# Command-line Arguments\n```\nusage: vert [-h] [--log-level LOG_LEVEL] [-v] {x,l} ...\n\nVert - Sane way to extract/view archived contents.\n\npositional arguments:\n  {x,l}\n    x                   Extract contents of the archive (in a sane way).\n    l                   List contents of the archive.\n\noptions:\n  -h, --help            show this help message and exit\n  --log-level LOG_LEVEL\n                        Set log level. Options: DEBUG, INFO (default), CRITICAL, ERROR\n  -v, --version         See current version.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeriemyxi%2Fvert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feeriemyxi%2Fvert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeriemyxi%2Fvert/lists"}