Skip to main content

Announces a server to a host

Project description

Announce Server

A Python library that announces a server to a host.

Installation

pip install announce-server

Development

To install the developer dependencies required for testing and publishing:

pip install -e .[dev,pub]

Build

To build the package, run:

rm -rf dist/ build/ .eggs/ .pytest_cache/ src/announce_server.egg-info/
python -m build --sdist --wheel

To publish:

twine upload dist/*

Test

To run the tests, call:

pytest

Usage

from announce_server import register_service

@register_service(name="server_name", ip="server_ip", port=8000, host_ip="host_server_ip", host_port=5000, retry_interval=5)
def your_function():
    pass

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

announce-server-0.0.1rc6.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

announce_server-0.0.1rc6-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file announce-server-0.0.1rc6.tar.gz.

File metadata

  • Download URL: announce-server-0.0.1rc6.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for announce-server-0.0.1rc6.tar.gz
Algorithm Hash digest
SHA256 2f40c017ec97aa1fd457353e4b7eb91287c68a3085f16ae8c7e1ba343b4a34b4
MD5 f6493fb1621c46e1e47686010dec9d8b
BLAKE2b-256 c33034c90bc6d95cf37487b70dbab4f05671f6040fb4574649817e2d399995a7

See more details on using hashes here.

File details

Details for the file announce_server-0.0.1rc6-py3-none-any.whl.

File metadata

File hashes

Hashes for announce_server-0.0.1rc6-py3-none-any.whl
Algorithm Hash digest
SHA256 ce03268e1f788498a2cf65a957225c9970da911cffc22bb95919fec2cc8959e0
MD5 b7c6eec689fa92d71ea7e00da7886a41
BLAKE2b-256 073f0371b5a03c52089825b6999694d3632499e33100c8de5aadf4abf9896b10

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page