{"id":18302332,"url":"https://github.com/outscale/python-oos-example","last_synced_at":"2025-06-26T15:32:37.147Z","repository":{"id":94912729,"uuid":"502944348","full_name":"outscale/python-oos-example","owner":"outscale","description":"Example of using Outscale Object Storage with python","archived":false,"fork":false,"pushed_at":"2023-03-23T14:20:50.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-09T10:12:10.930Z","etag":null,"topics":["maturity-sandbox"],"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/outscale.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}},"created_at":"2022-06-13T12:21:08.000Z","updated_at":"2025-03-21T05:06:49.000Z","dependencies_parsed_at":"2024-12-23T02:41:03.327Z","dependency_job_id":"8056dcce-f142-49bc-b9ee-c2bdee881abf","html_url":"https://github.com/outscale/python-oos-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/outscale/python-oos-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fpython-oos-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fpython-oos-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fpython-oos-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fpython-oos-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outscale","download_url":"https://codeload.github.com/outscale/python-oos-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscale%2Fpython-oos-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094640,"owners_count":23258010,"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":["maturity-sandbox"],"created_at":"2024-11-05T15:19:27.196Z","updated_at":"2025-06-26T15:32:37.061Z","avatar_url":"https://github.com/outscale.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Using Outscale Object Storage with Python\n[![Project Sandbox](https://docs.outscale.com/fr/userguide/_images/Project-Sandbox-yellow.svg)](https://docs.outscale.com/en/userguide/Open-Source-Projects.html)\n\nThis small example project shows how to use [OOS](https://docs.outscale.com/en/userguide/OUTSCALE-Object-Storage-(OOS).html) using standard [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) library.\n\nRunning this example will:\n- Create a Bucket with a random name\n- Put a string inside an object inside the bucket\n- Read back that object\n- Delete the object\n- Delete the bucket\n\n# Pre-requisites\n\nYou will need:\n- python3 and preferably virtualenv installed\n- An [Access Key and Secret Key](https://docs.outscale.com/en/userguide/About-Access-Keys.html)\n\n# Running the example\n\n1. (optional) Setup your virtual env:\n```bash\nvirtualenv -p python3 .venv\nsource .venv/bin/activate\n```\n\n2. Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n3. Setup your credentials and region:\n\n```bash\nexport OSC_REGION=\"eu-west-2\"\nexport OSC_ACCESS_KEY=\"MyAccessKey\"\nexport OSC_SECRET_KEY=\"MySecretKey\"\n```\n\n4. Run the example:\n\n```bash\n\u003e python src/main.py\n```\n\nYou should have a  similar output:\n```bash\n\u003e python src/main.py\ncreating private bucket named bucket-test-voxa...\nbucket bucket-test-voxa created\nwriting 'Hello World' to public my-data object...\nwrited to bucket-test-voxa object\nreading my-data object...\nread object ok: b'Hello World'\ndeleting my-data object...\ndeleted my-data object\ndeleting bucket named bucket-test-voxa...\nbucket bucket-test-voxa delete\n```\n\nCheck [main.py](src/main.py) to see how it is done.\n\n# Contribution guidelines\n\nFeel free to open an issue for discussion or bug report.\n\n# License\n\n\u003e Copyright Outscale SAS\n\u003e\n\u003e BSD-3-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscale%2Fpython-oos-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutscale%2Fpython-oos-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscale%2Fpython-oos-example/lists"}