redbacktechpy 0.3.1__tar.gz → 0.5.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redbacktechpy
3
- Version: 0.3.1
3
+ Version: 0.5.0
4
4
  Summary: Python Module to support Home Asssistant integration with Redback Technologies Smart Hybrid Inverter
5
5
  Author-email: Chris Abberley <unlisted@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/cabberley/redbacktechpy
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "redbacktechpy"
3
- version = "0.3.1"
3
+ version = "0.5.0"
4
4
  authors = [
5
5
  { name="Chris Abberley", email="unlisted@gmail.com" },
6
6
  ]
@@ -1,4 +1,4 @@
1
- from str_enum import StrEnum
1
+ from .str_enum import StrEnum
2
2
 
3
3
  TIMEOUT = 5 * 60
4
4
  DEVICEINFOREFRESH = 30 * 60 #Number of seconds to wait before refreshing device info as it doesn't change very often
@@ -1,7 +1,7 @@
1
1
  """ Data classes for Redback Tech API """
2
2
  from __future__ import annotations
3
3
 
4
- from dataclasses import dataclass
4
+ from .dataclasses import dataclass
5
5
  import datetime
6
6
  from typing import Any, Optional
7
7
 
@@ -7,7 +7,7 @@ from datetime import datetime, timedelta, timezone
7
7
  from bs4 import BeautifulSoup
8
8
  import logging
9
9
 
10
- from constants import (
10
+ from .constants import (
11
11
  BaseUrl,
12
12
  Endpoint,
13
13
  Header,
@@ -17,11 +17,11 @@ from constants import (
17
17
  DEVICEINFOREFRESH,
18
18
  )
19
19
 
20
- from model import (
20
+ from .model import (
21
21
  Inverters,
22
22
  Batterys,
23
23
  )
24
- from exceptions import (
24
+ from .exceptions import (
25
25
  AuthError,
26
26
  RedbackTechClientError,
27
27
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: redbacktechpy
3
- Version: 0.3.1
3
+ Version: 0.5.0
4
4
  Summary: Python Module to support Home Asssistant integration with Redback Technologies Smart Hybrid Inverter
5
5
  Author-email: Chris Abberley <unlisted@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/cabberley/redbacktechpy
File without changes
File without changes