{"id":46370750,"url":"https://github.com/cnfilms/cn-s3-api","last_synced_at":"2026-03-05T03:37:07.869Z","repository":{"id":173289114,"uuid":"650082011","full_name":"cnfilms/cn-s3-api","owner":"cnfilms","description":"CnS3Api is a python package for managing OVHCloud Object Storage S3","archived":false,"fork":false,"pushed_at":"2024-09-25T09:38:41.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-23T20:28:31.002Z","etag":null,"topics":["cold-storage","ovh","ovhcloud","python","s3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cnfilms.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-06T09:47:43.000Z","updated_at":"2024-09-25T09:38:45.000Z","dependencies_parsed_at":"2024-06-19T16:31:33.207Z","dependency_job_id":"f3f5913f-6f05-438a-9a7d-b22229ee1868","html_url":"https://github.com/cnfilms/cn-s3-api","commit_stats":null,"previous_names":["cnfilms/cn_s3_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cnfilms/cn-s3-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfilms%2Fcn-s3-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfilms%2Fcn-s3-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfilms%2Fcn-s3-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfilms%2Fcn-s3-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cnfilms","download_url":"https://codeload.github.com/cnfilms/cn-s3-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnfilms%2Fcn-s3-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30108789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:32:43.378Z","status":"ssl_error","status_checked_at":"2026-03-05T03:32:22.667Z","response_time":93,"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":["cold-storage","ovh","ovhcloud","python","s3"],"created_at":"2026-03-05T03:37:07.229Z","updated_at":"2026-03-05T03:37:07.864Z","avatar_url":"https://github.com/cnfilms.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python library for OVHCloud Object Storage managment\n\nLightweight python wrapper around OVHcloud Public Storage S3. Based on AWS boto3, it handles all the hard work including bucket transfers and OVH cold archive actions.\n\n```python\nfrom cn_s3_api.api import CNS3Api\n\ns3_api = CNS3Api(dict(\n    aws_access_key_id='xxxxxxxxxxxxxxxxxxxxxxxxx',\n    aws_secret_access_key='xxxxxxxxxxxxxxxxxxxxxxxxx',\n    endpoint_url='https://s3.rbx.io.cloud.ovh.net/',\n    region_name='RBX',\n))\n\ns3_api.download('my-bucket', '/path_to_src_file', '/path_to_dst_file')\ns3_api.upload('my-bucket', '/path_to_src_file', '/path_to_dst_bucket_file')\ns3_api.list('my-bucket')\ns3_api.list('my-bucket', '/path_to_dst_bucket_dir')\n\ns3_api.cold_action('archive', 'my-bucket', 'bucket-id')\ns3_api.cold_action('status', 'my-bucket', 'bucket-id')\ns3_api.cold_action('restore', 'my-bucket', 'bucket-id')\n```\n\n## Installation\n\nThe python wrapper works with Python 3.6+.\n\nThe easiest way to get the latest stable release is to grab it from pypi using pip.\n\n```\npip install cn_s3_api\n```\n\nAlternatively, you may get latest development version directly from Git.\n\n```\npip install -e git+https://github.com/cnfilms/cn-s3-api.git\n```\n\n## Hacking\n\nThis wrapper uses standard Python tools, so you should feel at home with it.\nHere is a quick outline of what it may look like. A good practice is to run\nthis from a ``virtualenv``.\n\n## Get the sources\n\n```bash\ngit clone https://github.com/cnfilms/cn-s3-api.git\ncd cn-s3-api\npython setup.py develop\n\n```\n\n## Run the tests\n\nSimply run ``pytest``. It will automatically load its configuration from ``setup.cfg`` and output full coverage status. \n\n```bash\npip install -e .\npytest\n```\n\n## Contributing\n\nIf you find a bug :bug:, please open a [bug report](https://github.com/cnfilms/cn-s3-api/issues/new?assignees=\u0026labels=bug\u0026template=bug_report.md\u0026title=).\nIf you have an idea for an improvement or new feature :rocket:, please open a [feature request](https://github.com/cnfilms/cn-s3-api/issues/new?assignees=\u0026labels=Feature+request\u0026template=feature_request.md\u0026title=).\n\n## License\n\n3-Clause BSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnfilms%2Fcn-s3-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcnfilms%2Fcn-s3-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnfilms%2Fcn-s3-api/lists"}