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.
4 vuotta sitten
Jérôme Deuchnord
c39cd3aefa
fix: handle out of range date error
4 vuotta sitten
Jérôme Deuchnord
75eba4977c
fix: avoid returning ephemerides for yesterday or tomorrow
4 vuotta sitten
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
4 vuotta sitten
Jérôme Deuchnord
6618712030
refactor: simplify ephemerides, remove dead code
BREAKING CHANGE: the JSON format has deeply changed to enhance its
consistency
4 vuotta sitten
Jérôme Deuchnord
9dbc093631
feat: add support for maximal elongations of Mercury and Venus
4 vuotta sitten
Jérôme Deuchnord
d7730bd2ad
feat: add support for timezones
4 vuotta sitten
Jérôme Deuchnord
ebbcce5811
test: add tests to enhance coverage
4 vuotta sitten
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.
4 vuotta sitten
Jérôme Deuchnord
38fc06657f
feat: add colors in the text return
Colors can be disabled with the new `--no-colors` argument.
5 vuotta sitten
Jérôme Deuchnord
c4f07a1d64
feat(i18n): make the strings translatable
5 vuotta sitten
Jérôme Deuchnord
8d60a2ad99
feat(events): add support for conjunctions
5 vuotta sitten
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.
5 vuotta sitten
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).
5 vuotta sitten
Jérôme Deuchnord
fa2da9e4a9
feat(events): add support for opposition events
5 vuotta sitten
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
5 vuotta sitten
Jérôme Deuchnord
a8dfe3bd11
Add unit tests, fix variable names
5 vuotta sitten