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.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for announce_server-0.0.1rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9c95bc88661432ec6a5332d983bd026a79a9c28b4bf02136530f7f4a0fbbc5e |
|
MD5 | f374879809442b10587c324a27ca0ee0 |
|
BLAKE2b-256 | 9f5adaf1b593767724a59292541a593815c31d67777b072588fcbd3c028bbbe2 |