conflicting pypi repo names
This commit is contained in:
parent
e4de10b824
commit
ccd51ea429
10
README.md
10
README.md
@ -20,16 +20,16 @@ This library connects to a Meshtastic MQTT broker and decodes various message ty
|
||||
Install from PyPI:
|
||||
|
||||
```bash
|
||||
pip install meshtastic-mqtt
|
||||
pip install meshtastic-mqtt-json
|
||||
```
|
||||
|
||||
## usage
|
||||
```bash
|
||||
python meshtastic_mqtt [options]
|
||||
python meshtastic_mqtt_json [options]
|
||||
```
|
||||
|
||||
```python
|
||||
from meshtastic_mqtt import MeshtasticMQTT
|
||||
from meshtastic_mqtt_json import MeshtasticMQTT
|
||||
client = MeshtasticMQTT()
|
||||
client.connect(broker='mqtt.meshtastic.org', port=1883, root='msh/US/2/e/', channel='LongFast', username='meshdev', password='large4cats', key='AQ==')
|
||||
```
|
||||
@ -48,7 +48,7 @@ client.connect(broker='mqtt.meshtastic.org', port=1883, root='msh/US/2/e/', chan
|
||||
|
||||
### Filter Example
|
||||
```bash
|
||||
python meshtastic_mqtt.py --filter "NODEINFO,POSITION,TEXT_MESSAGE"
|
||||
python meshtastic_mqtt_json.py --filter "NODEINFO,POSITION,TEXT_MESSAGE"
|
||||
```
|
||||
|
||||
|
||||
@ -91,4 +91,4 @@ The library supports parsing of the following Meshtastic message types:
|
||||
|
||||
___
|
||||
|
||||
###### Mirrors for this repository: [acid.vegas](https://git.acid.vegas/meshtastic_mqtt) • [SuperNETs](https://git.supernets.org/acidvegas/meshtastic_mqtt) • [GitHub](https://github.com/acidvegas/meshtastic_mqtt) • [GitLab](https://gitlab.com/acidvegas/meshtastic_mqtt) • [Codeberg](https://codeberg.org/acidvegas/meshtastic_mqtt)
|
||||
###### Mirrors for this repository: [acid.vegas](https://git.acid.vegas/meshtastic_mqtt_json) • [SuperNETs](https://git.supernets.org/acidvegas/meshtastic_mqtt_json) • [GitHub](https://github.com/acidvegas/meshtastic_mqtt_json) • [GitLab](https://gitlab.com/acidvegas/meshtastic_mqtt_json) • [Codeberg](https://codeberg.org/acidvegas/meshtastic_mqtt_json)
|
||||
|
12
setup.py
12
setup.py
@ -1,18 +1,18 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name="meshtastic_mqtt",
|
||||
name="meshtastic-mqtt-json",
|
||||
version='0.1.0',
|
||||
author='acidvegas',
|
||||
author_email='acid.vegas@acid.vegas',
|
||||
description='A lightweight Python library for parsing Meshtastic MQTT messages',
|
||||
long_description=open('README.md').read(),
|
||||
long_description_content_type='text/markdown',
|
||||
url='https://github.com/acidvegas/meshtastic_mqtt',
|
||||
url='https://github.com/acidvegas/meshtastic_mqtt_json',
|
||||
project_urls={
|
||||
'Bug Tracker' : 'https://github.com/acidvegas/meshtastic_mqtt/issues',
|
||||
'Documentation' : 'https://github.com/acidvegas/meshtastic_mqtt#readme',
|
||||
'Source Code' : 'https://github.com/acidvegas/meshtastic_mqtt',
|
||||
'Bug Tracker' : 'https://github.com/acidvegas/meshtastic_mqtt_json/issues',
|
||||
'Documentation' : 'https://github.com/acidvegas/meshtastic_mqtt_json#readme',
|
||||
'Source Code' : 'https://github.com/acidvegas/meshtastic_mqtt_json',
|
||||
},
|
||||
packages=find_packages(where='src'),
|
||||
package_dir={'': 'src'},
|
||||
@ -37,7 +37,7 @@ setup(
|
||||
],
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'meshtastic-mqtt=meshtastic_mqtt.client:main',
|
||||
'meshtastic-mqtt-json=meshtastic_mqtt_json.client:main',
|
||||
],
|
||||
},
|
||||
)
|
@ -1,6 +1,6 @@
|
||||
"""
|
||||
'''
|
||||
Meshtastic MQTT Interface - A lightweight Python library for parsing Meshtastic MQTT messages
|
||||
"""
|
||||
'''
|
||||
|
||||
from .client import MeshtasticMQTT
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
# Meshtastic MQTT Interface - Developed by acidvegas in Python (https://acid.vegas/meshtastic)
|
||||
# Meshtastic MQTT Interface - Developed by acidvegas in Python (https://acid.vegas/meshtastic_mqtt_json)
|
||||
|
||||
import argparse
|
||||
import base64
|
Loading…
Reference in New Issue
Block a user