OGRePy 1.0.1__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ogrepy-1.2.0/OGRePy/__init__.py +46 -0
- {ogrepy-1.0.1 → ogrepy-1.2.0}/OGRePy/_core.py +376 -180
- {ogrepy-1.0.1 → ogrepy-1.2.0}/OGRePy/abc.py +21 -1
- ogrepy-1.2.0/OGRePy/docs/OGRePy_Documentation.html +14629 -0
- ogrepy-1.2.0/OGRePy/docs/OGRePy_Documentation.ipynb +7752 -0
- ogrepy-1.2.0/OGRePy/docs/OGRePy_Documentation.pdf +0 -0
- {ogrepy-1.0.1 → ogrepy-1.2.0/OGRePy.egg-info}/PKG-INFO +263 -105
- {ogrepy-1.0.1 → ogrepy-1.2.0}/OGRePy.egg-info/SOURCES.txt +4 -1
- ogrepy-1.2.0/OGRePy.egg-info/requires.txt +2 -0
- ogrepy-1.0.1/README.md → ogrepy-1.2.0/PKG-INFO +2019 -1803
- ogrepy-1.0.1/OGRePy.egg-info/PKG-INFO → ogrepy-1.2.0/README.md +1961 -1861
- {ogrepy-1.0.1 → ogrepy-1.2.0}/pyproject.toml +22 -7
- ogrepy-1.0.1/OGRePy/__init__.py +0 -32
- ogrepy-1.0.1/OGRePy.egg-info/requires.txt +0 -2
- {ogrepy-1.0.1 → ogrepy-1.2.0}/LICENSE.txt +0 -0
- {ogrepy-1.0.1 → ogrepy-1.2.0}/OGRePy/py.typed +0 -0
- {ogrepy-1.0.1 → ogrepy-1.2.0}/OGRePy.egg-info/dependency_links.txt +0 -0
- {ogrepy-1.0.1 → ogrepy-1.2.0}/OGRePy.egg-info/top_level.txt +0 -0
- {ogrepy-1.0.1 → ogrepy-1.2.0}/setup.cfg +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
r"""
|
|
2
|
+
# OGRePy: An Object-Oriented General Relativity Package for Python
|
|
3
|
+
v1.2.0 (2024-09-15)
|
|
4
|
+
|
|
5
|
+
By **Barak Shoshany**\
|
|
6
|
+
Email: <baraksh@gmail.com>\
|
|
7
|
+
Website: <https://baraksh.com/>\
|
|
8
|
+
GitHub: <https://github.com/bshoshany>
|
|
9
|
+
|
|
10
|
+
GitHub repository: <https://github.com/bshoshany/OGRePy>\
|
|
11
|
+
PyPi project: <https://pypi.org/project/OGRePy/>
|
|
12
|
+
|
|
13
|
+
Based on the Mathematica package [OGRe](https://github.com/bshoshany/OGRe) by Barak Shoshany.
|
|
14
|
+
|
|
15
|
+
Copyright (c) 2024 [Barak Shoshany](https://baraksh.com/). Licensed under the [MIT license](https://github.com/bshoshany/OGRePy/blob/master/LICENSE.txt).
|
|
16
|
+
|
|
17
|
+
If you use this package in software of any kind, please provide a link to [the GitHub repository](https://github.com/bshoshany/OGRePy) in the source code and documentation.
|
|
18
|
+
|
|
19
|
+
If you use this package in published research, please cite it as follows:
|
|
20
|
+
|
|
21
|
+
* Barak Shoshany, *"OGRePy: An Object-Oriented General Relativity Package for Python"*, [doi:10.48550/arXiv.2409.03803](https://doi.org/10.48550/arXiv.2409.03803), [arXiv:2409.03803](https://arxiv.org/abs/2409.03803) (September 2024)
|
|
22
|
+
|
|
23
|
+
You can use the following BibTeX entry:
|
|
24
|
+
|
|
25
|
+
```bibtex
|
|
26
|
+
@article{Shoshany2024_OGRePy,
|
|
27
|
+
archiveprefix = {arXiv},
|
|
28
|
+
author = {Barak Shoshany},
|
|
29
|
+
doi = {10.48550/arXiv.2409.03803},
|
|
30
|
+
eprint = {2409.03803},
|
|
31
|
+
title = {{OGRePy: An Object-Oriented General Relativity Package for Python}},
|
|
32
|
+
year = {2024}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
If you found this project useful, please consider [starring it on GitHub](https://github.com/bshoshany/OGRePy/stargazers)! This allows me to see how many people are using my code, and motivates me to keep working to improve it.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
# Import SymPy (for convenience, so we don't have to import it to the notebook separately).
|
|
40
|
+
import sympy as s
|
|
41
|
+
|
|
42
|
+
# Import all public OGRePy objects.
|
|
43
|
+
from ._core import Coordinates, CovariantD, Metric, OGRePyError, PartialD, Tensor, __version__, calc, cite, compare, diag, doc, func, info, options, release_date, sym, syms, update_check, welcome
|
|
44
|
+
|
|
45
|
+
# The names that will be exported if using `from OGRePy import *`. Contains exactly all the names imported above.
|
|
46
|
+
__all__: list[str] = ["s", "Coordinates", "CovariantD", "Metric", "OGRePyError", "PartialD", "Tensor", "__version__", "calc", "cite", "compare", "diag", "doc", "func", "info", "options", "release_date", "sym", "syms", "update_check", "welcome"]
|