{"id":21040999,"url":"https://github.com/chfoo/rdai","last_synced_at":"2025-10-01T04:30:56.222Z","repository":{"id":145909772,"uuid":"13604908","full_name":"chfoo/rdai","owner":"chfoo","description":"Recursive Deep Archive Iterator: A Python module to print text files from deeply nested compressed archives recursively.","archived":false,"fork":false,"pushed_at":"2013-10-22T22:11:09.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-23T04:57:55.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chfoo.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-15T23:24:25.000Z","updated_at":"2023-03-23T05:17:56.778Z","dependencies_parsed_at":"2023-03-23T05:17:56.352Z","dependency_job_id":null,"html_url":"https://github.com/chfoo/rdai","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Frdai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Frdai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Frdai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chfoo%2Frdai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chfoo","download_url":"https://codeload.github.com/chfoo/rdai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225364546,"owners_count":17462825,"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":[],"created_at":"2024-11-19T13:49:41.024Z","updated_at":"2025-10-01T04:30:50.881Z","avatar_url":"https://github.com/chfoo.png","language":"Python","readme":"Recursive Deep Archive Iterator\n===============================\n\nA Python module to print text files from deeply nested compressed archives\nrecursively.\n\nUseful for grep.\n\nRequires Python 3.3 or greater.\n\nExample::\n\n    python3 rdai.py myfile.zip\n\nExample with GNU parallel and grep::\n\n    find -iname \"*.zip\" | parallel python3 rdai.py \"{}\" | grep hello\n\nUse the ``--json`` option to parse JSON dumps such as the Archive Team Twitter\nStream scrapes: https://archive.org/details/twitterstream ::\n\n    find -iname \"*.zip\" | parallel --ungroup --eta python3 rdai.py --json \"{}\" | grep -o -P \"bit\\.ly/[a-zA-Z0-9]+\" \u003e urls.txt\n\n\nJSON performance\n++++++++++++++++\n\nFor better JSON performance install ujson or simplejson::\n\n    pip3 install ujson\n    pip3 install simplejson\n\n\nBugs\n++++\n\n* Does not handle infinite recursion.\n* No setup.py\n* No PyPi package.\n* No unit tests.\n* Detects compressed files only by filename.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Frdai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchfoo%2Frdai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchfoo%2Frdai/lists"}