pyLodStorage 0.0.73__tar.gz → 0.0.74__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.
- pylodstorage-0.0.74/PKG-INFO +72 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/sql.py +3 -2
- pylodstorage-0.0.74/pylodstorage.egg-info/PKG-INFO +72 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/setup.py +1 -1
- pylodstorage-0.0.73/PKG-INFO +0 -69
- pylodstorage-0.0.73/pylodstorage.egg-info/PKG-INFO +0 -69
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/LICENSE +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/README.md +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/__init__.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/csv.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/entity.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/jsonable.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/jsonpicklemixin.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/lod.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/mwTable.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/plot.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/query.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/sample.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/schema.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/sparql.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/storageconfig.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/tabulateCounter.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/uml.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/lodstorage/yamlablemixin.py +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/pylodstorage.egg-info/SOURCES.txt +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/pylodstorage.egg-info/dependency_links.txt +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/pylodstorage.egg-info/requires.txt +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/pylodstorage.egg-info/top_level.txt +0 -0
- {pylodstorage-0.0.73 → pylodstorage-0.0.74}/setup.cfg +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pylodstorage
|
|
3
|
+
Version: 0.0.74
|
|
4
|
+
Summary: python List of Dict (Table) Storage library
|
|
5
|
+
Home-page: https://github.com/WolfgangFahl/pyLodStorage
|
|
6
|
+
Author: Wolfgang Fahl
|
|
7
|
+
Author-email: wf@bitplan.com
|
|
8
|
+
Maintainer: Wolfgang Fahl
|
|
9
|
+
License: Apache License
|
|
10
|
+
Project-URL: Documentation, http://wiki.bitplan.com/index.php/PyLoDStorage
|
|
11
|
+
Project-URL: Code, https://github.com/WolfgangFahl/pyLoDStorage/blob/master/lodstorage/sql.py
|
|
12
|
+
Project-URL: Issue tracker, https://github.com/WolfgangFahl/pyLodStorage/issues
|
|
13
|
+
Platform: UNKNOWN
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
|
|
22
|
+
# pyLoDStorage
|
|
23
|
+
python List of Dict (Table) Storage library
|
|
24
|
+
|
|
25
|
+
[](https://pylodstorage.readthedocs.io/en/latest/?badge=latest)
|
|
26
|
+
[](https://pypi.org/project/pyLoDStorage/)
|
|
27
|
+
[](https://github.com/WolfgangFahl/pyLoDStorage/actions?query=workflow%3ABuild+branch%3Amaster)
|
|
28
|
+
[](https://pypi.python.org/pypi/pyLoDStorage/)
|
|
29
|
+
[](https://pepy.tech/project/pyLoDStorage)
|
|
30
|
+
[](https://github.com/WolfgangFahl/pyLoDStorage/issues)
|
|
31
|
+
[](https://github.com/WolfgangFahl/pyLoDStorage/issues/?q=is%3Aissue+is%3Aclosed)
|
|
32
|
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
33
|
+
|
|
34
|
+
What it is
|
|
35
|
+
==========
|
|
36
|
+
pyLoDStorage allows to store table like data (List of Dicts) via
|
|
37
|
+
|
|
38
|
+
- Sqlite3
|
|
39
|
+
- JSON
|
|
40
|
+
- SPARQL
|
|
41
|
+
|
|
42
|
+
Installation
|
|
43
|
+
============
|
|
44
|
+
```bash
|
|
45
|
+
pip install pylodstorage
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Get Sources
|
|
49
|
+
===========
|
|
50
|
+
```bash
|
|
51
|
+
git clone https://github.com/WolfgangFahl/pyLoDStorage
|
|
52
|
+
cd pyLodStorage
|
|
53
|
+
scripts/install
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Testing
|
|
57
|
+
=======
|
|
58
|
+
```bash
|
|
59
|
+
scripts/test
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Usage
|
|
63
|
+
=====
|
|
64
|
+
see [test cases](https://github.com/WolfgangFahl/pyLoDStorage/tree/master/tests)
|
|
65
|
+
|
|
66
|
+
## Documentation
|
|
67
|
+
[Wiki](http://wiki.bitplan.com/index.php/PyLoDStorage)
|
|
68
|
+
|
|
69
|
+
### Authors
|
|
70
|
+
* [Wolfgang Fahl](http://www.bitplan.com/Wolfgang_Fahl)
|
|
71
|
+
|
|
72
|
+
|
|
@@ -22,7 +22,7 @@ class SQLDB(object):
|
|
|
22
22
|
'''
|
|
23
23
|
RAM=":memory:"
|
|
24
24
|
|
|
25
|
-
def __init__(self,dbname:str=':memory:',connection=None,check_same_thread=True,debug=False, errorDebug=False):
|
|
25
|
+
def __init__(self,dbname:str=':memory:',connection=None,check_same_thread=True,timeout=5,debug=False, errorDebug=False):
|
|
26
26
|
'''
|
|
27
27
|
Construct me for the given dbname and debug
|
|
28
28
|
|
|
@@ -31,6 +31,7 @@ class SQLDB(object):
|
|
|
31
31
|
dbname(string): name of the database - default is a RAM based database
|
|
32
32
|
connection(Connection): an optional connection to be reused
|
|
33
33
|
check_same_thread(boolean): True if object handling needs to be on the same thread see https://stackoverflow.com/a/48234567/1497139
|
|
34
|
+
timeout(float): number of seconds for connection timeout
|
|
34
35
|
debug(boolean): if True switch on debug
|
|
35
36
|
errorDebug(boolean): True if debug info should be provided on errors (should not be used for production since it might reveal data)
|
|
36
37
|
'''
|
|
@@ -38,7 +39,7 @@ class SQLDB(object):
|
|
|
38
39
|
self.debug=debug
|
|
39
40
|
self.errorDebug=errorDebug
|
|
40
41
|
if connection is None:
|
|
41
|
-
self.c=sqlite3.connect(dbname,detect_types=sqlite3.PARSE_DECLTYPES,check_same_thread=check_same_thread)
|
|
42
|
+
self.c=sqlite3.connect(dbname,detect_types=sqlite3.PARSE_DECLTYPES,check_same_thread=check_same_thread,timeout=timeout)
|
|
42
43
|
else:
|
|
43
44
|
self.c=connection
|
|
44
45
|
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pylodstorage
|
|
3
|
+
Version: 0.0.74
|
|
4
|
+
Summary: python List of Dict (Table) Storage library
|
|
5
|
+
Home-page: https://github.com/WolfgangFahl/pyLodStorage
|
|
6
|
+
Author: Wolfgang Fahl
|
|
7
|
+
Author-email: wf@bitplan.com
|
|
8
|
+
Maintainer: Wolfgang Fahl
|
|
9
|
+
License: Apache License
|
|
10
|
+
Project-URL: Documentation, http://wiki.bitplan.com/index.php/PyLoDStorage
|
|
11
|
+
Project-URL: Code, https://github.com/WolfgangFahl/pyLoDStorage/blob/master/lodstorage/sql.py
|
|
12
|
+
Project-URL: Issue tracker, https://github.com/WolfgangFahl/pyLodStorage/issues
|
|
13
|
+
Platform: UNKNOWN
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
License-File: LICENSE
|
|
21
|
+
|
|
22
|
+
# pyLoDStorage
|
|
23
|
+
python List of Dict (Table) Storage library
|
|
24
|
+
|
|
25
|
+
[](https://pylodstorage.readthedocs.io/en/latest/?badge=latest)
|
|
26
|
+
[](https://pypi.org/project/pyLoDStorage/)
|
|
27
|
+
[](https://github.com/WolfgangFahl/pyLoDStorage/actions?query=workflow%3ABuild+branch%3Amaster)
|
|
28
|
+
[](https://pypi.python.org/pypi/pyLoDStorage/)
|
|
29
|
+
[](https://pepy.tech/project/pyLoDStorage)
|
|
30
|
+
[](https://github.com/WolfgangFahl/pyLoDStorage/issues)
|
|
31
|
+
[](https://github.com/WolfgangFahl/pyLoDStorage/issues/?q=is%3Aissue+is%3Aclosed)
|
|
32
|
+
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
33
|
+
|
|
34
|
+
What it is
|
|
35
|
+
==========
|
|
36
|
+
pyLoDStorage allows to store table like data (List of Dicts) via
|
|
37
|
+
|
|
38
|
+
- Sqlite3
|
|
39
|
+
- JSON
|
|
40
|
+
- SPARQL
|
|
41
|
+
|
|
42
|
+
Installation
|
|
43
|
+
============
|
|
44
|
+
```bash
|
|
45
|
+
pip install pylodstorage
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Get Sources
|
|
49
|
+
===========
|
|
50
|
+
```bash
|
|
51
|
+
git clone https://github.com/WolfgangFahl/pyLoDStorage
|
|
52
|
+
cd pyLodStorage
|
|
53
|
+
scripts/install
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Testing
|
|
57
|
+
=======
|
|
58
|
+
```bash
|
|
59
|
+
scripts/test
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Usage
|
|
63
|
+
=====
|
|
64
|
+
see [test cases](https://github.com/WolfgangFahl/pyLoDStorage/tree/master/tests)
|
|
65
|
+
|
|
66
|
+
## Documentation
|
|
67
|
+
[Wiki](http://wiki.bitplan.com/index.php/PyLoDStorage)
|
|
68
|
+
|
|
69
|
+
### Authors
|
|
70
|
+
* [Wolfgang Fahl](http://www.bitplan.com/Wolfgang_Fahl)
|
|
71
|
+
|
|
72
|
+
|
pylodstorage-0.0.73/PKG-INFO
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pylodstorage
|
|
3
|
-
Version: 0.0.73
|
|
4
|
-
Summary: python List of Dict (Table) Storage library
|
|
5
|
-
Home-page: https://github.com/WolfgangFahl/pyLodStorage
|
|
6
|
-
Author: Wolfgang Fahl
|
|
7
|
-
Author-email: wf@bitplan.com
|
|
8
|
-
Maintainer: Wolfgang Fahl
|
|
9
|
-
License: Apache License
|
|
10
|
-
Project-URL: Documentation, http://wiki.bitplan.com/index.php/PyLoDStorage
|
|
11
|
-
Project-URL: Code, https://github.com/WolfgangFahl/pyLoDStorage/blob/master/lodstorage/sql.py
|
|
12
|
-
Project-URL: Issue tracker, https://github.com/WolfgangFahl/pyLodStorage/issues
|
|
13
|
-
Description: # pyLoDStorage
|
|
14
|
-
python List of Dict (Table) Storage library
|
|
15
|
-
|
|
16
|
-
[](https://pylodstorage.readthedocs.io/en/latest/?badge=latest)
|
|
17
|
-
[](https://pypi.org/project/pyLoDStorage/)
|
|
18
|
-
[](https://github.com/WolfgangFahl/pyLoDStorage/actions?query=workflow%3ABuild+branch%3Amaster)
|
|
19
|
-
[](https://pypi.python.org/pypi/pyLoDStorage/)
|
|
20
|
-
[](https://pepy.tech/project/pyLoDStorage)
|
|
21
|
-
[](https://github.com/WolfgangFahl/pyLoDStorage/issues)
|
|
22
|
-
[](https://github.com/WolfgangFahl/pyLoDStorage/issues/?q=is%3Aissue+is%3Aclosed)
|
|
23
|
-
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
-
|
|
25
|
-
What it is
|
|
26
|
-
==========
|
|
27
|
-
pyLoDStorage allows to store table like data (List of Dicts) via
|
|
28
|
-
|
|
29
|
-
- Sqlite3
|
|
30
|
-
- JSON
|
|
31
|
-
- SPARQL
|
|
32
|
-
|
|
33
|
-
Installation
|
|
34
|
-
============
|
|
35
|
-
```bash
|
|
36
|
-
pip install pylodstorage
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Get Sources
|
|
40
|
-
===========
|
|
41
|
-
```bash
|
|
42
|
-
git clone https://github.com/WolfgangFahl/pyLoDStorage
|
|
43
|
-
cd pyLodStorage
|
|
44
|
-
scripts/install
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Testing
|
|
48
|
-
=======
|
|
49
|
-
```bash
|
|
50
|
-
scripts/test
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Usage
|
|
54
|
-
=====
|
|
55
|
-
see [test cases](https://github.com/WolfgangFahl/pyLoDStorage/tree/master/tests)
|
|
56
|
-
|
|
57
|
-
## Documentation
|
|
58
|
-
[Wiki](http://wiki.bitplan.com/index.php/PyLoDStorage)
|
|
59
|
-
|
|
60
|
-
### Authors
|
|
61
|
-
* [Wolfgang Fahl](http://www.bitplan.com/Wolfgang_Fahl)
|
|
62
|
-
|
|
63
|
-
Platform: UNKNOWN
|
|
64
|
-
Classifier: Programming Language :: Python
|
|
65
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
66
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
67
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
68
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
69
|
-
Description-Content-Type: text/markdown
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pylodstorage
|
|
3
|
-
Version: 0.0.73
|
|
4
|
-
Summary: python List of Dict (Table) Storage library
|
|
5
|
-
Home-page: https://github.com/WolfgangFahl/pyLodStorage
|
|
6
|
-
Author: Wolfgang Fahl
|
|
7
|
-
Author-email: wf@bitplan.com
|
|
8
|
-
Maintainer: Wolfgang Fahl
|
|
9
|
-
License: Apache License
|
|
10
|
-
Project-URL: Documentation, http://wiki.bitplan.com/index.php/PyLoDStorage
|
|
11
|
-
Project-URL: Code, https://github.com/WolfgangFahl/pyLoDStorage/blob/master/lodstorage/sql.py
|
|
12
|
-
Project-URL: Issue tracker, https://github.com/WolfgangFahl/pyLodStorage/issues
|
|
13
|
-
Description: # pyLoDStorage
|
|
14
|
-
python List of Dict (Table) Storage library
|
|
15
|
-
|
|
16
|
-
[](https://pylodstorage.readthedocs.io/en/latest/?badge=latest)
|
|
17
|
-
[](https://pypi.org/project/pyLoDStorage/)
|
|
18
|
-
[](https://github.com/WolfgangFahl/pyLoDStorage/actions?query=workflow%3ABuild+branch%3Amaster)
|
|
19
|
-
[](https://pypi.python.org/pypi/pyLoDStorage/)
|
|
20
|
-
[](https://pepy.tech/project/pyLoDStorage)
|
|
21
|
-
[](https://github.com/WolfgangFahl/pyLoDStorage/issues)
|
|
22
|
-
[](https://github.com/WolfgangFahl/pyLoDStorage/issues/?q=is%3Aissue+is%3Aclosed)
|
|
23
|
-
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
-
|
|
25
|
-
What it is
|
|
26
|
-
==========
|
|
27
|
-
pyLoDStorage allows to store table like data (List of Dicts) via
|
|
28
|
-
|
|
29
|
-
- Sqlite3
|
|
30
|
-
- JSON
|
|
31
|
-
- SPARQL
|
|
32
|
-
|
|
33
|
-
Installation
|
|
34
|
-
============
|
|
35
|
-
```bash
|
|
36
|
-
pip install pylodstorage
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Get Sources
|
|
40
|
-
===========
|
|
41
|
-
```bash
|
|
42
|
-
git clone https://github.com/WolfgangFahl/pyLoDStorage
|
|
43
|
-
cd pyLodStorage
|
|
44
|
-
scripts/install
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Testing
|
|
48
|
-
=======
|
|
49
|
-
```bash
|
|
50
|
-
scripts/test
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Usage
|
|
54
|
-
=====
|
|
55
|
-
see [test cases](https://github.com/WolfgangFahl/pyLoDStorage/tree/master/tests)
|
|
56
|
-
|
|
57
|
-
## Documentation
|
|
58
|
-
[Wiki](http://wiki.bitplan.com/index.php/PyLoDStorage)
|
|
59
|
-
|
|
60
|
-
### Authors
|
|
61
|
-
* [Wolfgang Fahl](http://www.bitplan.com/Wolfgang_Fahl)
|
|
62
|
-
|
|
63
|
-
Platform: UNKNOWN
|
|
64
|
-
Classifier: Programming Language :: Python
|
|
65
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
66
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
67
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
68
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
69
|
-
Description-Content-Type: text/markdown
|
|
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
|
|
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
|