Simple Python client library for https://devnull.cn/meshing
Project description
meshing-sdk-python
Build your meshing network in seconds.
## Prerequisites:
# 1, At least 1 instance with public ip allows UDP inbound. By default, it is udp/7070.
# 2, Permission to update your routing tables in your VPC.
# 1st, Run following in every instance:
python3 -c 'import meshing; meshing.checkin()'
# 2nd, Make sure above checkin() completed in ALL regions, then connect():
python3 -c 'import meshing; meshing.connect()'
# 3rd, check your interface, and you can ping each other by now.
ifconfig mesh0
# 4th, if you need connecting the subnets behind, update routes in VPC or home router.
# This parts vary depending your specific requirements.
# 5th, if your need update the default local cidr in routing:
# by default your_local_ipaddr_by_/23 is used.
python3 -c 'import meshing; meshing.checkin(cidr="1.2.3.0/24")' # or
python3 -c 'import meshing; meshing.checkin(cidr="1.2.3.0/24, 2.3.4.0/24")' # one-string-by-comma
python3 -c 'import meshing; meshing.connect()' # connect() again in all regions.
# Good Luck.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
meshing-2.0.4.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meshing-2.0.4.tar.gz.
File metadata
- Download URL: meshing-2.0.4.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38dd576cb6b4eab0d2ac8ebefe777db77bd42111e002355edc35a1b4f70f7d4e
|
|
| MD5 |
8f21d3133d1f4b59b4d606ceced9a217
|
|
| BLAKE2b-256 |
b37f41231186277abd3a9c8c01497128669bac460d715889de7e4fa39f9484d7
|
File details
Details for the file meshing-2.0.4-py3-none-any.whl.
File metadata
- Download URL: meshing-2.0.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c016d7fb4b279843249087a53b9abc47e54c5d9463d8828235671f079886871
|
|
| MD5 |
37f44c18062e4d948eb626ae4351c20b
|
|
| BLAKE2b-256 |
1b8efe84c596aa7550d126ad7409d68f11656017a22d3e558880e9aa11d6f0d2
|