{"id":46405203,"url":"https://github.com/gregl83/paqpy","last_synced_at":"2026-03-05T12:02:33.263Z","repository":{"id":325330440,"uuid":"1100308190","full_name":"gregl83/paqpy","owner":"gregl83","description":"🐍#️⃣ Fast Hashing of File or Directory","archived":false,"fork":false,"pushed_at":"2025-12-30T00:21:54.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-02T07:44:20.139Z","etag":null,"topics":["blake3","cryptographic","directory-hashing","directory-traversal","file-hashing","hash","python","rust"],"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/gregl83.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-20T05:35:52.000Z","updated_at":"2025-12-30T00:21:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gregl83/paqpy","commit_stats":null,"previous_names":["gregl83/paqpy"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/gregl83/paqpy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Fpaqpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Fpaqpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Fpaqpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Fpaqpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregl83","download_url":"https://codeload.github.com/gregl83/paqpy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Fpaqpy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30041295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T10:28:37.494Z","status":"ssl_error","status_checked_at":"2026-03-03T10:28:28.686Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["blake3","cryptographic","directory-hashing","directory-traversal","file-hashing","hash","python","rust"],"created_at":"2026-03-05T12:02:28.957Z","updated_at":"2026-03-05T12:02:33.254Z","avatar_url":"https://github.com/gregl83.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build](https://github.com/gregl83/paqpy/actions/workflows/release.yml/badge.svg)](https://github.com/gregl83/paqpy/actions/workflows/release.yml)\n[![PyPI](https://img.shields.io/pypi/v/paqpy.svg)](https://pypi.org/project/paqpy/)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/gregl83/paqpy/blob/master/LICENSE)\n\n# paqPy\n\nHash file or directory recursively.\n\nPython bindings to the Rust `paq` library.\n\nPowered by `blake3` cryptographic hashing algorithm.\n\n## Performance\n\nThe [Go](https://github.com/golang/go/commit/6e676ab2b809d46623acb5988248d95d1eb7939c) programming language repository was used as a test data source (157 MB / 14,490 files).\n\n| Tool                       | Version | Command                   |     Mean [ms] | Min [ms] | Max [ms] |     Relative |\n| :------------------------- | :------ | :------------------------ | ------------: | -------: | -------: | -----------: |\n| [paq][paq]                 | latest  | `paq ./go`                |    77.7 ± 0.6 |     77.1 |     80.2 |         1.00 |\n| [b3sum][b3sum]             | 1.5.1   | `find ./go ... b3sum`     |   327.3 ± 3.6 |    320.2 |    332.3 |  4.21 ± 0.05 |\n| [dirhash][dirhash]         | 0.5.0   | `dirhash -a sha256 ./go`  |   576.1 ± 2.9 |    570.8 |    580.3 |  7.41 ± 0.06 |\n| [GNU sha2][gnusha]         | 9.7     | `find ./go ... sha256sum` |  725.2 ± 43.5 |    692.2 |    813.2 |  9.33 ± 0.56 |\n| [folder-hash][folder-hash] | 4.1.1   | `folder-hash ./go`        | 1906.0 ± 78.0 |   1810.0 |   2029.0 | 24.53 ± 1.02 |\n\n[paq]: https://github.com/gregl83/paq\n[b3sum]: https://github.com/BLAKE3-team/BLAKE3/tree/master/b3sum\n[gnusha]: https://manpages.debian.org/testing/coreutils/sha256sum.1.en.html\n[dirhash]: https://github.com/andhus/dirhash-python\n[folder-hash]: https://github.com/marc136/node-folder-hash\n\nSee [paq benchmarks](https://github.com/gregl83/paq/blob/main/docs/benchmarks.md) documentation for more details.\n\n## Installation\n\n### Install From PyPI\n\n```bash\npip install paqpy\n```\n\n### Install From Repository (Unstable)\n\nNot recommended due to instability of main branch in-between tagged releases.\n\n1. Clone this repository.\n2. Run `pip install maturin` to install [maturin](https://pypi.org/project/maturin/).\n3. Run `maturin develop --release` from repository root.\n\n## Usage\n\n```python\nimport paqpy\n\nsource = \"/path/to/source\"\nignore_hidden = True # .dir or .file\nsource_hash = paqpy.hash_source(source, ignore_hidden)\n\nprint(source_hash)\n```\n\nVisit the [paq](https://github.com/gregl83/paq) homepage for more details.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregl83%2Fpaqpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregl83%2Fpaqpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregl83%2Fpaqpy/lists"}