Jérôme Deuchnord
c9523f27f3
chore: fix CI after 0.10.2 release
преди 4 години
Jérôme Deuchnord
a12004c549
build: bump version 0.10.2
преди 4 години
Jérôme Deuchnord
6988e77838
fix: NoneType error on JSON output without position ( #199 )
преди 4 години
Nic
4b1f06e221
feat: guess output format from output file extension ( #197 )
guess output format based on output file extension
check for empty output file
default to .txt if no file extension provided
change default output format back to txt
add tests
update man page
fix default output format
directly return output dumper
use keys from dumpers in key error message
fix man pages
prevent output format from being overridden
use first dumper key as default format
update messages and formatting
update help message for format argument
specify list type in InvalidOutputFormat exception
make default output format more apparent
update messages
преди 4 години
Jérôme Deuchnord
d85ee27c2f
docs(license): revert to license GNU AGPL ( #196 )
This reverts commit 6ffe0ad07b .
преди 4 години
dependabot[bot]
2a6b620b53
chore(deps-dev): bump black from 21.6b0 to 21.7b0 ( #193 )
* chore(deps-dev): bump black from 21.6b0 to 21.7b0
Bumps [black](https://github.com/psf/black ) from 21.6b0 to 21.7b0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* ci: update Black version
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jérôme Deuchnord <jerome@deuchnord.fr>
преди 4 години
Jérôme Deuchnord
5cab68ee92
feat: replace latitude and longitude with one argument alone: --position ( #191 )
* feat: replace latitude and longitude with one argument alone: --position
* feat: add support for Plus Code
From Wikipedia: “The Open Location Code is a geocode system for
identifying an area anywhere on the Earth.”
A Plus Code has a the form of small alphanumerical codes like: `9F25J3H5+M8`
* docs: update the manpage
преди 4 години
Jérôme Deuchnord
6ffe0ad07b
docs(license): change license from GNU AGPL v3 to CeCILL v2.1 ( #182 )
преди 4 години
Jérôme Deuchnord
6d55cba318
build: bump version 0.10.1
преди 4 години
Jérôme Deuchnord
1fe90d2603
fix: enhance forward compatibility with Kosmorrolib ( #189 )
преди 4 години
Jérôme Deuchnord
9500efe33e
fix(pdf): update message on PDF generation failure ( #187 )
преди 4 години
Jérôme Deuchnord
8d71b611e0
fix(pdf): fix the failure on PDF saving ( #186 )
преди 4 години
Jérôme Deuchnord
8a415b081b
build: bump version 0.10.0
преди 4 години
Jérôme Deuchnord
6661984973
fix: fix English messages ( #178 )
Co-authored-by: Damgermys <damhub28@gmail.com>
Co-authored-by: Damgermys <damhub28@gmail.com>
преди 4 години
Jérôme Deuchnord
b3527d079f
fix: fix some issues introduced in #162 ( #177 )
преди 4 години
Jérôme Deuchnord
88be20a5b4
fix: English messages ( #178 )
Co-authored-by: Damgermys <damhub28@gmail.com>
Co-authored-by: Damgermys <damhub28@gmail.com>
преди 4 години
Jérôme Deuchnord
87206d7068
feat: use Kosmorrolib ( #162 )
преди 4 години
Jérôme Deuchnord
4496cc2fc7
build: bump version 0.9.0
преди 5 години
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
преди 5 години
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.
преди 5 години
Jérôme Deuchnord
331ab99aa1
feat(event): add support for moon apogee and perigee
преди 5 години
Jérôme Deuchnord
fd4c612a30
build: bump version 0.8.1
преди 5 години
Jérôme Deuchnord
997cf014c1
refactor: remove dead code
преди 5 години
Jérôme Deuchnord
c39cd3aefa
fix: handle out of range date error
преди 5 години
Jérôme Deuchnord
75eba4977c
fix: avoid returning ephemerides for yesterday or tomorrow
преди 5 години
Jérôme Deuchnord
e05467f096
build: bump version 0.8.0
преди 5 години
Jérôme Deuchnord
d6d0106795
docs: update --help message
преди 5 години
Jérôme Deuchnord
cd121969e6
fix: make the graph translatable
преди 5 години
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
преди 6 години
Jérôme Deuchnord
6618712030
refactor: simplify ephemerides, remove dead code
BREAKING CHANGE: the JSON format has deeply changed to enhance its
consistency
преди 6 години
brain_face
b9454be459
feat: add support for relative dates on --date argument
преди 6 години
Jérôme Deuchnord
0284de452b
build: bump version 0.7.0
преди 6 години
Jérôme Deuchnord
d96e22f3b1
fix: fix wording in the PDF output
преди 6 години
Jérôme Deuchnord
b8d6ae2f51
feat: add support for occultations
преди 6 години
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
преди 6 години
Jérôme Deuchnord
2fb3a2c828
build: bump version 0.6.2
преди 6 години
Jérôme Deuchnord
c063f6e0f5
feat: add support for Moon conjunctions
преди 6 години
Jérôme Deuchnord
f2b5772e90
build: bump version 0.6.1
преди 6 години
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.
преди 6 години
Jérôme Deuchnord
87c1cdad9d
build: bump version 0.6.0
преди 6 години
Jérôme Deuchnord
9dbc093631
feat: add support for maximal elongations of Mercury and Venus
преди 6 години
Jérôme Deuchnord
d7730bd2ad
feat: add support for timezones
преди 6 години
Jérôme Deuchnord
aad9c0c935
build: bump version 0.5.2
преди 6 години
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.
преди 6 години
Jérôme Deuchnord
1dffd79d65
build: bump version 0.5.1
преди 6 години
Jérôme Deuchnord
56622c0092
build: bump version 0.5.0
преди 6 години
Jérôme Deuchnord
38fc06657f
feat: add colors in the text return
Colors can be disabled with the new `--no-colors` argument.
преди 6 години
Jérôme Deuchnord
c4f07a1d64
feat(i18n): make the strings translatable
преди 6 години