Metadata-Version: 2.1
Name: py2nacos
Version: 0.1.0
Summary: A tool that allows an app registers itself with Nacos
Author-email: lidaning <453882101@qq.com>
Project-URL: Homepage, https://github.com/relidaning/py2nacos
Project-URL: Bug Tracker, https://github.com/relidaning/py2nacos/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Py2nacos
A tool that allows an app registers itself with Nacos.

## Fetures
Register the app when it starts. 

Send the heartbeat to nacos every 5 seconds.

## Usages
```python
pip install py2nacos
```
```python
NACOS_SERVER_URL='http://localhost:8848/nacos'
SERVICE_NAME='myapp'
SERVICE_IP=127.0.0.1
PORT=5000
from py2nacos import register_to_nacos
register_to_nacos(NACOS_SERVER_URL, SERVICE_NAME, SERVICE_IP, PORT)
```
