Skip to main content

Control Tailscale's local socket API

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tailscale_localapi-0.5.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tailscale_localapi-0.5.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file tailscale_localapi-0.5.0.tar.gz.

File metadata

  • Download URL: tailscale_localapi-0.5.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.9-arch1-1

File hashes

Hashes for tailscale_localapi-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9acb6c02f62b21ee06d04f241cacaf9e978a35f8b2e08b4ddb617480b10d8933
MD5 03b6ecfe2978a4c57c4d43f1d90ee2bb
BLAKE2b-256 1b5b30da9798b743a250f2612604e520b77c7c1efa27ed80c36ba33020904e0e

See more details on using hashes here.

File details

Details for the file tailscale_localapi-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: tailscale_localapi-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.9-arch1-1

File hashes

Hashes for tailscale_localapi-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee847e80fe9e55e969930bf50eeac77ebc6e45a894af6847ed6beeec761a49cd
MD5 418a388bc42ff1909d5bcb488b2c7f4e
BLAKE2b-256 2b9825d2def0dc46d9a1e74722eb998c8d7c3200672bbaee2a09da2e80a47106

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page