{"id":21375449,"url":"https://github.com/lsst/resources","last_synced_at":"2025-03-27T02:17:27.631Z","repository":{"id":37847668,"uuid":"433215505","full_name":"lsst/resources","owner":"lsst","description":"Generic interface for accessing local and remote file resources","archived":false,"fork":false,"pushed_at":"2024-05-28T23:58:09.000Z","size":984,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":64,"default_branch":"main","last_synced_at":"2024-05-29T14:10:45.180Z","etag":null,"topics":["abstraction-layer","hacktoberfest","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lsst.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":"2021-11-29T22:24:51.000Z","updated_at":"2024-06-05T20:32:32.075Z","dependencies_parsed_at":"2023-12-12T00:54:10.978Z","dependency_job_id":"c6025447-c925-487b-bf7c-3082f8360c99","html_url":"https://github.com/lsst/resources","commit_stats":null,"previous_names":[],"tags_count":184,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsst%2Fresources","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsst%2Fresources/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsst%2Fresources/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsst%2Fresources/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsst","download_url":"https://codeload.github.com/lsst/resources/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245534623,"owners_count":20631288,"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":["abstraction-layer","hacktoberfest","python"],"created_at":"2024-11-22T09:11:04.362Z","updated_at":"2025-03-27T02:17:27.612Z","avatar_url":"https://github.com/lsst.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lsst.resources\n\n[![pypi](https://img.shields.io/pypi/v/lsst-resources.svg)](https://pypi.org/project/lsst-resources/)\n[![codecov](https://codecov.io/gh/lsst/resources/branch/main/graph/badge.svg?token=jGf63Xc1Ar)](https://codecov.io/gh/lsst/resources)\n\n\nThis package provides a simple interface to local or remote files using URIs.\n\n```\nfrom lsst.resources import ResourcePath\n\nfile_uri = ResourcePath(\"/data/file.txt\")\ncontents = file_uri.read()\n\ns3_uri = ResourcePath(\"s3://bucket/data/file.txt\")\ncontents = s3_uri.read()\n```\n\nThe package currently understands `file`, `s3`, `gs`, `http[s]`, and `resource` (Python package resource) URI schemes as well as a scheme-less URI (relative local file path).\n\nThe package provides the main file abstraction layer in the [Rubin Observatory Data Butler](https://github.com/lsst/daf_butler) datastore.\n\nPyPI: [lsst-resources](https://pypi.org/project/lsst-resources/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsst%2Fresources","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsst%2Fresources","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsst%2Fresources/lists"}