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