meshnet 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.
- meshnet-0.1.0/.github/workflows/pypi-deploy.yml +45 -0
- meshnet-0.1.0/.gitignore +13 -0
- meshnet-0.1.0/.python-version +1 -0
- meshnet-0.1.0/LICENSE.txt +663 -0
- meshnet-0.1.0/PKG-INFO +264 -0
- meshnet-0.1.0/README.md +254 -0
- meshnet-0.1.0/THREAT_MODEL.md +172 -0
- meshnet-0.1.0/example-1.conf +14 -0
- meshnet-0.1.0/example-2.conf +13 -0
- meshnet-0.1.0/main.py +61 -0
- meshnet-0.1.0/meshnet/__init__.py +3 -0
- meshnet-0.1.0/meshnet/cli/__init__.py +249 -0
- meshnet-0.1.0/meshnet/meshtastic_core/__init__.py +612 -0
- meshnet-0.1.0/meshnet/vpn/__init__.py +1 -0
- meshnet-0.1.0/meshnet/vpn/config.py +239 -0
- meshnet-0.1.0/meshnet/vpn/crypto.py +227 -0
- meshnet-0.1.0/meshnet/vpn/daemon.py +463 -0
- meshnet-0.1.0/meshnet/vpn/routing.py +78 -0
- meshnet-0.1.0/meshnet/vpn/session.py +434 -0
- meshnet-0.1.0/meshnet/vpn/tap.py +122 -0
- meshnet-0.1.0/meshnet/vpn/transport.py +301 -0
- meshnet-0.1.0/pyproject.toml +31 -0
- meshnet-0.1.0/tests/__init__.py +0 -0
- meshnet-0.1.0/tests/conftest.py +228 -0
- meshnet-0.1.0/tests/integration/__init__.py +0 -0
- meshnet-0.1.0/tests/integration/test_daemon.py +170 -0
- meshnet-0.1.0/tests/integration/test_handshake_transport.py +193 -0
- meshnet-0.1.0/tests/regression/__init__.py +0 -0
- meshnet-0.1.0/tests/regression/test_security.py +295 -0
- meshnet-0.1.0/tests/unit/__init__.py +0 -0
- meshnet-0.1.0/tests/unit/test_cli.py +144 -0
- meshnet-0.1.0/tests/unit/test_config.py +388 -0
- meshnet-0.1.0/tests/unit/test_crypto.py +294 -0
- meshnet-0.1.0/tests/unit/test_meshtastic_core.py +405 -0
- meshnet-0.1.0/tests/unit/test_routing.py +137 -0
- meshnet-0.1.0/tests/unit/test_session.py +380 -0
- meshnet-0.1.0/tests/unit/test_tap.py +75 -0
- meshnet-0.1.0/tests/unit/test_transport.py +359 -0
- meshnet-0.1.0/uv.lock +757 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- main
|
|
5
|
+
|
|
6
|
+
name: release
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
name: Run tests
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout
|
|
14
|
+
uses: actions/checkout@v4
|
|
15
|
+
- name: Set up Python
|
|
16
|
+
uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.13"
|
|
19
|
+
- name: Install uv
|
|
20
|
+
uses: astral-sh/setup-uv@v4
|
|
21
|
+
- name: Install dependencies
|
|
22
|
+
run: uv sync
|
|
23
|
+
- name: Run tests
|
|
24
|
+
run: uv run pytest tests/ -q
|
|
25
|
+
|
|
26
|
+
pypi-publish:
|
|
27
|
+
name: Upload release to PyPI
|
|
28
|
+
needs: test
|
|
29
|
+
runs-on: ubuntu-latest
|
|
30
|
+
environment: release
|
|
31
|
+
permissions:
|
|
32
|
+
id-token: write
|
|
33
|
+
steps:
|
|
34
|
+
- name: Checkout
|
|
35
|
+
uses: actions/checkout@v4
|
|
36
|
+
- name: Set up Python
|
|
37
|
+
uses: actions/setup-python@v5
|
|
38
|
+
with:
|
|
39
|
+
python-version: "3.13"
|
|
40
|
+
- name: Install uv
|
|
41
|
+
uses: astral-sh/setup-uv@v4
|
|
42
|
+
- name: Build
|
|
43
|
+
run: uv build
|
|
44
|
+
- name: Publish package distributions to PyPI
|
|
45
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
meshnet-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|