cf-regions-gui 0.1.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.
Files changed (39) hide show
  1. cf_regions_gui-0.1.0/AUTHORS.md +8 -0
  2. cf_regions_gui-0.1.0/CHANGELOG.md +20 -0
  3. cf_regions_gui-0.1.0/CODE_OF_CONDUCT.md +26 -0
  4. cf_regions_gui-0.1.0/CONTRIBUTING.md +39 -0
  5. cf_regions_gui-0.1.0/LICENSE +674 -0
  6. cf_regions_gui-0.1.0/MANIFEST.in +1 -0
  7. cf_regions_gui-0.1.0/PKG-INFO +162 -0
  8. cf_regions_gui-0.1.0/README.md +122 -0
  9. cf_regions_gui-0.1.0/SECURITY.md +10 -0
  10. cf_regions_gui-0.1.0/pyproject.toml +91 -0
  11. cf_regions_gui-0.1.0/setup.cfg +4 -0
  12. cf_regions_gui-0.1.0/src/cf_regions_gui.egg-info/PKG-INFO +162 -0
  13. cf_regions_gui-0.1.0/src/cf_regions_gui.egg-info/SOURCES.txt +37 -0
  14. cf_regions_gui-0.1.0/src/cf_regions_gui.egg-info/dependency_links.txt +1 -0
  15. cf_regions_gui-0.1.0/src/cf_regions_gui.egg-info/entry_points.txt +2 -0
  16. cf_regions_gui-0.1.0/src/cf_regions_gui.egg-info/requires.txt +15 -0
  17. cf_regions_gui-0.1.0/src/cf_regions_gui.egg-info/top_level.txt +1 -0
  18. cf_regions_gui-0.1.0/src/cfregions_gui/__init__.py +6 -0
  19. cf_regions_gui-0.1.0/src/cfregions_gui/__main__.py +5 -0
  20. cf_regions_gui-0.1.0/src/cfregions_gui/_version.py +3 -0
  21. cf_regions_gui-0.1.0/src/cfregions_gui/app.py +45 -0
  22. cf_regions_gui-0.1.0/src/cfregions_gui/cli.py +64 -0
  23. cf_regions_gui-0.1.0/src/cfregions_gui/collapsible_panel.py +111 -0
  24. cf_regions_gui-0.1.0/src/cfregions_gui/geometry.py +85 -0
  25. cf_regions_gui-0.1.0/src/cfregions_gui/globe.py +331 -0
  26. cf_regions_gui-0.1.0/src/cfregions_gui/globe.qml +157 -0
  27. cf_regions_gui-0.1.0/src/cfregions_gui/globe_texture.py +125 -0
  28. cf_regions_gui-0.1.0/src/cfregions_gui/map_canvas.py +377 -0
  29. cf_regions_gui-0.1.0/src/cfregions_gui/map_viewport.py +120 -0
  30. cf_regions_gui-0.1.0/src/cfregions_gui/map_views.py +151 -0
  31. cf_regions_gui-0.1.0/src/cfregions_gui/py.typed +1 -0
  32. cf_regions_gui-0.1.0/src/cfregions_gui/session.py +136 -0
  33. cf_regions_gui-0.1.0/src/cfregions_gui/window.py +787 -0
  34. cf_regions_gui-0.1.0/tests/test_cli.py +49 -0
  35. cf_regions_gui-0.1.0/tests/test_geometry.py +44 -0
  36. cf_regions_gui-0.1.0/tests/test_globe.py +183 -0
  37. cf_regions_gui-0.1.0/tests/test_map_canvas.py +128 -0
  38. cf_regions_gui-0.1.0/tests/test_session.py +29 -0
  39. cf_regions_gui-0.1.0/tests/test_window.py +290 -0
