pegasustools 0.0.7__py3-none-any.whl

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.
@@ -0,0 +1,15 @@
1
+ """
2
+ Copyright (c) 2025 Robert Caddy. All rights reserved.
3
+
4
+ pegasustools: Analysis package for the Pegasus PIC code.
5
+ """
6
+
7
+ # Import all relevant modules into the pegasustools namespace
8
+ from pegasustools.file1 import times_2
9
+ from pegasustools.file2 import times_6
10
+
11
+ # Set version
12
+ from ._version import version as __version__
13
+
14
+ # Setup what gets imported with import *
15
+ __all__ = ["__version__", "times_2", "times_6"]
@@ -0,0 +1,21 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
6
+ TYPE_CHECKING = False
7
+ if TYPE_CHECKING:
8
+ from typing import Tuple
9
+ from typing import Union
10
+
11
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
12
+ else:
13
+ VERSION_TUPLE = object
14
+
15
+ version: str
16
+ __version__: str
17
+ __version_tuple__: VERSION_TUPLE
18
+ version_tuple: VERSION_TUPLE
19
+
20
+ __version__ = version = '0.0.7'
21
+ __version_tuple__ = version_tuple = (0, 0, 7)
@@ -0,0 +1,2 @@
1
+ version: str
2
+ version_tuple: tuple[int, int, int] | tuple[int, int, int, str, str]
pegasustools/file1.py ADDED
@@ -0,0 +1,2 @@
1
+ def times_2(x: int) -> int:
2
+ return 2 * x
pegasustools/file2.py ADDED
@@ -0,0 +1,5 @@
1
+ import pegasustools.file1 as pt_1
2
+
3
+
4
+ def times_6(x: int) -> int:
5
+ return 3 * pt_1.times_2(x)
pegasustools/py.typed ADDED
File without changes
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.4
2
+ Name: pegasustools
3
+ Version: 0.0.7
4
+ Summary: Analysis package for the Pegasus PIC code.
5
+ Project-URL: Homepage, https://github.com/PegasusPIC/pegasustools
6
+ Project-URL: Bug Tracker, https://github.com/PegasusPIC/pegasustools/issues
7
+ Project-URL: Discussions, https://github.com/PegasusPIC/pegasustools/discussions
8
+ Project-URL: Changelog, https://github.com/PegasusPIC/pegasustools/releases
9
+ Author-email: Robert Caddy <rcaddy@princeton.edu>
10
+ License-File: LICENSE
11
+ Classifier: Development Status :: 1 - Planning
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Scientific/Engineering
21
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
22
+ Classifier: Topic :: Scientific/Engineering :: Physics
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.13
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest-cov>=6; extra == 'dev'
27
+ Requires-Dist: pytest>=8; extra == 'dev'
28
+ Provides-Extra: docs
29
+ Requires-Dist: furo>=2023.08.17; extra == 'docs'
30
+ Requires-Dist: myst-parser>=0.13; extra == 'docs'
31
+ Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
32
+ Requires-Dist: sphinx-copybutton; extra == 'docs'
33
+ Requires-Dist: sphinx>=7.0; extra == 'docs'
34
+ Provides-Extra: test
35
+ Requires-Dist: pytest-cov>=6; extra == 'test'
36
+ Requires-Dist: pytest>=8; extra == 'test'
37
+ Description-Content-Type: text/markdown
38
+
39
+ # pegasustools
40
+
41
+ [![Actions Status][actions-badge]][actions-link]
42
+ [![Documentation Status][rtd-badge]][rtd-link]
43
+
44
+ [![PyPI version][pypi-version]][pypi-link]
45
+ [![Conda-Forge][conda-badge]][conda-link]
46
+ [![PyPI platforms][pypi-platforms]][pypi-link]
47
+
48
+ [![GitHub Discussion][github-discussions-badge]][github-discussions-link]
49
+
50
+ <!-- SPHINX-START -->
51
+
52
+ <!-- prettier-ignore-start -->
53
+ [actions-badge]: https://github.com/PegasusPIC/pegasustools/workflows/CI/badge.svg
54
+ [actions-link]: https://github.com/PegasusPIC/pegasustools/actions
55
+ [conda-badge]: https://img.shields.io/conda/vn/conda-forge/pegasustools
56
+ [conda-link]: https://github.com/conda-forge/pegasustools-feedstock
57
+ [github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
58
+ [github-discussions-link]: https://github.com/PegasusPIC/pegasustools/discussions
59
+ [pypi-link]: https://pypi.org/project/pegasustools/
60
+ [pypi-platforms]: https://img.shields.io/pypi/pyversions/pegasustools
61
+ [pypi-version]: https://img.shields.io/pypi/v/pegasustools
62
+ [rtd-badge]: https://readthedocs.org/projects/pegasustools/badge/?version=latest
63
+ [rtd-link]: https://pegasustools.readthedocs.io/en/latest/?badge=latest
64
+
65
+ <!-- prettier-ignore-end -->
@@ -0,0 +1,10 @@
1
+ pegasustools/__init__.py,sha256=qGrAqancBdx1z-33ZWPXoQcMSx8XfuDHNfaFCXdr5iI,411
2
+ pegasustools/_version.py,sha256=Fi0KXFzRbmtJaZ31ANCJStB858SeU6K67Widq0qwDIs,511
3
+ pegasustools/_version.pyi,sha256=o7uNL6MhuJoiqpEnriU7rBT6TmkJZA-i2qMoNz9YcgQ,82
4
+ pegasustools/file1.py,sha256=RR5PIzFrrV-JDnILqv1Istw1agiYgyhHXl_daJtxwiY,45
5
+ pegasustools/file2.py,sha256=YD7z_b2iBxVZWAHnKG68wT7OEubcUpN5KnrWPQQV6Dk,95
6
+ pegasustools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ pegasustools-0.0.7.dist-info/METADATA,sha256=6nFwZBrqVyQeEjX-s0EXvseiHHMyG60sEDJHZSXfGNw,2995
8
+ pegasustools-0.0.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
9
+ pegasustools-0.0.7.dist-info/licenses/LICENSE,sha256=u3Gf7P1OgyT0axyG7sJSel03dImXGZP1cth7VMfrEVc,1052
10
+ pegasustools-0.0.7.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,19 @@
1
+ Copyright 2025 Robert Caddy
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.