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.1.0.tar.gz (4.4 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.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tailscale_localapi-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 d08e5327538a75f4e9e0f8acb1a82b1b2daabde59e2a81cce683906845138a9d
MD5 489217ac7d0dcfaf4edc054b2d353e34
BLAKE2b-256 48d0f99f1c9f045445d23e9fa7a8aa48de06995e0a77ae8c159a062b9246bfef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tailscale_localapi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cefcf7c752b1a70907752de886d0d6a5446529a36a48fc2330b9921c0d9e11a8
MD5 e4f2ac6b1c52cb2e6d23242ee290c144
BLAKE2b-256 05c417ac0d0daca0d250a2fe761ee98c5e3f69a974cd78f6dc2f416e4de16e0d

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