{"id":19426606,"url":"https://github.com/oscaro/tools-io-gs","last_synced_at":"2025-04-24T17:31:09.496Z","repository":{"id":34886940,"uuid":"187022982","full_name":"oscaro/tools-io-gs","owner":"oscaro","description":"Google storage support for tools-io","archived":false,"fork":false,"pushed_at":"2025-02-03T13:48:23.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"devel","last_synced_at":"2025-04-14T08:05:20.815Z","etag":null,"topics":["clojure","clojure-library","google-cloud-storage"],"latest_commit_sha":null,"homepage":"https://cljdoc.org/d/com.oscaro/tools-io-gs/0.1.5/doc/readme","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oscaro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-16T12:25:00.000Z","updated_at":"2025-02-03T13:48:26.000Z","dependencies_parsed_at":"2023-02-13T22:25:39.158Z","dependency_job_id":null,"html_url":"https://github.com/oscaro/tools-io-gs","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscaro%2Ftools-io-gs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscaro%2Ftools-io-gs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscaro%2Ftools-io-gs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscaro%2Ftools-io-gs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscaro","download_url":"https://codeload.github.com/oscaro/tools-io-gs/tar.gz/refs/heads/devel","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250674278,"owners_count":21469190,"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":["clojure","clojure-library","google-cloud-storage"],"created_at":"2024-11-10T14:08:19.335Z","updated_at":"2025-04-24T17:31:09.485Z","avatar_url":"https://github.com/oscaro.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tools-io-gs [API Docs](https://cljdoc.org/d/com.oscaro/tools-io-gs/0.1.6/doc/readme) [![cljdoc badge](https://cljdoc.org/badge/com.oscaro/tools-io-gs)](https://cljdoc.org/d/com.oscaro/tools-io-gs/CURRENT)\n\nGoogle Storage support for [`tools.io`](https://github.com/oscaro/tools-io).\n\n## Usage\n\n```clojure\n[com.oscaro/tools-io-gs  \"0.1.17\"]\n```\n\n### Example\n\n```clojure\n; read json\n(doseq [x (read-jsons-file \"gs://bucket/sample.jsons.gz\")]\n  (println x))\n\n; list files\n(doseq [filename (list-files \"gs://bucket/mydir/\")]\n  (println filename))\n\n; -\u003e output:\n; gs://bucket/mydir/example/raw-animals-aaaaaaaaaa.jsons.gz\n; gs://bucket/mydir/example/raw-animals-aaaaaaaaab.jsons.gz\n; gs://bucket/mydir/example/raw-animals-aaaaaaaaac.jsons.gz\n; gs://bucket/mydir/example/raw-animals-aaaaaaaaad.jsons.gz\n; gs://bucket/mydir/example/raw-animals-aaaaaaaaae.jsons.gz\n\n; list files in a (virtual) directory\n(doseq [filename (list-files \"gs://bucket/mydir/\" {:current-directory true})]\n  (println filename))\n\n; list dirs\n(-\u003e\u003e (list-dirs \"gs://bucket/dir\")\n     count)\n\n; -\u003e output:\n; gs://bucket/mydir/example/\n\n; Get folder/file size\n\n(sizeof \"gs:/foo/bar\") ;; =\u003e 8293\n\n```\n\n## License\n\nCopyright © 2016-2025 Oscaro.com\n\nDistributed under the Eclipse Public License either version 1.0 or (at your\noption) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscaro%2Ftools-io-gs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscaro%2Ftools-io-gs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscaro%2Ftools-io-gs/lists"}