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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tailscale_localapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9a311a6b54dbafc79159496e08f555d8d1857277c49fa0e3f9324034c7ae8ebe
MD5 8c6d7ce62c1e6ea203c9f678ee8033c5
BLAKE2b-256 74f75719b379d471fa7e8cd273b7130c4d3d07375e5d467389ab21d2fec0582f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tailscale_localapi-0.3.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.3.7-arch1-1

File hashes

Hashes for tailscale_localapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6187bf61d310db69db30c8b127b91445da7ae45fee01b2c76824950d2d47dafb
MD5 4435991f0bb9cb37ae46a7cab9c8e537
BLAKE2b-256 a499338bbcb7e5636b8dcb2d0615c62dad74710b7b7ba910b8242f9197e925e9

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