{"id":27155230,"url":"https://github.com/sub6resources/polars-astro","last_synced_at":"2025-07-25T05:34:22.927Z","repository":{"id":286198528,"uuid":"960686891","full_name":"Sub6Resources/polars-astro","owner":"Sub6Resources","description":"A collection of code to aid with processing data in astronomy using Polars","archived":false,"fork":false,"pushed_at":"2025-04-04T22:33:45.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T22:37:16.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Sub6Resources.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":"2025-04-04T21:49:27.000Z","updated_at":"2025-04-04T22:33:48.000Z","dependencies_parsed_at":"2025-04-04T22:37:19.744Z","dependency_job_id":"cef13893-7875-4fbd-be3b-ca745c4832ed","html_url":"https://github.com/Sub6Resources/polars-astro","commit_stats":null,"previous_names":["sub6resources/polars-astro"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fpolars-astro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fpolars-astro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fpolars-astro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sub6Resources%2Fpolars-astro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sub6Resources","download_url":"https://codeload.github.com/Sub6Resources/polars-astro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909135,"owners_count":21016478,"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":[],"created_at":"2025-04-08T18:59:57.315Z","updated_at":"2025-04-08T18:59:57.967Z","avatar_url":"https://github.com/Sub6Resources.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# polars_astro\n\nA package adding support for common astronomy data files in Polars.\n\n[![DOI](https://zenodo.org/badge/960686891.svg)](https://doi.org/10.5281/zenodo.15151274)\n\n## Installing\n\n`pip install polars_astro`\n\n# Usage\n\n### FITS Files\n\n`scan_fits_file` adds support for reading in FITS files as a `LazyFrame` including\npredicate pushdown and column projection. The python package fitsio (built around CFITSIO)\nis used internally for efficient row/column access.\n\n```python\nimport polars as pl\nfrom polars_astro import scan_fits_table\n\nscan_fits_table(\"astro_catalog.fits\").filter(\n    pl.col(\"parallax\") \u003e 0.1,\n    pl.col(\"parallax_err\") \u003c 0.01\n).select(\n    pl.col(\"ID\"),\n    pl.col(\"pm_ra\"),\n    pl.col(\"pm_dec\"),\n    pl.col(\"B_mag\"),\n    pl.col(\"V_mag\")\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub6resources%2Fpolars-astro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsub6resources%2Fpolars-astro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub6resources%2Fpolars-astro/lists"}