forked from iarv/meshview
* Add alembic DB schema management (#86) * Use alembic * add creation helper * example migration tool * Store UTC int time in DB (#81) * use UTC int time * Remove old index notes script -- no longer needed * modify alembic to support cleaner migrations * add /version json endpoint * move technical docs * remove old migrate script * add readme in docs: * more doc tidy * rm * update api docs * ignore other database files * health endpoint * alembic log format * break out api calls in to their own file to reduce footprint * ruff and docs * vuln * Improves arguments in mvrun.py * Set dbcleanup.log location configurable * mvrun work * fallback if missing config * remove unused loop * improve migrations and fix logging problem with mqtt * Container using slim/uv * auto build containers * symlink * fix symlink * checkout and containerfile * make /app owned by ap0p * Traceroute Return Path logged and displayed (#97) * traceroute returns are now logged and /packetlist now graphs the correct data for a return route * now using alembic to update schema * HOWTO - Alembic --------- Co-authored-by: Joel Krauska <jkrauska@gmail.com> * DB Backups * backups and cleanups are different * ruff * Docker Docs * setup-dev * graphviz for dot in Container * Summary of 3.0.0 stuff * Alembic was blocking mqtt logs * Add us first/last timestamps to node table too * Worked on /api/packet. Needed to modify - Store.py to read the new time data - api.py to present the new time data - firehose.html chat.html and map.html now use the new apis and the time is the browser local time * Worked on /api/packet. Needed to modify - Store.py to read the new time data - api.py to present the new time data - firehose.html chat.html and map.html now use the new apis and the time is the browser local time * Improves container build (#94) * Worked on /api/packet. Needed to modify - Store.py to read the new time data - api.py to present the new time data - firehose.html chat.html and map.html now use the new apis and the time is the browser local time * Worked on /api/packet. Needed to modify - Store.py to read the new time data - api.py to present the new time data - firehose.html chat.html and map.html now use the new apis and the time is the browser local time * Worked on /api/packet. Needed to modify - Added new api endpoint /api/packets_seen - Modified web.py and store.py to support changes to APIs. - Started to work on new_node.html and new_packet.html for presentation of data. * Worked on /api/packet. Needed to modify - Added new api endpoint /api/packets_seen - Modified web.py and store.py to support changes to APIs. - Started to work on new_node.html and new_packet.html for presentation of data. * Finishing up all the pages for the 3.0 release. Now all pages are functional. * Finishing up all the pages for the 3.0 release. Now all pages are functional. * fix ruff format * more ruff * Finishing up all the pages for the 3.0 release. Now all pages are functional. * Finishing up all the pages for the 3.0 release. Now all pages are functional. * pyproject.toml requirements * use sys.executable * fix 0 epoch dates in /chat * Make the robots do our bidding * another compatibility fix when _us is empty and we need to sort by BOTH old and new * Finishing up all the pages for the 3.0 release. Now all pages are functional. * Finishing up all the pages for the 3.0 release. Now all pages are functional. * Remamed new_node to node. shorter and descriptive. * Remamed new_node to node. shorter and descriptive. * Remamed new_node to node. shorter and descriptive. * Remamed new_node to node. shorter and descriptive. * Remamed new_node to node. shorter and descriptive. * Remamed new_node to node. shorter and descriptive. * More changes... almost ready for release. Ranamed 2 pages for easy or reading. * Fix the net page as it was not showing the date information * Fix the net page as it was not showing the date information * Fix the net page as it was not showing the date information * Fix the net page as it was not showing the date information * ruff --------- Co-authored-by: Óscar García Amor <ogarcia@connectical.com> Co-authored-by: Jim Schrempp <jschrempp@users.noreply.github.com> Co-authored-by: Pablo Revilla <pablorevilla@gmail.com>
59 lines
1.5 KiB
TOML
59 lines
1.5 KiB
TOML
[project]
|
|
name = "meshview"
|
|
version = "3.0.0"
|
|
description = "Real-time monitoring and diagnostic tool for the Meshtastic mesh network"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
# Core async + networking
|
|
"aiohttp>=3.11.12,<4.0.0",
|
|
"aiohttp-sse",
|
|
"aiodns>=3.2.0,<4.0.0",
|
|
"aiomqtt>=2.3.0,<3.0.0",
|
|
"asyncpg>=0.30.0,<0.31.0",
|
|
"aiosqlite>=0.21.0,<0.22.0",
|
|
# Database + ORM
|
|
"sqlalchemy[asyncio]>=2.0.38,<3.0.0",
|
|
"alembic>=1.14.0,<2.0.0",
|
|
# Serialization / security
|
|
"protobuf>=5.29.3,<6.0.0",
|
|
"cryptography>=44.0.1,<45.0.0",
|
|
# Templates
|
|
"Jinja2>=3.1.5,<4.0.0",
|
|
"MarkupSafe>=3.0.2,<4.0.0",
|
|
# Graphs / diagrams
|
|
"pydot>=3.0.4,<4.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
# Data science stack
|
|
"numpy>=2.2.3,<3.0.0",
|
|
"pandas>=2.2.3,<3.0.0",
|
|
"matplotlib>=3.10.0,<4.0.0",
|
|
"seaborn>=0.13.2,<1.0.0",
|
|
"plotly>=6.0.0,<7.0.0",
|
|
# Image support
|
|
"pillow>=11.1.0,<12.0.0",
|
|
# Debugging / profiling
|
|
"psutil>=7.0.0,<8.0.0",
|
|
"objgraph>=3.6.2,<4.0.0",
|
|
# Testing
|
|
"pytest>=8.3.4,<9.0.0",
|
|
"pytest-aiohttp>=1.0.5,<2.0.0",
|
|
"pytest-asyncio>=0.24.0,<1.0.0",
|
|
]
|
|
|
|
[tool.ruff]
|
|
# Linting
|
|
target-version = "py313"
|
|
line-length = 100
|
|
extend-exclude = ["build", "dist", ".venv"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"] # pick your rulesets
|
|
ignore = ["E501"] # example; let formatter handle line length
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "preserve"
|
|
indent-style = "space" |