{"id":26103486,"url":"https://github.com/inftyai/omnistore","last_synced_at":"2025-04-12T17:23:42.769Z","repository":{"id":252930449,"uuid":"841936957","full_name":"InftyAI/omnistore","owner":"InftyAI","description":"🎯 An unified python client to communicate with various kinds of object-store providers.","archived":false,"fork":false,"pushed_at":"2024-11-11T02:36:06.000Z","size":40,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T17:23:34.894Z","etag":null,"topics":["gcs","minio","object-store","oss","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InftyAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-08-13T10:46:56.000Z","updated_at":"2024-11-11T02:36:11.000Z","dependencies_parsed_at":"2024-08-13T14:08:55.378Z","dependency_job_id":"390dea21-8488-4c26-90c4-bf02f02562f4","html_url":"https://github.com/InftyAI/omnistore","commit_stats":null,"previous_names":["inftyai/omnistore"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InftyAI%2Fomnistore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InftyAI%2Fomnistore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InftyAI%2Fomnistore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InftyAI%2Fomnistore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InftyAI","download_url":"https://codeload.github.com/InftyAI/omnistore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602866,"owners_count":21131703,"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":["gcs","minio","object-store","oss","python","s3"],"created_at":"2025-03-09T20:07:13.343Z","updated_at":"2025-04-12T17:23:42.699Z","avatar_url":"https://github.com/InftyAI.png","language":"Python","readme":"# OmniStore\n\n[![Latest Release](https://img.shields.io/github/v/release/inftyai/omnistore?include_prereleases)](https://github.com/inftyai/omnistore/releases/latest)\n\nAn unified python client to communicate with various kinds of object-store providers.\n\n## How to use\n\n### Installation\n\n```cmd\npip install omnistore\n```\n\n### Usage\n\n```python\nfrom omnistore.objstore import StoreFactory\n\n# Initialization\nclient = StoreFactory.new_client(\n    provider=\u003cprovider\u003e, endpoint=\u003cendpoint\u003e, bucket=\u003cbucket\u003e\n)\n\n# Create a directory\nclient.create_dir(dir_name)\n\n# Delete a directory with all its files\nclient.delete_dir(dir_name)\n\n# Upload\nclient.upload(src, dest)\n\n# Upload a directory with all its files\nclient.upload_dir(src_dir, dest_dir)\n\n# Download\nclient.download(src, dest)\n\n# Download a directory with all its files\nclient.download_dir(src_dir, dest_dir)\n\n# Exists\nclient.exists(filename)\n\n# Delete\nclient.delete(filename)\n```\n\n## Supported Providers\n\n### [Alibaba Cloud OSS](https://www.alibabacloud.com/help/en/oss/)\n\nUsage:\n\n```python\nclient = StoreFactory.new_client(\n    provider=\"OSS\", endpoint=\u003cendpoint\u003e, bucket=\u003cbucket\u003e\n)\n```\n\nRequired environment variables:\n\n```yaml\nOSS_ACCESS_KEY_ID=\nOSS_ACCESS_KEY_SECRET=\n```\n\n### [MINIO](https://min.io/)\n\nUsage:\n\n```python\nclient = StoreFactory.new_client(\n    provider=\"MINIO\", endpoint=\u003cendpoint\u003e, bucket=\u003cbucket\u003e\n)\n```\n\nRequired environment variables:\n\n```yaml\nMINIO_ACCESS_KEY=\nMINIO_SECRET_KEY=\n```\n\n## Development\n\nOnce you want to run the integration tests, you should have a `.env` file locally, similar to the `.env.example`.\n\n## Contributions\n\n🚀 All kinds of contributions are welcomed ! Please follow [Contributing](./CONTRIBUTING.md). Thanks to all these contributors.\n\n\u003ca href=\"https://github.com/inftyai/omnistore/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=inftyai/omnistore\" /\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finftyai%2Fomnistore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finftyai%2Fomnistore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finftyai%2Fomnistore/lists"}