modbus-solar 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 PHo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.1
2
+ Name: modbus_solar
3
+ Version: 0.1.0
4
+ Summary: A small package to pull stats from a Renogy Solar Charge Controller
5
+ Home-page: https://gitlab.com/boopzz/modbus-solar
6
+ Author: boopzz
7
+ Author-email: boopzz <boopzz@pm.me>
8
+ License: MIT
9
+ Project-URL: Homepage, https://gitlab.com/boopzz/modbus-solar
10
+ Project-URL: Issues, https://gitlab.com/boopzz/modbus-solar/issues
11
+ Keywords: modbus,solar,renogy
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Requires-Python: >=3.8
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+
19
+ # Modbus Solar
20
+
21
+ [![pypi](https://img.shields.io/pypi/v/modbus-solar.svg)](https://pypi.org/project/modbus-solar/)
22
+ [![python](https://img.shields.io/pypi/pyversions/modbus-solar.svg)](https://pypi.org/project/modbus-solar/)
23
+ [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
24
+
25
+ This project is to pull stats out of a Renogy DCC50S solar charge controller.
26
+
27
+ The connection will be made via modbus/RS485.
28
+
29
+ The end state will be to output stats in `json` format ready to be ingested into something like an InfluxDb instance.
30
+
31
+
32
+ ## To Use
33
+
34
+ 1. Python
35
+
36
+ ```python
37
+ from modbus_solar import get_all
38
+
39
+ stats = get_all()
40
+ ```
41
+
42
+ 1. CLI
43
+ ```bash
44
+ modbus-solar-get-all
45
+ ```
@@ -0,0 +1,27 @@
1
+ # Modbus Solar
2
+
3
+ [![pypi](https://img.shields.io/pypi/v/modbus-solar.svg)](https://pypi.org/project/modbus-solar/)
4
+ [![python](https://img.shields.io/pypi/pyversions/modbus-solar.svg)](https://pypi.org/project/modbus-solar/)
5
+ [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
6
+
7
+ This project is to pull stats out of a Renogy DCC50S solar charge controller.
8
+
9
+ The connection will be made via modbus/RS485.
10
+
11
+ The end state will be to output stats in `json` format ready to be ingested into something like an InfluxDb instance.
12
+
13
+
14
+ ## To Use
15
+
16
+ 1. Python
17
+
18
+ ```python
19
+ from modbus_solar import get_all
20
+
21
+ stats = get_all()
22
+ ```
23
+
24
+ 1. CLI
25
+ ```bash
26
+ modbus-solar-get-all
27
+ ```
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.1
2
+ Name: modbus_solar
3
+ Version: 0.1.0
4
+ Summary: A small package to pull stats from a Renogy Solar Charge Controller
5
+ Home-page: https://gitlab.com/boopzz/modbus-solar
6
+ Author: boopzz
7
+ Author-email: boopzz <boopzz@pm.me>
8
+ License: MIT
9
+ Project-URL: Homepage, https://gitlab.com/boopzz/modbus-solar
10
+ Project-URL: Issues, https://gitlab.com/boopzz/modbus-solar/issues
11
+ Keywords: modbus,solar,renogy
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Requires-Python: >=3.8
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+
19
+ # Modbus Solar
20
+
21
+ [![pypi](https://img.shields.io/pypi/v/modbus-solar.svg)](https://pypi.org/project/modbus-solar/)
22
+ [![python](https://img.shields.io/pypi/pyversions/modbus-solar.svg)](https://pypi.org/project/modbus-solar/)
23
+ [![built with nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)
24
+
25
+ This project is to pull stats out of a Renogy DCC50S solar charge controller.
26
+
27
+ The connection will be made via modbus/RS485.
28
+
29
+ The end state will be to output stats in `json` format ready to be ingested into something like an InfluxDb instance.
30
+
31
+
32
+ ## To Use
33
+
34
+ 1. Python
35
+
36
+ ```python
37
+ from modbus_solar import get_all
38
+
39
+ stats = get_all()
40
+ ```
41
+
42
+ 1. CLI
43
+ ```bash
44
+ modbus-solar-get-all
45
+ ```
@@ -0,0 +1,8 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ modbus_solar.egg-info/PKG-INFO
6
+ modbus_solar.egg-info/SOURCES.txt
7
+ modbus_solar.egg-info/dependency_links.txt
8
+ modbus_solar.egg-info/top_level.txt
@@ -0,0 +1,24 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "modbus_solar"
7
+ version = "0.1.0"
8
+ authors = [
9
+ { name="boopzz", email="boopzz@pm.me" },
10
+ ]
11
+ description = "A small package to pull stats from a Renogy Solar Charge Controller"
12
+ keywords = ["modbus", "solar", "renogy"]
13
+ readme = "README.md"
14
+ requires-python = ">=3.8"
15
+ license = { text = "MIT"}
16
+ classifiers = [
17
+ "Programming Language :: Python :: 3",
18
+ "Operating System :: OS Independent",
19
+ "License :: OSI Approved :: MIT License",
20
+ ]
21
+
22
+ [project.urls]
23
+ Homepage = "https://gitlab.com/boopzz/modbus-solar"
24
+ Issues = "https://gitlab.com/boopzz/modbus-solar/issues"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,26 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ # read the contents of your README file
4
+ from pathlib import Path
5
+ this_directory = Path(__file__).parent
6
+ long_description = (this_directory / "README.md").read_text()
7
+
8
+ setup(
9
+ name='modbus-solar',
10
+ version='0.1.0',
11
+ author='boopzz',
12
+ author_email='boopzz@pm.me',
13
+ description = "A small package to pull stats from a Renogy Solar Charge Controller",
14
+ long_description=long_description,
15
+ long_description_content_type='text/markdown',
16
+ url='https://gitlab.com/boopzz/modbus-solar',
17
+ packages=find_packages(),
18
+ install_requires=[
19
+ 'minimalmodbus>=2.0.0'
20
+ ],
21
+ entry_points={
22
+ "console_scripts": [
23
+ "modbus-solar-get-all = modbus_solar:get_all", # #FIXME ensure they work with output tools ie jq, redirect etc
24
+ ],
25
+ },
26
+ )