Jérôme Deuchnord
0b12e71da8
ci(compatibility): test on more Python versions and on macOS ( #131 )
BREAKING CHANGE: on Ubuntu 20.04+, the `texlive-latex-extra` package is needed to generate the PDF output
pirms 3 gadiem
Jérôme Deuchnord
c39cd3aefa
fix: handle out of range date error
pirms 4 gadiem
Jérôme Deuchnord
75eba4977c
fix: avoid returning ephemerides for yesterday or tomorrow
pirms 4 gadiem
Jérôme Deuchnord
d6d0106795
docs: update --help message
pirms 4 gadiem
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
pirms 4 gadiem
Jérôme Deuchnord
6618712030
refactor: simplify ephemerides, remove dead code
BREAKING CHANGE: the JSON format has deeply changed to enhance its
consistency
pirms 4 gadiem
brain_face
b9454be459
feat: add support for relative dates on --date argument
pirms 4 gadiem
Jérôme Deuchnord
5dec0dcc4c
feat: add support for environment variables
The observer's position and timezone can now be set using the following
environment variables:
- `KOSMORRO_LATITUDE`: the observer's latitude
- `KOSMORRO_LONGITUDE`: the observer's longitude
- `KOSMORRO_TIMEZONE`: the observer's timezone
pirms 4 gadiem
Jérôme Deuchnord
1cd54f42bc
refactor: remove unused functions in ephemerides.py
pirms 4 gadiem
Jérôme Deuchnord
32489ae355
feat: move the date to a single argument
BREAKING CHANGE: the --day, --month and --year arguments have been removed in the
favor of a single one.
pirms 4 gadiem
Jérôme Deuchnord
d7730bd2ad
feat: add support for timezones
pirms 4 gadiem
Jérôme Deuchnord
72527ae886
ci: add E2E tests
pirms 4 gadiem
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.
pirms 4 gadiem
Jérôme Deuchnord
38fc06657f
feat: add colors in the text return
Colors can be disabled with the new `--no-colors` argument.
pirms 5 gadiem
Jérôme Deuchnord
c4f07a1d64
feat(i18n): make the strings translatable
pirms 5 gadiem
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).
pirms 5 gadiem
Jérôme Deuchnord
fa2da9e4a9
feat(events): add support for opposition events
pirms 5 gadiem
Jérôme Deuchnord
d079fc7b20
fix(position): remove useless altitude argument
BREAKING CHANGE: invoking kosmorro command with the --altitude argument
will now fail with an "unrecognized arguments" error.
pirms 5 gadiem
Jérôme Deuchnord
2511d31c37
fix(dumper): display the right date on output text
pirms 5 gadiem
Jérôme Deuchnord
5f74b08d15
feat: add argument to get the current version
pirms 5 gadiem
Jérôme Deuchnord
5c8d885707
Add --clear-cache option
pirms 5 gadiem
Jérôme Deuchnord
da64382b3b
Add JSON output
pirms 5 gadiem
Jérôme Deuchnord
afd2f94882
Bump version 0.1.0
pirms 5 gadiem
Jérôme Deuchnord
392b2dd7dc
Refactorization of the computation functions
pirms 5 gadiem
Jérôme Deuchnord
f545dfd0cd
Fix Python files header
pirms 5 gadiem
Jérôme Deuchnord
15632cc9b3
Fix lint issues
pirms 5 gadiem
Jérôme Deuchnord
d444e4e727
Return the ephemeris in a nice table 🤩
pirms 5 gadiem
Jérôme Deuchnord
fda3c4fce0
Update config and docs
pirms 5 gadiem
Jérôme Deuchnord
cb65bb99ab
Update branding
pirms 5 gadiem
Jérôme Deuchnord
0e692e11fa
Compute planets' ephemeris
pirms 5 gadiem
Jérôme Deuchnord
47b9297a78
Compute sunrise, sunset and phase moon
pirms 5 gadiem
Jérôme Deuchnord
dc1b27dfbf
Init main program
pirms 5 gadiem