{"id":20010108,"url":"https://github.com/cxa/piz","last_synced_at":"2025-05-04T19:36:01.305Z","repository":{"id":27959031,"uuid":"31451973","full_name":"cxa/Piz","owner":"cxa","description":"The simplest unzipper just works. (Swift)","archived":false,"fork":false,"pushed_at":"2020-12-12T03:58:50.000Z","size":478,"stargazers_count":22,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-18T09:42:31.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/cxa.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}},"created_at":"2015-02-28T05:19:18.000Z","updated_at":"2022-01-29T10:46:41.000Z","dependencies_parsed_at":"2022-08-01T09:08:50.869Z","dependency_job_id":null,"html_url":"https://github.com/cxa/Piz","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FPiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FPiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FPiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxa%2FPiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxa","download_url":"https://codeload.github.com/cxa/Piz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252390808,"owners_count":21740390,"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-13T07:18:28.927Z","updated_at":"2025-05-04T19:36:00.794Z","avatar_url":"https://github.com/cxa.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Piz\n\nThe simplest unzipper just works.\n\n```swift\nimport Piz\n...\n// create an unzipper with file URL or data\nif let piz = Piz(fileURL: url) { // or let piz = Piz(data: data)\n  // get all file names, including paths if available\n  let files = piz.files\n\n  // check if a file be available\n  let isFileExisting = piz.contains(file: \"path/to/file.ext\")\n\n  // get data from a file\n  let data = piz.data(forFile: \"path/to/file.ext\")\n\n  // or if you like subscription\n  let data = piz[\"path/to/file.ext\"]\n}\n```\n\n## Install\n\nSwift package only, add this repo URL to your `Package.swift`.\n\n## About Me\n\n- Twitter: [@_cxa](https://twitter.com/_cxa)\n- Apps available on the App Store: \u003chttp://lazyapps.com\u003e\n- PayPal: xianan.chen+paypal 📧 gmail.com, buy me a cup of coffee if you find it's useful for you\n\n## Credits\n\n- Test file `test.epub` downloaded from \u003chttps://code.google.com/p/epub-samples/\u003e\n- Test zip64 file `64.zip` created with \u003chttps://gist.github.com/gumblex/5573ddb33c21fca4aecf\u003e\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxa%2Fpiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxa%2Fpiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxa%2Fpiz/lists"}