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.4.0.tar.gz (4.9 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.4.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tailscale_localapi-0.4.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.4 Linux/6.4.12-arch1-1

File hashes

Hashes for tailscale_localapi-0.4.0.tar.gz
Algorithm Hash digest
SHA256 21a94b8b7a5aa4522c688a859d2ea4668579b810ac5a1b381323089e13188284
MD5 a9db4f606d0b9d9a022181da33665841
BLAKE2b-256 da793134bd74287f1a36737999a8e132cccf39b4711f79e77df03186ac069fb5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tailscale_localapi-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3e1c4a2f9b0c05cc56dd22bf30eff3aae967825dfd8eecf17d9cf56709aafa
MD5 12991ff2b4d92c2d6c6c90243056b7e2
BLAKE2b-256 6ff4ed3ec19e7d92a13fee6ac81adc21f8cae3b12f77e7ed14b1a9dc30f62099

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