Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
Jérôme Deuchnord edc35ea202
Remove debug dump
5 роки тому
assets Update branding 5 роки тому
.gitignore Compute planets' ephemeris 5 роки тому
.pylintrc Update config and docs 5 роки тому
LICENSE.md Add AGPL-v3.0 license 5 роки тому
Pipfile Update config and docs 5 роки тому
Pipfile.lock Update config and docs 5 роки тому
README.md Update config and docs 5 роки тому
ephemeris.py Remove debug dump 5 роки тому
kosmorro.py Update config and docs 5 роки тому

README.md

Kosmorro

About the project

Kosmorro is a software that allows you to compute the ephemeris for a date, a month or a year.

Installation

Requirements

To use this software, you will need the following software:

Clone this repository and run pipenv sync to install all the dependencies.

Running Kosmorro

Because it’s still on an early-development stage, to run Kosmorro, you will need to prefix your commands pipenv run. A setup.py file will come later to manage installation in the real world.

Usage

kosmorro.py [-h] [--latitude LATITUDE] [--longitude LONGITUDE]
            [--altitude ALTITUDE] [--date DATE] [--month MONTH]
            year

Compute the ephemeris for a given day/month/year.

positional arguments:
  year                  The year you want to compute the ephemeris for

optional arguments:
  -h, --help            show this help message and exit
  --latitude LATITUDE, -lat LATITUDE
                        The observer's position on Earth (latitude)
  --longitude LONGITUDE, -lon LONGITUDE
                        The observer's position on Earth (longitude)
  --altitude ALTITUDE, -alt ALTITUDE
                        The observer's position on Earth (altitude)
  --date DATE, -d DATE  A number between 1 and 28, 29, 30 or 31 (depending on
                        the month). The date you want to compute the ephemeris
                        for
  --month MONTH, -m MONTH
                        A number between 1 and 12. The month you want to
                        compute the ephemeris for (defaults to the current
                        month if the day is defined)

By default, the observer will be set at position (0,0) with an altitude of 0.
You will more likely want to change that.