Provides decorator to announce the presence of a server to a host machine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Michael Pilosov 7c934307c0 more test coverage 2 years ago
src/announce_server more test coverage 2 years ago
tests more test coverage 2 years ago
.gitignore adding (nonfunctional) tests 2 years ago
README.md checkpoint 2 years ago
setup.cfg more test coverage 2 years ago
setup.py adding (nonfunctional) tests 2 years ago

README.md

Announce Server

A Python library that announces a server to a host.

Installation

pip install announce-server

Build

To build the package, run:

pip install -e .[dev]
pip install -m build

Test

To run the tests, install the package with the [dev] option:

pip install -e .[dev]
pytest

Usage

from announce_server.announce import announce_server

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