astro-senpai 0.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.
@@ -0,0 +1,146 @@
1
+ coverage-app.xml
2
+ junit-app.xml
3
+ uv.lock
4
+
5
+ .pypirc
6
+
7
+ senpai/api/logs/
8
+ docs/api
9
+
10
+ *-env
11
+
12
+ .process
13
+ .test/
14
+
15
+ *.DS_Store
16
+ *.vscode
17
+ *.SP3
18
+ *.all
19
+ example_master*yaml
20
+ .config*
21
+
22
+ *.pem
23
+
24
+ *.udl
25
+ *.openapi
26
+
27
+ *.avi
28
+ *.mp4
29
+
30
+ .example
31
+ .test
32
+
33
+ packages/
34
+
35
+ examples/*json
36
+
37
+ # Byte-compiled / optimized / DLL files
38
+ __pycache__/
39
+ *.py[cod]
40
+ *$py.class
41
+
42
+ # C extensions
43
+ *.so
44
+
45
+ # Distribution / packaging
46
+ .Python
47
+ build/
48
+ develop-eggs/
49
+ dist/
50
+ downloads/
51
+ eggs/
52
+ .eggs/
53
+ lib/
54
+ lib64/
55
+ parts/
56
+ sdist/
57
+ var/
58
+ wheels/
59
+ *.egg-info/
60
+ .installed.cfg
61
+ *.egg
62
+ MANIFEST
63
+
64
+ # PyInstaller
65
+ # Usually these files are written by a python script from a template
66
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
67
+ *.manifest
68
+ *.spec
69
+
70
+ # Installer logs
71
+ pip-log.txt
72
+ pip-delete-this-directory.txt
73
+
74
+ # Unit test / coverage reports
75
+ htmlcov/
76
+ .tox/
77
+ .coverage
78
+ .coverage.*
79
+ .cache
80
+ nosetests.xml
81
+ coverage.xml
82
+ *.cover
83
+ .hypothesis/
84
+ .pytest_cache/
85
+
86
+ # Translations
87
+ *.mo
88
+ *.pot
89
+
90
+ # Django stuff:
91
+ *.log
92
+ local_settings.py
93
+ db.sqlite3
94
+
95
+ # Flask stuff:
96
+ instance/
97
+ .webassets-cache
98
+
99
+ # Scrapy stuff:
100
+ .scrapy
101
+
102
+ # Sphinx documentation
103
+ docs/_build/
104
+
105
+ # PyBuilder
106
+ target/
107
+
108
+ # Jupyter Notebook
109
+ .ipynb_checkpoints
110
+
111
+ # pyenv
112
+ .python-version
113
+
114
+ # celery beat schedule file
115
+ celerybeat-schedule
116
+
117
+ # SageMath parsed files
118
+ *.sage.py
119
+
120
+ # Environments
121
+ .env
122
+ .venv
123
+ env/
124
+ venv/
125
+ ENV/
126
+ env.bak/
127
+ venv.bak/
128
+
129
+ # Spyder project settings
130
+ .spyderproject
131
+ .spyproject
132
+
133
+ # Rope project settings
134
+ .ropeproject
135
+
136
+ # mkdocs documentation
137
+ /site
138
+
139
+ # mypy
140
+ .mypy_cache/
141
+
142
+ stars-with-metadata-fc46157d-13b9-461b-ac71-7a528f419e43.json
143
+ tests/data/geodss*/
144
+ tests/imageset/
145
+ hello.png
146
+ remote-test-paths.txt
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.4
2
+ Name: astro-senpai
3
+ Version: 0.0.0
4
+ Summary: SENPAI is a tool for analyzing and processing astronomical images. SENPAI is going through peer review and will be released soon.
5
+ Author-email: Zach Gazak <jzg@alum.mit.edu>
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: arrow>=1.3.0
8
+ Requires-Dist: astropy>=6.1.7
9
+ Requires-Dist: colorlog>=6.9.0
10
+ Requires-Dist: fastapi>=0.115.12
11
+ Requires-Dist: imageio>=2.37.0
12
+ Requires-Dist: matplotlib>=3.10.1
13
+ Requires-Dist: numpy>=2.2.4
14
+ Requires-Dist: opencv-python-headless>=4.11.0.86
15
+ Requires-Dist: pandas>=2.3.1
16
+ Requires-Dist: photutils>=2.0.2
17
+ Requires-Dist: pydantic>=2.11.1
18
+ Requires-Dist: pypng>=0.20220715.0
19
+ Requires-Dist: python-multipart>=0.0.20
20
+ Requires-Dist: pyyaml>=6.0.2
21
+ Requires-Dist: rawpy>=0.25.1
22
+ Requires-Dist: scikit-learn>=1.7.1
23
+ Requires-Dist: seaborn>=0.13.2
24
+ Requires-Dist: tqdm>=4.67.1
25
+ Requires-Dist: uvicorn>=0.34.0
26
+ Provides-Extra: dev
27
+ Requires-Dist: pytest-asyncio>=0.25.2; extra == 'dev'
28
+ Requires-Dist: pytest-cov>=5.0.0; extra == 'dev'
29
+ Requires-Dist: pytest-datadir>=1.5.0; extra == 'dev'
30
+ Requires-Dist: pytest-mock>=3.14.0; extra == 'dev'
31
+ Requires-Dist: pytest>=8.3.3; extra == 'dev'
32
+ Requires-Dist: ruff>=0.3.0; extra == 'dev'
File without changes
File without changes
@@ -0,0 +1,93 @@
1
+ [project]
2
+ name = "astro-senpai"
3
+ version = "0.0.0"
4
+ authors = [
5
+ { name = "Zach Gazak", email = "jzg@alum.mit.edu" }
6
+ ]
7
+ description = "SENPAI is a tool for analyzing and processing astronomical images. SENPAI is going through peer review and will be released soon."
8
+ readme = "README.md"
9
+ requires-python = ">=3.10"
10
+ dependencies = [
11
+ "arrow>=1.3.0",
12
+ "astropy>=6.1.7",
13
+ "colorlog>=6.9.0",
14
+ "fastapi>=0.115.12",
15
+ "imageio>=2.37.0",
16
+ "matplotlib>=3.10.1",
17
+ "numpy>=2.2.4",
18
+ "opencv-python-headless>=4.11.0.86",
19
+ "pandas>=2.3.1",
20
+ "photutils>=2.0.2",
21
+ "pydantic>=2.11.1",
22
+ "pypng>=0.20220715.0",
23
+ "python-multipart>=0.0.20",
24
+ "pyyaml>=6.0.2",
25
+ "rawpy>=0.25.1",
26
+ "scikit-learn>=1.7.1",
27
+ "seaborn>=0.13.2",
28
+ "tqdm>=4.67.1",
29
+ "uvicorn>=0.34.0",
30
+ ]
31
+
32
+ [project.optional-dependencies]
33
+ dev = [
34
+ "ruff>=0.3.0",
35
+ "pytest>=8.3.3",
36
+ "pytest-datadir>=1.5.0",
37
+ "pytest-cov>=5.0.0",
38
+ "pytest-mock>=3.14.0",
39
+ "pytest-asyncio>=0.25.2",
40
+ ]
41
+
42
+
43
+ [tool.pytest.ini_options]
44
+ testpaths = ["senpai/api/tests", "senpai/engine/tests"]
45
+ addopts = "--cov-report=term-missing"
46
+
47
+ [tool.coverage.run]
48
+ omit = [
49
+ "senpai/app/tests/*",
50
+ "senpai/engine/tests/*"
51
+ ]
52
+
53
+ [tool.coverage.report]
54
+ exclude_lines = [
55
+ "pragma: no cover",
56
+ "def __repr__",
57
+ "if self.debug:",
58
+ "raise NotImplementedError",
59
+ "if __name__ == .__main__.:",
60
+ "pass",
61
+ "raise ImportError"
62
+ ]
63
+
64
+ # Formatting
65
+
66
+ [tool.ruff]
67
+ # Same as Black.
68
+ line-length = 120
69
+ target-version = "py311"
70
+
71
+ # Enable Pyflakes (`F`), pycodestyle (`E`), isort (`I`), plus all optional rules
72
+ select = ["E", "F", "I", "B", "W"]
73
+ ignore = []
74
+
75
+ # Allow autofix behavior for all enabled rules (when `--fix`) is provided.
76
+ fixable = ["ALL"]
77
+ unfixable = []
78
+
79
+ # Allow unused variables when underscore-prefixed.
80
+ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
81
+
82
+ [tool.ruff.format]
83
+ quote-style = "double"
84
+ indent-style = "space"
85
+ skip-magic-trailing-comma = false
86
+ line-ending = "auto"
87
+
88
+ [tool.ruff.isort]
89
+ known-first-party = ["senpai"]
90
+
91
+ [build-system]
92
+ requires = ["hatchling"]
93
+ build-backend = "hatchling.build"