citrascope 0.5.1__tar.gz → 0.6.1__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.
- {citrascope-0.5.1 → citrascope-0.6.1}/.github/copilot-instructions.md +2 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.github/workflows/pypi-publish.yml +4 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.github/workflows/pytest.yml +1 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.pre-commit-config.yaml +0 -9
- {citrascope-0.5.1 → citrascope-0.6.1}/PKG-INFO +19 -1
- {citrascope-0.5.1 → citrascope-0.6.1}/README.md +2 -0
- citrascope-0.6.1/citrascope/hardware/kstars_dbus_adapter.py +1062 -0
- citrascope-0.6.1/citrascope/hardware/kstars_scheduler_template.esl +30 -0
- citrascope-0.6.1/citrascope/hardware/kstars_sequence_template.esq +16 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/settings/citrascope_settings.py +6 -4
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/tasks/scope/static_telescope_task.py +6 -1
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/static/app.js +6 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/static/style.css +5 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/pyproject.toml +33 -2
- citrascope-0.5.1/citrascope/hardware/kstars_dbus_adapter.py +0 -179
- {citrascope-0.5.1 → citrascope-0.6.1}/.devcontainer/devcontainer.json +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.flake8 +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.github/dependabot.yml +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.gitignore +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.python-version +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/.vscode/launch.json +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/LICENSE +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/__init__.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/__main__.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/api/abstract_api_client.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/api/citra_api_client.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/citra_scope_daemon.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/constants.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/hardware/abstract_astro_hardware_adapter.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/hardware/adapter_registry.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/hardware/indi_adapter.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/hardware/nina_adv_http_adapter.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/hardware/nina_adv_http_survey_template.json +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/logging/__init__.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/logging/_citrascope_logger.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/logging/web_log_handler.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/settings/__init__.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/settings/settings_file_manager.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/tasks/runner.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/tasks/scope/base_telescope_task.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/tasks/scope/tracking_telescope_task.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/tasks/task.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/__init__.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/app.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/server.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/static/api.js +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/static/config.js +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/static/img/citra.png +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/static/img/favicon.png +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/static/websocket.js +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/citrascope/web/templates/dashboard.html +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/tests/unit/test_api_client.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/tests/unit/test_hardware_adapter.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/tests/unit/test_task_manager.py +0 -0
- {citrascope-0.5.1 → citrascope-0.6.1}/tests/unit/utils.py +0 -0
|
@@ -9,6 +9,8 @@ This project is a Python package for interacting with astronomical data and serv
|
|
|
9
9
|
- Write docstrings for all modules, classes, and functions.
|
|
10
10
|
- Prefer logging via the custom logger in `citrascope/logging/` over print statements.
|
|
11
11
|
- Organize code into logical modules as per the existing structure.
|
|
12
|
+
- **Type hints for nullable attributes**: Use `Type | None` for class attributes that start as `None` and are initialized later (e.g., `self.bus: dbus.SessionBus | None = None`).
|
|
13
|
+
- **Satisfy type checkers**: When attributes can be None but are guaranteed non-None in certain methods (e.g., after successful connection), use `assert attribute is not None` to inform type checkers, or use explicit checks if the validation is critical for production.
|
|
12
14
|
|
|
13
15
|
## Directory Structure
|
|
14
16
|
- `citrascope/api/`: API client code
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: citrascope
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.1
|
|
4
4
|
Summary: Remotely control a telescope while it polls for tasks, collects and edge processes data, and delivers results and data for further processing.
|
|
5
|
+
Project-URL: Homepage, https://citra.space
|
|
6
|
+
Project-URL: Documentation, https://docs.citra.space/citrascope/
|
|
7
|
+
Project-URL: Repository, https://github.com/citra-space/citrascope
|
|
8
|
+
Project-URL: Issues, https://github.com/citra-space/citrascope/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/citra-space/citrascope/releases
|
|
5
10
|
Author-email: Patrick McDavid <patrick@citra.space>
|
|
6
11
|
License: MIT
|
|
7
12
|
License-File: LICENSE
|
|
13
|
+
Keywords: INDI,KStars,NINA,astronomy,astrophotography,imaging,observatory,remote-telescope,telescope,telescope-control
|
|
14
|
+
Classifier: Development Status :: 4 - Beta
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
23
|
+
Classifier: Topic :: System :: Hardware :: Hardware Drivers
|
|
8
24
|
Requires-Python: <3.13,>=3.10
|
|
9
25
|
Requires-Dist: click
|
|
10
26
|
Requires-Dist: fastapi>=0.104.0
|
|
@@ -51,6 +67,8 @@ Description-Content-Type: text/markdown
|
|
|
51
67
|
# CitraScope
|
|
52
68
|
[](https://github.com/citra-space/citrascope/actions/workflows/pytest.yml) [](https://github.com/citra-space/citrascope/actions/workflows/pypi-publish.yml) [](https://pypi.org/project/citrascope/) [](https://pypi.org/project/citrascope/) [](https://github.com/citra-space/citrascope/blob/main/LICENSE)
|
|
53
69
|
|
|
70
|
+
**[GitHub Repository](https://github.com/citra-space/citrascope)** | **[Documentation](https://docs.citra.space/citrascope/)** | **[Citra.space](https://citra.space)**
|
|
71
|
+
|
|
54
72
|
Remotely control a telescope while it polls for tasks, collects observations, and delivers data for further processing.
|
|
55
73
|
|
|
56
74
|
## Features
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# CitraScope
|
|
2
2
|
[](https://github.com/citra-space/citrascope/actions/workflows/pytest.yml) [](https://github.com/citra-space/citrascope/actions/workflows/pypi-publish.yml) [](https://pypi.org/project/citrascope/) [](https://pypi.org/project/citrascope/) [](https://github.com/citra-space/citrascope/blob/main/LICENSE)
|
|
3
3
|
|
|
4
|
+
**[GitHub Repository](https://github.com/citra-space/citrascope)** | **[Documentation](https://docs.citra.space/citrascope/)** | **[Citra.space](https://citra.space)**
|
|
5
|
+
|
|
4
6
|
Remotely control a telescope while it polls for tasks, collects observations, and delivers data for further processing.
|
|
5
7
|
|
|
6
8
|
## Features
|