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.2.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.2.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tailscale_localapi-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 38469bd4bbaf27e51eb3b54d463895eec3c9e4946481bf19d8dbd8193fc891e5
MD5 34830e6804ffa72fd42ec4e0214e8d1a
BLAKE2b-256 e1eec0652e480bf0443299a352f7b4eda1675b00c8dff30b2231c4455ee15919

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tailscale_localapi-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a307cd0187abc7cb188658dcfb6b0a82ba5ce9fff0ede6ad98f52340a7f77fce
MD5 d7ca76341730fa2e36f2c71dc2ccc337
BLAKE2b-256 d0bdacbd6080ed0cf32e05f04314925386bbefea6d7aed79768579123686c28c

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