Jérôme Deuchnord
8b723bfd22
refactor: use `enum` instead of `dict`s for the events and moon phase ( #129 )
BREAKING CHANGE: some methodes in Event and MoonPhase have been dropped
in favor of `enum.Enum`'s `name` and `value` properties.
vor 4 Jahren
Jérôme Deuchnord
c39cd3aefa
fix: handle out of range date error
vor 4 Jahren
Jérôme Deuchnord
75eba4977c
fix: avoid returning ephemerides for yesterday or tomorrow
vor 4 Jahren
Jérôme Deuchnord
4ea148e8d1
feat: display a graph in the PDF output for the ephemerides
Show a graph instead of a table for the ephemerides in the PDF output
vor 4 Jahren
Jérôme Deuchnord
6618712030
refactor: simplify ephemerides, remove dead code
BREAKING CHANGE: the JSON format has deeply changed to enhance its
consistency
vor 4 Jahren
Jérôme Deuchnord
9dbc093631
feat: add support for maximal elongations of Mercury and Venus
vor 4 Jahren
Jérôme Deuchnord
d7730bd2ad
feat: add support for timezones
vor 4 Jahren
Jérôme Deuchnord
ebbcce5811
test: add tests to enhance coverage
vor 4 Jahren
Jérôme Deuchnord
2fadc2a95e
feat: add ability to save PDF file
You can now use the `--format=pdf` argument to save the data computed by
Kosmorro to a PDF file. The new `--output` argument must be given with
the export file path.
vor 4 Jahren
Jérôme Deuchnord
38fc06657f
feat: add colors in the text return
Colors can be disabled with the new `--no-colors` argument.
vor 5 Jahren
Jérôme Deuchnord
c4f07a1d64
feat(i18n): make the strings translatable
vor 5 Jahren
Jérôme Deuchnord
8d60a2ad99
feat(events): add support for conjunctions
vor 5 Jahren
Jérôme Deuchnord
4029ba9ec2
feat: rename fields in the JSON response for more coherence
BREAKING CHANGE: the fields "details" and "ephemerides" have been switched.
vor 5 Jahren
Jérôme Deuchnord
467c8227df
feat(ephemerides): compute ephemerides if the position is set only
BREAKING CHANGE: invoking kosmorro command without --latitude and
--longitude arguments will now only output the Moon phase and,
eventually, the events for the given date (or today if date not given).
vor 5 Jahren
Jérôme Deuchnord
fa2da9e4a9
feat(events): add support for opposition events
vor 5 Jahren
Jérôme Deuchnord
6856d45643
feat(moon-phase): compute more accurate Moon phase
BREAKING CHANGE: JSON format now returns the moon phase as an object
instead of a string
vor 5 Jahren
Jérôme Deuchnord
a8dfe3bd11
Add unit tests, fix variable names
vor 5 Jahren