feat: scaffold meshnet monorepo

This commit is contained in:
Dobromir Popov
2026-06-29 00:28:29 +03:00
parent 84614a36a4
commit 1141b51286
22 changed files with 487 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
"""meshnet_tracker — Distributed Inference Network node registry and route selection."""
__version__ = "0.1.0"

View File

@@ -0,0 +1,32 @@
"""meshnet-tracker CLI entry point."""
import argparse
import sys
def main() -> None:
parser = argparse.ArgumentParser(
prog="meshnet-tracker",
description="Distributed Inference Network node registry and route selection",
)
subparsers = parser.add_subparsers(dest="command")
start_cmd = subparsers.add_parser("start", help="Start the tracker server")
start_cmd.add_argument("--port", type=int, default=8080, help="Port to listen on")
args = parser.parse_args()
if args.command == "start":
print(f"meshnet-tracker starting on port {args.port}")
try:
import time
while True:
time.sleep(1)
except KeyboardInterrupt:
sys.exit(0)
else:
parser.print_help()
if __name__ == "__main__":
main()

View File

@@ -0,0 +1,16 @@
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "meshnet-tracker"
version = "0.1.0"
description = "Distributed Inference Network node registry and route selection"
requires-python = ">=3.10"
[project.scripts]
meshnet-tracker = "meshnet_tracker.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["meshnet_tracker*"]