{"id":32211548,"url":"https://github.com/duffee/astro-constants","last_synced_at":"2026-02-21T18:05:14.981Z","repository":{"id":56839502,"uuid":"47633599","full_name":"duffee/Astro-Constants","owner":"duffee","description":"This Perl module provides physical constants usefull for astronomy in MKS and CGS systems","archived":false,"fork":false,"pushed_at":"2025-01-20T10:53:42.000Z","size":319,"stargazers_count":0,"open_issues_count":25,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T06:52:41.390Z","etag":null,"topics":["astronomy","perl","physics"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/duffee.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":"CONTRIBUTING.md","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}},"created_at":"2015-12-08T16:16:57.000Z","updated_at":"2025-01-20T10:53:43.000Z","dependencies_parsed_at":"2024-04-14T22:49:08.598Z","dependency_job_id":null,"html_url":"https://github.com/duffee/Astro-Constants","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/duffee/Astro-Constants","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duffee%2FAstro-Constants","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duffee%2FAstro-Constants/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duffee%2FAstro-Constants/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duffee%2FAstro-Constants/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duffee","download_url":"https://codeload.github.com/duffee/Astro-Constants/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duffee%2FAstro-Constants/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29689644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["astronomy","perl","physics"],"created_at":"2025-10-22T06:52:13.354Z","updated_at":"2026-02-21T18:05:14.976Z","avatar_url":"https://github.com/duffee.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Astro-Constants\nThis Perl module provides physical constants useful for astronomy and physics\nin the MKS and CGS systems.\n\nTired of your programs producing garbage because you mis-typed the gravitational constant\nor assigned a value instead of checking equality?  Why not rely on a module that does\nall that work for you and gives you all the constants ready to use with a simple\n```\nuse Astro::Constants qw( :cosmology );\n```\ninstead of relying on \n[Magic Numbers](https://en.wikipedia.org/wiki/Magic_number_%28programming%29#Unnamed_numerical_constants)\nwhich only serve to obscure your intent from everyone, including yourself\nsix months from now.  C'mon now, **make your programs _readable_**!\n\n**Make your programs _faster!!!_**\n\nThe benchmarks show that all of the long name constants are at least **3 times faster**\nin calculations than using variables, short names or other constant modules to hold the values.\n\nWhile no-one can give bomb-proof guarantees that these values are correct (indeed, \nsome of them are liable to change in time), rest assured that these values\nwill be checked against standards bodies and the relevant references and urls\nprovided for you to decide how much you want to trust the values in this module.\n\nCheck the ChangeLog for changes in any variables.\n\n## Astroconst\nThis module started out as a Perl port of Jeremy Bailin's Astroconst package.\nThe url http://astroconst.org used to house this project.  It's now been abandoned.\n\n## Racing Stripes\nLooking for speed in your script?  Consider upgrading your perl to v5.23.4\nwhich has a 40% improvement over v5.20.3 and newer perls are even faster!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduffee%2Fastro-constants","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduffee%2Fastro-constants","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduffee%2Fastro-constants/lists"}