astro

Version, currently master branch1 version
  • master branchlatestNov 9, 2020

github.com/dukenguyenxyz/astro.cr

Astronomy Algorithms in Crystal

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  astro:
    github: dukenguyenxyz/astro.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.35.1
License
MIT
Author
Duke Nguyen

Dependencies

This version declares no dependencies.

README

Astro

Repository of astronomical algorithms in Crystal

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      astro:
        github: dukeraphaelng/astro.cr
  2. Run shards install

Usage

require "astro"

Chapters from Meeus, Jean (1998) Astronomical Algorithms, 2nd ed.

    1. Julian Day
    1. Date of Easter
    1. Jewish and Moslem Calendars
    1. Dynamical Time and Universal Time

Contributing

  1. Fork it (https://github.com/dukeraphaelng/astro.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors