README.md 1.8 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # ![Kosmorro](assets/png/kosmorro-logo.png)
  2. ## About the project
  3. Kosmorro is a software that allows you to compute the ephemeris for a date, a month or a year.
  4. ## Installation
  5. ### Requirements
  6. To use this software, you will need the following software:
  7. - Python ≥ 3.7.0
  8. - PIP
  9. - [Pipenv](https://pypi.org/project/pipenv/)
  10. Clone this repository and run `pipenv sync` to install all the dependencies.
  11. # Running Kosmorro
  12. Because it's still on an early-development stage, to run Kosmorro, you will need to prefix your commands `pipenv run`.
  13. A `setup.py` file will come later to manage installation in the real world.
  14. ## Usage
  15. ```
  16. kosmorro.py [-h] [--latitude LATITUDE] [--longitude LONGITUDE]
  17. [--altitude ALTITUDE] [--date DATE] [--month MONTH]
  18. year
  19. Compute the ephemeris for a given day/month/year.
  20. positional arguments:
  21. year The year you want to compute the ephemeris for
  22. optional arguments:
  23. -h, --help show this help message and exit
  24. --latitude LATITUDE, -lat LATITUDE
  25. The observer's position on Earth (latitude)
  26. --longitude LONGITUDE, -lon LONGITUDE
  27. The observer's position on Earth (longitude)
  28. --altitude ALTITUDE, -alt ALTITUDE
  29. The observer's position on Earth (altitude)
  30. --date DATE, -d DATE A number between 1 and 28, 29, 30 or 31 (depending on
  31. the month). The date you want to compute the ephemeris
  32. for
  33. --month MONTH, -m MONTH
  34. A number between 1 and 12. The month you want to
  35. compute the ephemeris for (defaults to the current
  36. month if the day is defined)
  37. By default, the observer will be set at position (0,0) with an altitude of 0.
  38. You will more likely want to change that.
  39. ```