docs.rs failed to build geiserx_ts_python-0.57.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
geiserx_ts_python-0.57.3
ts_python
Python bindings for tailscale-rs.
At the moment, this exposes facilities for connecting to a tailnet and binding network sockets that have access to the tailnet.
Code Sample
#!/usr/bin/env python3
# connect to the tailnet:
= await
# bind a udp socket on this node's ipv4 address:
= await
= await
# send a message to a peer once per second
await
await
To run this demo:
$ TS_RS_EXPERIMENT=this_is_unstable_software python demo.py
Building and Usage
The easiest way to get the library is through PyPI:
$ pip install tailscale-py
In development
If you want to use the module from within this repo, you'll need to build it. The best way to do
that is with maturin:
# In the project where you want to use the tailscale bindings:
# Then in tailscale-rs:
&&