Skip to main content

tango-gateway

A Tango gateway server

Clients from other networks can connect to the gateway to access the tango database transparently. It opens ports dynamically when an access to a device is required and redirects the traffic to the corresponding device. The ZMQ tango events are also supported.

Requirements

  • python >= 3.9
  • pyzmq
  • pytango (optional)
  • prometheus_client (optional)

Usage

$ tango-gateway -h
usage: tango-gateway [-h] [--bind ADDRESS] [--port PORT] [--tango HOST] [--verbose]

Run a Tango gateway server

optional arguments:
  -h, --help            show this help message and exit
  --bind ADDRESS, -b ADDRESS
                        Specify the bind address (default is all interfaces)
  --port PORT, -p PORT  Port for the server (default is 10000)
  --tango HOST, -t HOST
                        Tango host (default is given by PyTango)
  --promfile PROMFILE   Name of file to write Prometheus metrics to. Requires prometeus_client.
  --verbose, -v

Contact

KITS : kitscontrol@maxiv.lu.se

Download files

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

Source Distribution

tango_gateway-1.3.0.tar.gz (54.2 kB view details)

Uploaded Source

Built Distribution

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

tango_gateway-1.3.0-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file tango_gateway-1.3.0.tar.gz.

File metadata

  • Download URL: tango_gateway-1.3.0.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.12

File hashes

Hashes for tango_gateway-1.3.0.tar.gz
Algorithm Hash digest
SHA256 6b983e82dabc06ed78650550ba7945ecf2e55aec5b8e8e1ac691a4211952dab0
MD5 ed5b3a94239def9683b1a6431b5ebfc7
BLAKE2b-256 f0eba80f1d8043dc56c416e85004a5e6afb5560d295c1eb3adf538df89fd7108

See more details on using hashes here.

File details

Details for the file tango_gateway-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: tango_gateway-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.12

File hashes

Hashes for tango_gateway-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 653b1ccb478d8c175b88920bbca73025600790e0802b395476cdb9b4c6737e65
MD5 6e82c74ff3e59740cdbb8c9bdc3ad541
BLAKE2b-256 e6f2c4e162e019b0968b6a88ef6d224ee253807401e003ca65a7d85ee949d342

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

Supported by

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