Provides decorator to announce the presence of a server to a host machine.
Go to file
2023-03-19 17:04:40 -06:00
src/announce_server cleanup of tests 2023-03-19 17:04:40 -06:00
tests cleanup of tests 2023-03-19 17:04:40 -06:00
.gitignore cleanup of tests 2023-03-19 17:04:40 -06:00
README.md checkpoint 2023-03-19 14:30:05 -06:00
setup.cfg more test coverage 2023-03-19 17:03:52 -06:00
setup.py adding (nonfunctional) tests 2023-03-19 13:52:46 -06:00

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