pyLodStorage 0.1.34__tar.gz → 0.2.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.
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/PKG-INFO +1 -1
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/trulytabular.py +2 -3
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/version.py +3 -3
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/pylodstorage.egg-info/PKG-INFO +1 -1
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/pylodstorage.egg-info/requires.txt +1 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/setup.py +2 -1
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/LICENSE +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/README.md +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/csv.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/entity.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/jsonable.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/jsonpicklemixin.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/lod.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/mwTable.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/plot.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/query.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/querymain.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/sample.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/schema.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/sparql.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/sql.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/storageconfig.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/tabulateCounter.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/uml.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/lodstorage/yamlablemixin.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/pylodstorage.egg-info/SOURCES.txt +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/pylodstorage.egg-info/dependency_links.txt +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/pylodstorage.egg-info/entry_points.txt +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/pylodstorage.egg-info/top_level.txt +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/__init__.py +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/endpoints.yaml +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/formats.yaml +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/queries.yaml +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/scholia.yaml +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/trulytabular.yaml +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/wf.yaml +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/sampledata/wikidata.yaml +0 -0
- {pylodstorage-0.1.34 → pylodstorage-0.2.0}/setup.cfg +0 -0
|
@@ -8,7 +8,6 @@ from lodstorage.query import Query,QueryManager,YamlPath
|
|
|
8
8
|
import os
|
|
9
9
|
import re
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
class WikidataProperty():
|
|
13
12
|
'''
|
|
14
13
|
a WikidataProperty
|
|
@@ -425,8 +424,8 @@ ORDER BY DESC(?count)"""
|
|
|
425
424
|
total+=f
|
|
426
425
|
statsRow["max"]=maxCount
|
|
427
426
|
if withQuery:
|
|
428
|
-
statsRow["queryf"]=self.noneTabularQuery(wdProperty)
|
|
429
|
-
statsRow["queryex"]=self.noneTabularQuery(wdProperty,asFrequency=False)
|
|
427
|
+
statsRow["queryf"]=self.noneTabularQuery(wdProperty).query
|
|
428
|
+
statsRow["queryex"]=self.noneTabularQuery(wdProperty,asFrequency=False).query
|
|
430
429
|
self.addStatsColWithPercent(statsRow,"total",total,itemCount)
|
|
431
430
|
self.addStatsColWithPercent(statsRow,"non tabular",nttotal,total)
|
|
432
431
|
return statsRow
|
|
@@ -11,7 +11,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|
|
11
11
|
long_description = f.read()
|
|
12
12
|
|
|
13
13
|
setup(
|
|
14
|
-
name=
|
|
14
|
+
name=Version.name,
|
|
15
15
|
version=Version.version,
|
|
16
16
|
|
|
17
17
|
packages=['lodstorage','sampledata'],
|
|
@@ -37,6 +37,7 @@ setup(
|
|
|
37
37
|
'pandas',
|
|
38
38
|
'jsonpickle',
|
|
39
39
|
'tabulate',
|
|
40
|
+
'pygments',
|
|
40
41
|
'pylatexenc~=2.10'
|
|
41
42
|
],
|
|
42
43
|
classifiers=[
|
|
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
|
|
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
|