initial uv project setup
This commit is contained in:
37
AGENTS.md
Normal file
37
AGENTS.md
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# AGENTS.md
|
||||||
|
|
||||||
|
## Current status
|
||||||
|
|
||||||
|
Rebuild initialized.
|
||||||
|
|
||||||
|
## Completed steps
|
||||||
|
|
||||||
|
None yet.
|
||||||
|
|
||||||
|
## Current step
|
||||||
|
|
||||||
|
Step 1 - Public API contract and pure core.
|
||||||
|
|
||||||
|
## Design decisions
|
||||||
|
|
||||||
|
- Package is managed with uv.
|
||||||
|
- Public import is `import dpg_map as dpgm`.
|
||||||
|
- Dear PyGui calls are GUI-thread-only.
|
||||||
|
- Runtime public calls enqueue commands or update logical state.
|
||||||
|
- Overlay updates must not reset center/zoom.
|
||||||
|
- The widget uses child_window + measured-size drawlist.
|
||||||
|
- Tiles use a memory cache and persistent disk cache.
|
||||||
|
- Tile providers are interchangeable.
|
||||||
|
|
||||||
|
## Known issues
|
||||||
|
|
||||||
|
None yet.
|
||||||
|
|
||||||
|
## Commands used
|
||||||
|
|
||||||
|
- Read `STEPS.md`, `FEATURES.md`, and `ARCHITECTURE.md`.
|
||||||
|
- Created initial package, examples, tests, and agent-log structure.
|
||||||
|
|
||||||
|
## Next action
|
||||||
|
|
||||||
|
Implement Step 1.
|
||||||
1
examples/.gitkeep
Normal file
1
examples/.gitkeep
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -27,3 +27,13 @@ dev = [
|
|||||||
"pytest>=9.0.3",
|
"pytest>=9.0.3",
|
||||||
"ruff>=0.15.14",
|
"ruff>=0.15.14",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.ruff]
|
||||||
|
line-length = 100
|
||||||
|
target-version = "py311"
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
select = ["E", "F", "I", "UP", "B", "SIM"]
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
typeCheckingMode = "basic"
|
||||||
|
|||||||
1
src/dpg_map/api.py
Normal file
1
src/dpg_map/api.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Public API wrappers for dpg-map."""
|
||||||
1
src/dpg_map/cache.py
Normal file
1
src/dpg_map/cache.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Memory and disk cache helpers."""
|
||||||
1
src/dpg_map/commands.py
Normal file
1
src/dpg_map/commands.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Command models for GUI-thread rendering work."""
|
||||||
1
src/dpg_map/diagnostics.py
Normal file
1
src/dpg_map/diagnostics.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Diagnostics and debug state helpers."""
|
||||||
1
src/dpg_map/draw_layers.py
Normal file
1
src/dpg_map/draw_layers.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Draw layer bookkeeping helpers."""
|
||||||
1
src/dpg_map/exceptions.py
Normal file
1
src/dpg_map/exceptions.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Public exception types."""
|
||||||
1
src/dpg_map/interaction.py
Normal file
1
src/dpg_map/interaction.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Map interaction state and handlers."""
|
||||||
1
src/dpg_map/overlays.py
Normal file
1
src/dpg_map/overlays.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Logical overlay models."""
|
||||||
1
src/dpg_map/projection.py
Normal file
1
src/dpg_map/projection.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Web Mercator projection helpers."""
|
||||||
1
src/dpg_map/providers.py
Normal file
1
src/dpg_map/providers.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Tile provider definitions and registry."""
|
||||||
1
src/dpg_map/renderer.py
Normal file
1
src/dpg_map/renderer.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""GUI-thread renderer implementation."""
|
||||||
1
src/dpg_map/sizing.py
Normal file
1
src/dpg_map/sizing.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Map sizing measurement helpers."""
|
||||||
1
src/dpg_map/state.py
Normal file
1
src/dpg_map/state.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Thread-safe state models and registries."""
|
||||||
1
src/dpg_map/tiles.py
Normal file
1
src/dpg_map/tiles.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Tile identity, lifecycle, and worker coordination."""
|
||||||
1
src/dpg_map/types.py
Normal file
1
src/dpg_map/types.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Shared type aliases and small value objects."""
|
||||||
1
src/dpg_map/widget.py
Normal file
1
src/dpg_map/widget.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"""Dear PyGui map widget construction."""
|
||||||
1
tests/.gitkeep
Normal file
1
tests/.gitkeep
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
Reference in New Issue
Block a user