gensor 0.0.2__tar.gz → 0.0.4__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: gensor
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: Library for handling groundwater sensor data.
5
5
  Home-page: https://github.com/zawadzkim/gensor
6
6
  Author: Mateusz Zawadzki
@@ -0,0 +1,14 @@
1
+ """
2
+ # DB
3
+
4
+ Module handling database connection in case saving and loading from SQLite database is
5
+ used.
6
+
7
+ Modules:
8
+
9
+ connection.py
10
+ """
11
+
12
+ from .connection import DatabaseConnection
13
+
14
+ __all__ = ["DatabaseConnection"]
@@ -1,4 +1,8 @@
1
- """Module for database connection."""
1
+ """Module defining database connection object.
2
+
3
+ Classes:
4
+ DatabaseConnection: Database connection object
5
+ """
2
6
 
3
7
  from pathlib import Path
4
8
 
@@ -10,7 +14,7 @@ from ..exceptions import DatabaseNotFound
10
14
 
11
15
 
12
16
  class DatabaseConnection(pyd.BaseModel):
13
- """Class for handling the database connection.
17
+ """Database connection object.
14
18
  If no database exists at the specified path, it will be created.
15
19
  If no database is specified, an in-memory database will be used.
16
20
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "gensor"
3
- version = "0.0.2"
3
+ version = "0.0.4"
4
4
  description = "Library for handling groundwater sensor data."
5
5
  authors = ["Mateusz Zawadzki <zawadzkimat@outlook.com>"]
6
6
  repository = "https://github.com/zawadzkim/gensor"
@@ -1,3 +0,0 @@
1
- from .connection import DatabaseConnection
2
-
3
- __all__ = ["DatabaseConnection"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes