Skip to main content

Tailscale Local API

This library can be used to control and get information from Tailscaled's local socket API.

It is not a Tailscale SaaS API library.

Usage

ts = TailscaleAPI.v0()

ts.connect()
ts.set_exit_node("hostname")

peer1 = ts.peer("hostname")
print(peer1.ip_address)

for peer in ts.peers():
  print(peer.ip_address)

Release files for tailscale_localapi 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tailscale_localapi 0.5.0
File Size Uploaded
tailscale_localapi-0.5.0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tailscale_localapi 0.5.0
File Interpreter ABI Platform
tailscale_localapi-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / tailscale_localapi-0.5.0.tar.gz

Download URL tailscale_localapi-0.5.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9acb6c02f62b21ee06d04f241cacaf9e978a35f8b2e08b4ddb617480b10d8933
BLAKE2b-256 checksum
How to use checksums
1b5b30da9798b743a250f2612604e520b77c7c1efa27ed80c36ba33020904e0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.11.9-arch1-1

Release files / tailscale_localapi-0.5.0-py3-none-any.whl

Download URL tailscale_localapi-0.5.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee847e80fe9e55e969930bf50eeac77ebc6e45a894af6847ed6beeec761a49cd
BLAKE2b-256 checksum
How to use checksums
2b9825d2def0dc46d9a1e74722eb998c8d7c3200672bbaee2a09da2e80a47106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.11.9-arch1-1

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page