astronomy-types 1.0.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.
- astronomy_types-1.0.0/LICENSE +1 -0
- astronomy_types-1.0.0/PKG-INFO +75 -0
- astronomy_types-1.0.0/README.md +63 -0
- astronomy_types-1.0.0/astronomy_types.egg-info/PKG-INFO +75 -0
- astronomy_types-1.0.0/astronomy_types.egg-info/SOURCES.txt +7 -0
- astronomy_types-1.0.0/astronomy_types.egg-info/dependency_links.txt +1 -0
- astronomy_types-1.0.0/astronomy_types.egg-info/top_level.txt +1 -0
- astronomy_types-1.0.0/setup.cfg +4 -0
- astronomy_types-1.0.0/setup.py +17 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
You can use this freely. But include the content of this license in your project.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: astronomy_types
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Type hints for Python astronomy projects
|
|
5
|
+
Home-page: https://github.com/Arturius771/astronomy_types
|
|
6
|
+
Author: Artur Foden
|
|
7
|
+
Author-email:
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Requires-Python: >=3.12.4
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
|
|
13
|
+
This project is intended to be used as a type _hinting_ system for a related project, `practical_astronomy`.
|
|
14
|
+
|
|
15
|
+
It felt plausible that it would be useful in other projects as well, so it has been spun off into an indepdenent file.
|
|
16
|
+
|
|
17
|
+
# Install
|
|
18
|
+
|
|
19
|
+
`pip install astronomy_types`
|
|
20
|
+
|
|
21
|
+
# Updating and Repackaging the Project with `setuptools`
|
|
22
|
+
|
|
23
|
+
To update and repackage this Python project using `setuptools` on macOS, follow these steps:
|
|
24
|
+
|
|
25
|
+
## 1. Install or Activate the Virtual Environment
|
|
26
|
+
|
|
27
|
+
It's recommended to use a virtual environment for isolation. If you don't already have a virtual environment, create and activate one:
|
|
28
|
+
|
|
29
|
+
### a. Create a virtual environment:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
python3 -m venv venv
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### b. Activate the virtual environment:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
source venv/bin/activate
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 2. Install Required Dependencies
|
|
42
|
+
|
|
43
|
+
Ensure that setuptools and wheel are installed in your environment:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install setuptools wheel twine
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
or
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip install -r requirements.txt
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 3. Update version number
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
setup(
|
|
59
|
+
name="my_project",
|
|
60
|
+
version="0.2.0", # Update this to the new version number
|
|
61
|
+
...
|
|
62
|
+
)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## 4. Build the dist
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
python3 setup.py sdist bdist_wheel
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## 5. Upload with `twine`
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
twine upload dist/*
|
|
75
|
+
```
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
This project is intended to be used as a type _hinting_ system for a related project, `practical_astronomy`.
|
|
2
|
+
|
|
3
|
+
It felt plausible that it would be useful in other projects as well, so it has been spun off into an indepdenent file.
|
|
4
|
+
|
|
5
|
+
# Install
|
|
6
|
+
|
|
7
|
+
`pip install astronomy_types`
|
|
8
|
+
|
|
9
|
+
# Updating and Repackaging the Project with `setuptools`
|
|
10
|
+
|
|
11
|
+
To update and repackage this Python project using `setuptools` on macOS, follow these steps:
|
|
12
|
+
|
|
13
|
+
## 1. Install or Activate the Virtual Environment
|
|
14
|
+
|
|
15
|
+
It's recommended to use a virtual environment for isolation. If you don't already have a virtual environment, create and activate one:
|
|
16
|
+
|
|
17
|
+
### a. Create a virtual environment:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
python3 -m venv venv
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### b. Activate the virtual environment:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
source venv/bin/activate
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## 2. Install Required Dependencies
|
|
30
|
+
|
|
31
|
+
Ensure that setuptools and wheel are installed in your environment:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install setuptools wheel twine
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
or
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install -r requirements.txt
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## 3. Update version number
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
setup(
|
|
47
|
+
name="my_project",
|
|
48
|
+
version="0.2.0", # Update this to the new version number
|
|
49
|
+
...
|
|
50
|
+
)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## 4. Build the dist
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
python3 setup.py sdist bdist_wheel
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## 5. Upload with `twine`
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
twine upload dist/*
|
|
63
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: astronomy_types
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Type hints for Python astronomy projects
|
|
5
|
+
Home-page: https://github.com/Arturius771/astronomy_types
|
|
6
|
+
Author: Artur Foden
|
|
7
|
+
Author-email:
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Requires-Python: >=3.12.4
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
|
|
13
|
+
This project is intended to be used as a type _hinting_ system for a related project, `practical_astronomy`.
|
|
14
|
+
|
|
15
|
+
It felt plausible that it would be useful in other projects as well, so it has been spun off into an indepdenent file.
|
|
16
|
+
|
|
17
|
+
# Install
|
|
18
|
+
|
|
19
|
+
`pip install astronomy_types`
|
|
20
|
+
|
|
21
|
+
# Updating and Repackaging the Project with `setuptools`
|
|
22
|
+
|
|
23
|
+
To update and repackage this Python project using `setuptools` on macOS, follow these steps:
|
|
24
|
+
|
|
25
|
+
## 1. Install or Activate the Virtual Environment
|
|
26
|
+
|
|
27
|
+
It's recommended to use a virtual environment for isolation. If you don't already have a virtual environment, create and activate one:
|
|
28
|
+
|
|
29
|
+
### a. Create a virtual environment:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
python3 -m venv venv
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### b. Activate the virtual environment:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
source venv/bin/activate
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 2. Install Required Dependencies
|
|
42
|
+
|
|
43
|
+
Ensure that setuptools and wheel are installed in your environment:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install setuptools wheel twine
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
or
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip install -r requirements.txt
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 3. Update version number
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
setup(
|
|
59
|
+
name="my_project",
|
|
60
|
+
version="0.2.0", # Update this to the new version number
|
|
61
|
+
...
|
|
62
|
+
)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## 4. Build the dist
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
python3 setup.py sdist bdist_wheel
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## 5. Upload with `twine`
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
twine upload dist/*
|
|
75
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
astronomy_typest
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="astronomy_types",
|
|
5
|
+
version="1.0.0",
|
|
6
|
+
py_modules=["astronomy_typest"], # without .py
|
|
7
|
+
author="Artur Foden",
|
|
8
|
+
author_email="",
|
|
9
|
+
description="Type hints for Python astronomy projects",
|
|
10
|
+
long_description=open('README.md').read(),
|
|
11
|
+
long_description_content_type="text/markdown",
|
|
12
|
+
url="https://github.com/Arturius771/astronomy_types",
|
|
13
|
+
classifiers=[
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
],
|
|
16
|
+
python_requires='>=3.12.4',
|
|
17
|
+
)
|