Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Jérôme Deuchnord committed Feb 4, 2020
1 parent f923eb9 commit 2fadc2a
Show file tree
Hide file tree
Showing 34 changed files with 1,093 additions and 52 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,6 +6,8 @@ kosmorro.egg-info
coverage.xml
node_modules/
package-lock.json
/kosmorrolib/assets/pdf/*
!/assets/pdf/*.tex

# Translation files are taken care on https://poeditor.com/join/project/GXuhLpdaoh
*.mo
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Expand Up @@ -14,6 +14,7 @@ skyfield = ">=1.13.0,<2.0.0"
tabulate = "*"
numpy = ">=1.17.0,<2.0.0"
termcolor = "*"
latex = "*"

[requires]
python_version = "3"
41 changes: 40 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# ![Kosmorro](assets/png/kosmorro-logo.png)
# ![Kosmorro](kosmorrolib/assets/png/kosmorro-logo.png)
[![codecov](https://codecov.io/gh/Deuchnord/kosmorro/branch/master/graph/badge.svg)](https://codecov.io/gh/Deuchnord/kosmorro) [![Version on PyPI](https://img.shields.io/pypi/v/kosmorro)](https://pypi.org/project/kosmorro) [![Discord](https://img.shields.io/discord/650237632533757965?logo=discord&label=%23kosmorro)](https://discord.gg/nyemBqE)

## About the project
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kosmorrolib/assets/moonphases/png/full-moon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kosmorrolib/assets/moonphases/png/new-moon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions kosmorrolib/assets/moonphases/svg/first-quarter.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions kosmorrolib/assets/moonphases/svg/full-moon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 74 additions & 0 deletions kosmorrolib/assets/moonphases/svg/last-quarter.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2fadc2a

Please sign in to comment.