{"id":13877965,"url":"https://github.com/rhannequin/astronoby","last_synced_at":"2025-07-16T14:30:38.402Z","repository":{"id":57675664,"uuid":"481402137","full_name":"rhannequin/astronoby","owner":"rhannequin","description":"Astronomy and astrometry Ruby library for astronomical data and events","archived":false,"fork":false,"pushed_at":"2025-06-10T07:23:54.000Z","size":44444,"stargazers_count":101,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-10T08:27:56.918Z","etag":null,"topics":["astronomy","programming","ruby"],"latest_commit_sha":null,"homepage":"https://dev.to/rhannequin/series/17782","language":"Ruby","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/rhannequin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null},"funding":{"github":"rhannequin"}},"created_at":"2022-04-13T23:21:07.000Z","updated_at":"2025-06-10T07:23:55.000Z","dependencies_parsed_at":"2025-06-10T08:33:19.496Z","dependency_job_id":null,"html_url":"https://github.com/rhannequin/astronoby","commit_stats":{"total_commits":44,"total_committers":2,"mean_commits":22.0,"dds":"0.13636363636363635","last_synced_commit":"c60c21c33172ce0151ae500fa67a4a0b00ba97c1"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/rhannequin/astronoby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhannequin%2Fastronoby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhannequin%2Fastronoby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhannequin%2Fastronoby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhannequin%2Fastronoby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhannequin","download_url":"https://codeload.github.com/rhannequin/astronoby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhannequin%2Fastronoby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265349321,"owners_count":23751334,"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":["astronomy","programming","ruby"],"created_at":"2024-08-06T08:01:36.200Z","updated_at":"2025-07-16T14:30:37.844Z","avatar_url":"https://github.com/rhannequin.png","language":"Ruby","readme":"# Astronoby\n\n[![Tests](https://github.com/rhannequin/astronoby/workflows/Ruby/badge.svg)](https://github.com/rhannequin/astronoby/actions?query=workflow%3ARuby)\n\nRuby library to provide a useful API to compute astronomical calculations.\n\nSome algorithms are based on the following astrometry books:\n* _Astronomical Algorithms_ by Jean Meeus\n* _Celestial Calculations_ by J. L. Lawrence\n* _Practical Astronomy with your Calculator or Spreadsheet_ by Peter\n  Duffet-Smith and Jonathan Zwart\n\nSolar System body's positions are computed based on ephemerides coming from\nthe [IMCCE] or [NASA/JPL].\n\n[NASA/JPL]: https://ssd.jpl.nasa.gov/planets/eph_export.html\n\n## Content\n- [Installation](#installation)\n- [Usage Documentation](#usage-documentation)\n- [Precision](#precision)\n- [Development](#development)\n- [Contributing](#contributing)\n- [License](#license)\n- [Code of Conduct](#code-of-conduct)\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add astronoby\n\nIf [Bundler] is not being used to manage dependencies, install the gem by\nexecuting:\n\n    $ gem install astronoby\n\n[Bundler]: https://bundler.io\n\n## Usage Documentation\n\nSince version 0.7.0, the usage documentation resides in the [Wiki]. For\nprevious versions, you can access the documentation in the README for each\n[release].\n\n[Wiki]: https://github.com/rhannequin/astronoby/wiki\n[release]: https://github.com/rhannequin/astronoby/releases\n\n### Expected breaking changes notice\n\nThis library is still in heavy development. The public is not stable, please\nbe aware new minor versions will probably lead to breaking changes until a\nmajor one is released.\n\nChanges are documented in the [CHANGELOG] and adapting to breaking changes is\ndescribed in the [UPGRADING] document.\n\n[CHANGELOG]: https://github.com/rhannequin/astronoby/blob/main/CHANGELOG.md\n[UPGRADING]: https://github.com/rhannequin/astronoby/blob/main/UPGRADING.md\n\n## Precision\n\nThe current precision for the major Solar System bodies' location in the sky\nas seen from an observer on Earth is below 10 arc seconds. It corresponds to\nhalf the size of Saturn when it is the closest to Earth.\n\nWhile the precision is not enough for spacecraft navigation, it is enough for\nautomated guiding of amateur telescopes.\n\nThe compared sources are: [IMCCE], [JPL Horizons], [Stellarium], and the\n[Skyfield] library.\n\n[IMCCE]: https://www.imcce.fr\n[JPL Horizons]: https://ssd.jpl.nasa.gov/horizons.cgi\n[Stellarium]: https://stellarium.org\n[Skyfield]: https://rhodesmill.org/skyfield/\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run\n`rake spec` to run the tests. You can also run `bin/console` for an interactive\nprompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To\nrelease a new version, update the version number in `version.rb`, and then run\n`bundle exec rake release`, which will create a git tag for the version, push\ngit commits and the created tag, and push the `.gem` file to [rubygems.org].\n\n[rubygems.org]: https://rubygems.org\n\n### Performance\n\nThe library is designed to be fast, but there is always room for improvement.\nWhen comparing the performance of two implementations, please use the\nperformance benchmark in the console before and after your implementation.\n\n    $ bin/console\n\n```rb\nrequire_relative \"benchmarks/performance\"\n\nPerformanceBenchmark.new.run\n```\n\nFor fast feedback, you can customise the parameters:\n\n```rb\nPerformanceBenchmark\n  .new(warmup_runs: 1, measure_runs: 3, iterations_per_run: 5)\n  .run\n```\n\nPerformance is not absolute, this is why the results are not documented here.\nWhat is important is to compare the relative performance of two implementations\nand make sure new features do not degrade the performance.\n\n## Contributing\n\nPlease see [CONTRIBUTING.md].\n\n[CONTRIBUTING.md]: https://github.com/rhannequin/astronoby/blob/main/CONTRIBUTING.md\n\n[code of conduct]: https://github.com/rhannequin/astronoby/blob/main/CODE_OF_CONDUCT.md\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License].\n\n[MIT License]: https://opensource.org/licenses/MIT\n\n## Code of Conduct\n\nEveryone interacting in the Astronoby project's codebases, issue trackers, chat\nrooms and mailing lists are expected to follow the [code of conduct].\n\n[code of conduct]: https://github.com/rhannequin/astronoby/blob/main/CODE_OF_CONDUCT.md\n","funding_links":["https://github.com/sponsors/rhannequin"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhannequin%2Fastronoby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhannequin%2Fastronoby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhannequin%2Fastronoby/lists"}