{"id":17951062,"url":"https://github.com/leehuwuj/lake-inspector","last_synced_at":"2025-04-03T16:15:03.117Z","repository":{"id":216219677,"uuid":"610914180","full_name":"leehuwuj/lake-inspector","owner":"leehuwuj","description":"Inspect your lakehouse data by using PyArrow","archived":false,"fork":false,"pushed_at":"2024-01-09T02:43:29.000Z","size":458,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T18:59:04.302Z","etag":null,"topics":["arrow","datalake","lakehouse","pyarrow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leehuwuj.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-03-07T18:28:56.000Z","updated_at":"2023-03-14T02:40:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"c368ace9-4f64-4a76-a1d8-d9264bd82eda","html_url":"https://github.com/leehuwuj/lake-inspector","commit_stats":null,"previous_names":["leehuwuj/lake-inspector"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehuwuj%2Flake-inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehuwuj%2Flake-inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehuwuj%2Flake-inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leehuwuj%2Flake-inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leehuwuj","download_url":"https://codeload.github.com/leehuwuj/lake-inspector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247033813,"owners_count":20872532,"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":["arrow","datalake","lakehouse","pyarrow"],"created_at":"2024-10-29T09:42:33.113Z","updated_at":"2025-04-03T16:15:03.089Z","avatar_url":"https://github.com/leehuwuj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image info](./resources/lake-inspector.png)\n\n# Example:\n- Inspect a path in S3:  \n  - Make sure your s3 profile was set:\n  ```\n  export AWS_ENDPOINT_URL=\n  export ACCESS_KEY=\n  export AWS_SECRET_ACCESS_KEY=\n  ```\n  - Then run s3-inspect.py file:\n  ```shell\n  poetry run python s3-inspect.py lake-dev/dagster/test\n  ```\n-\u003e Output to console\n```\n{'f1_partitions': ['lake-dev/dagster/test/date=20230315',\n                   'lake-dev/dagster/test/date=20230316'],\n 'latest_partition': ['date',\n                      '20230316',\n                      'lake-dev/dagster/test/date=20230316'],\n 'number_of_files': 2,\n 'path': 'lake-dev/dagster/test',\n 'size': 23340}\n```\n  \n- If you want to store metrics into file to S3:\n```shell\npoetry run python s3-inspect.py --writer s3 --write-uri lake-dev/inspector/metrics/test-dataset/$(date +%s).json lake-dev/dagster/test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleehuwuj%2Flake-inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleehuwuj%2Flake-inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleehuwuj%2Flake-inspector/lists"}