conflicting pypi repo names

This commit is contained in:
Dionysus 2024-11-29 23:02:21 -05:00
parent e4de10b824
commit ccd51ea429
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
4 changed files with 14 additions and 14 deletions

View File

@ -20,16 +20,16 @@ This library connects to a Meshtastic MQTT broker and decodes various message ty
Install from PyPI: Install from PyPI:
```bash ```bash
pip install meshtastic-mqtt pip install meshtastic-mqtt-json
``` ```
## usage ## usage
```bash ```bash
python meshtastic_mqtt [options] python meshtastic_mqtt_json [options]
``` ```
```python ```python
from meshtastic_mqtt import MeshtasticMQTT from meshtastic_mqtt_json import MeshtasticMQTT
client = MeshtasticMQTT() client = MeshtasticMQTT()
client.connect(broker='mqtt.meshtastic.org', port=1883, root='msh/US/2/e/', channel='LongFast', username='meshdev', password='large4cats', key='AQ==') 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 ### Filter Example
```bash ```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)

View File

@ -1,18 +1,18 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
setup( setup(
name="meshtastic_mqtt", name="meshtastic-mqtt-json",
version='0.1.0', version='0.1.0',
author='acidvegas', author='acidvegas',
author_email='acid.vegas@acid.vegas', author_email='acid.vegas@acid.vegas',
description='A lightweight Python library for parsing Meshtastic MQTT messages', description='A lightweight Python library for parsing Meshtastic MQTT messages',
long_description=open('README.md').read(), long_description=open('README.md').read(),
long_description_content_type='text/markdown', long_description_content_type='text/markdown',
url='https://github.com/acidvegas/meshtastic_mqtt', url='https://github.com/acidvegas/meshtastic_mqtt_json',
project_urls={ project_urls={
'Bug Tracker' : 'https://github.com/acidvegas/meshtastic_mqtt/issues', 'Bug Tracker' : 'https://github.com/acidvegas/meshtastic_mqtt_json/issues',
'Documentation' : 'https://github.com/acidvegas/meshtastic_mqtt#readme', 'Documentation' : 'https://github.com/acidvegas/meshtastic_mqtt_json#readme',
'Source Code' : 'https://github.com/acidvegas/meshtastic_mqtt', 'Source Code' : 'https://github.com/acidvegas/meshtastic_mqtt_json',
}, },
packages=find_packages(where='src'), packages=find_packages(where='src'),
package_dir={'': 'src'}, package_dir={'': 'src'},
@ -37,7 +37,7 @@ setup(
], ],
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'meshtastic-mqtt=meshtastic_mqtt.client:main', 'meshtastic-mqtt-json=meshtastic_mqtt_json.client:main',
], ],
}, },
) )

View File

@ -1,6 +1,6 @@
""" '''
Meshtastic MQTT Interface - A lightweight Python library for parsing Meshtastic MQTT messages Meshtastic MQTT Interface - A lightweight Python library for parsing Meshtastic MQTT messages
""" '''
from .client import MeshtasticMQTT from .client import MeshtasticMQTT

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python #!/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 argparse
import base64 import base64