@@ -0,0 +1,8 @@
1
+ # Authors and maintainers
2
+
3
+ `cf-regions-gui` was initiated and originally developed by [Yves Sorge](https://github.com/ysorge),
4
+ who serves as its initial author and maintainer.
5
+
6
+ Additional contributors are recorded in the repository history and release
7
+ notes. Maintainer responsibility may move to another person or organization
8
+ without changing or erasing authorship of existing contributions.
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+
3
+ All notable changes to `cf-regions-gui` are documented here. The project follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and uses
5
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## 0.1.0 - Unreleased
8
+
9
+ This is the first public release.
10
+
11
+ ### Added
12
+
13
+ - Native, completely offline PySide6 desktop interface for `cf-regions`.
14
+ - Interactive vector map with point lookup, region shapes, provenance, profile
15
+ selection, clipboard actions, dark mode, and low/high geometry detail.
16
+ - Optional `globe` extra for a native Qt Quick 3D globe using local textures.
17
+ - Mouse, touchpad, and map-scoped controls with synchronized 2D/3D selection.
18
+ - Tests, type checks, and packaging validation on supported Python versions.
19
+ - A compact world background independent of the selected region's shape detail,
20
+ avoiding full-world high-detail rendering during startup and detail changes.
@@ -0,0 +1,26 @@
1
+ # Code of conduct
2
+
3
+ The `cf-regions-gui` project is committed to an open, welcoming, inclusive, and
4
+ harassment-free community. Participants are expected to follow the standards of
5
+ the [Contributor Covenant, version 2.1][covenant] in discussions, issues, pull
6
+ requests, reviews, and project events.
7
+
8
+ ## Expected behavior
9
+
10
+ - Be respectful of different backgrounds, viewpoints, and levels of experience.
11
+ - Give and accept constructive technical feedback with empathy.
12
+ - Focus disagreement on ideas and evidence rather than people.
13
+ - Accept responsibility for mistakes and work to repair their impact.
14
+
15
+ Harassment, discriminatory or sexualized language, threats, trolling, personal
16
+ attacks, and publishing another person's private information are not acceptable.
17
+
18
+ ## Reporting and enforcement
19
+
20
+ Report conduct concerns privately through the repository's [private reporting
21
+ channel][private-report]. Do not disclose sensitive details in a public issue.
22
+ Maintainers will review reports as promptly and impartially as possible and may
23
+ edit or remove contributions, issue warnings, or restrict participation.
24
+
25
+ [covenant]: https://www.contributor-covenant.org/version/2/1/code_of_conduct/
26
+ [private-report]: https://github.com/ysorge/cf-regions-gui/security/advisories/new
@@ -0,0 +1,39 @@
1
+ # Contributing
2
+
3
+ Contributions are welcome through GitHub issues and pull requests. Please open
4
+ an issue before substantial features, interaction changes, or interface
5
+ redesigns so the approach and scope can be discussed. Small fixes and
6
+ documentation improvements may be submitted directly.
7
+
8
+ Participation is governed by the [Code of conduct](CODE_OF_CONDUCT.md).
9
+
10
+ ## Development setup
11
+
12
+ Use one of the latest Python version in a virtual environment:
13
+
14
+ ```console
15
+ python -m venv .venv
16
+ .venv/bin/python -m pip install -e ".[dev,globe]"
17
+ ```
18
+
19
+ On Windows, use `.venv\Scripts\python` instead. For coordinated work against a
20
+ sibling core checkout, install with
21
+ `python -m pip install -e ../cf-regions -e ".[dev,globe]"`.
22
+
23
+ Before opening a pull request, run:
24
+
25
+ ```console
26
+ ruff check src tests
27
+ mypy src
28
+ QT_QPA_PLATFORM=offscreen pytest --cov=cfregions_gui --cov-report=term-missing
29
+ python -m build
30
+ twine check dist/*
31
+ ```
32
+
33
+ On Windows, set `QT_QPA_PLATFORM=offscreen` using the shell's native syntax.
34
+ Keep region logic in `cf-regions`; this project should remain a native
35
+ presentation layer without a browser or local HTTP server. User-visible changes
36
+ need tests and a changelog entry.
37
+
38
+ By contributing, you agree that your contribution is distributed under
39
+ GPL-3.0-or-later.