{"id":18709192,"url":"https://github.com/jojoee/pyzip","last_synced_at":"2025-04-12T10:35:08.501Z","repository":{"id":65446222,"uuid":"146283734","full_name":"jojoee/pyzip","owner":"jojoee","description":":tada: Fast and safe Python `zip` with no dependencies","archived":false,"fork":false,"pushed_at":"2022-07-26T01:26:01.000Z","size":12,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T14:24:32.801Z","etag":null,"topics":["combine","fast","merge","python","zip"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jojoee.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":"2018-08-27T10:41:05.000Z","updated_at":"2023-03-05T00:03:51.000Z","dependencies_parsed_at":"2023-01-25T00:01:07.269Z","dependency_job_id":null,"html_url":"https://github.com/jojoee/pyzip","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fpyzip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fpyzip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fpyzip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fpyzip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jojoee","download_url":"https://codeload.github.com/jojoee/pyzip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248553872,"owners_count":21123541,"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":["combine","fast","merge","python","zip"],"created_at":"2024-11-07T12:26:40.215Z","updated_at":"2025-04-12T10:35:08.204Z","avatar_url":"https://github.com/jojoee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyzip\n\n![continuous-integration](https://github.com/jojoee/pyzip/workflows/continuous-integration/badge.svg?branch=master)\n![release](https://github.com/jojoee/pyzip/workflows/release/badge.svg?branch=master)\n[![Codecov](https://img.shields.io/codecov/c/github/jojoee/pyzip.svg)](https://codecov.io/github/jojoee/pyzip)\n[![Version - npm](https://img.shields.io/npm/v/pyzip.svg)](https://www.npmjs.com/package/pyzip)\n[![License - npm](https://img.shields.io/npm/l/pyzip.svg)](http://opensource.org/licenses/MIT)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release) [![Greenkeeper badge](https://badges.greenkeeper.io/jojoee/pyzip.svg)](https://greenkeeper.io/)\n\nFast and safe Python `zip` with no dependencies\n\n## Installation\n\n```\n// npm\nnpm install pyzip\nconst pyzip = require('pyzip')\n```\n\n## Example usage\n\n```javascript\n// normal\npyzip(['a', 'b', 'c', 'd'], [1, 2, 3, 4]) // [['a', 1], ['b', 2], ['c', 3], ['d', 4]]\n\n// not the same length, return less'\npyzip(['a', 'b', 'c', 'd'], [1, 2, 3, 4]) // [['a', 1], ['b', 2], ['c', 3], ['d', 4]]\npyzip(['a', 'b'], [1, 2, 3]) // [['a', 1], ['b', 2]]\n\n// more than 2 args\npyzip(['a', 'b', 'c'], [1, 2, 3, 4], ['A', 'B']) // [['a', 1, 'A'], ['b', 2, 'B']]\n\n// empty array\npyzip([], []) // []\n\n// all invalid will returns empty array ([])\npyzip([1, 2, 3])\npyzip('', '')\npyzip(1, 2)\npyzip(undefined, undefined)\npyzip(1, '2')\n```\n\n## Reference\n- [2. Built-in Functions - zip](https://docs.python.org/3/library/functions.html#zip)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fpyzip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojoee%2Fpyzip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fpyzip/lists"}