{"id":34036971,"url":"https://github.com/rohaquinlop/robinzhon","last_synced_at":"2026-04-06T22:01:53.462Z","repository":{"id":306708544,"uuid":"1026992310","full_name":"rohaquinlop/robinzhon","owner":"rohaquinlop","description":"Minimal, high-performance Python helpers for concurrent S3 object transfers","archived":false,"fork":false,"pushed_at":"2025-08-20T17:33:52.000Z","size":270,"stargazers_count":61,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-15T12:52:15.109Z","etag":null,"topics":["aws","aws-s3","high-performance","python","s3-download","s3-uploader"],"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/rohaquinlop.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}},"created_at":"2025-07-27T04:35:55.000Z","updated_at":"2025-12-03T17:43:21.000Z","dependencies_parsed_at":"2025-07-27T06:32:11.761Z","dependency_job_id":"f06171a8-e517-46ce-8d28-99dec25e2a93","html_url":"https://github.com/rohaquinlop/robinzhon","commit_stats":null,"previous_names":["rohaquinlop/robinzhon"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rohaquinlop/robinzhon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohaquinlop%2Frobinzhon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohaquinlop%2Frobinzhon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohaquinlop%2Frobinzhon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohaquinlop%2Frobinzhon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohaquinlop","download_url":"https://codeload.github.com/rohaquinlop/robinzhon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohaquinlop%2Frobinzhon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31491097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"last_error":"SSL_read: 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":["aws","aws-s3","high-performance","python","s3-download","s3-uploader"],"created_at":"2025-12-13T20:49:10.139Z","updated_at":"2026-04-06T22:01:53.457Z","avatar_url":"https://github.com/rohaquinlop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# robinzhon\n\nMinimal, high-performance Python helpers for concurrent S3 object transfers.\n\nA small extension that exposes fast, concurrent downloads (and uploads) to Python\nusing a Rust implementation optimized for I/O-bound workloads.\n\n## Install\n\n- From PyPI: `pip install robinzhon` or `uv add robinzhon`\n- From source (requires Rust + maturin):\n\n```bash\n# build and install into active venv\nmaturin develop --release\n```\n\n## Quick start\n\nDownload a single object:\n\n```python\nfrom robinzhon import S3Downloader\n\nd = S3Downloader(\"us-east-1\")\npath = d.download_file(\"my-bucket\", \"path/to/object.txt\", \"./object.txt\")\nprint(path)  # ./object.txt\n```\n\nDownload many objects into a directory:\n\n```python\nfiles = [\"data/a.csv\", \"data/b.csv\"]\nres = d.download_multiple_files(\"my-bucket\", files, \"./downloads\")\nprint(res.successful)\nprint(res.failed)\n```\n\nUpload a single file or multiple files:\n\n```python\nfrom robinzhon import S3Uploader\n\nu = S3Uploader(\"us-east-1\")\nu.upload_file(\"my-bucket\", \"dest/key.txt\", \"./local.txt\")\npaths_and_keys = [(\"./local1.txt\", \"key1\"), (\"./local2.txt\", \"key2\")]\nres = u.upload_multiple_files(\"my-bucket\", paths_and_keys)\nprint(res.successful, res.failed)\n```\n\n## Configuration\n\n- Both `S3Downloader` and `S3Uploader` accept an optional concurrency argument (default 5):\n\n```python\nS3Downloader(\"us-east-1\", max_concurrent_downloads=10)\nS3Uploader(\"us-east-1\", max_concurrent_uploads=10)\n```\n\n## API summary\n\n- Results\n    - Attributes: `successful: List[str]`, `failed: List[str]`\n    - Methods: `is_complete_success()`, `has_success()`, `has_failures()`, `total_count()`, `success_rate()`\n\n- S3Downloader(region_name, max_concurrent_downloads=5)\n    - `download_file(bucket, key, local_path) -\u003e str`\n    - `download_multiple_files(bucket, keys, base_dir) -\u003e Results`\n    - `download_multiple_files_with_paths(bucket, [(key, local_path), ...]) -\u003e Results`\n\n- S3Uploader(region_name, max_concurrent_uploads=5)\n    - `upload_file(bucket, key, local_path) -\u003e str`\n    - `upload_multiple_files(bucket, [(local_path, key), ...]) -\u003e Results`\n\n## Building \u0026 testing\n\n- Requires Rust toolchain and `maturin` to build the extension.\n- Tests are simple Python tests that assume the compiled extension is available.\n\n## License\n\nSee the [LICENSE](LICENSE) file in the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohaquinlop%2Frobinzhon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohaquinlop%2Frobinzhon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohaquinlop%2Frobinzhon/lists"}