-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
132 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ rdflib==6.0.2 | |
SPARQLWrapper==1.8.4 | ||
wlighter==1.0.1 | ||
plantuml==0.3.0 | ||
python-xz==0.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,12 @@ def read(file_path): | |
setup( | ||
name = 'shexer', | ||
packages = find_packages(exclude=["*.local_code.*"]), # this must be the same as the name above | ||
version = '2.5.0', | ||
version = '2.5.1', | ||
description = 'Automatic schema extraction for RDF graphs', | ||
author = 'Daniel Fernandez-Alvarez', | ||
author_email = '[email protected]', | ||
url = 'https://github.com/DaniFdezAlvarez/shexer', | ||
download_url = 'https://github.com/DaniFdezAlvarez/shexer/archive/2.5.0.tar.gz', | ||
download_url = 'https://github.com/DaniFdezAlvarez/shexer/archive/2.5.1.tar.gz', | ||
keywords = ['testing', 'shexer', 'shexerp3', "rdf", "shex", "shacl", "schema"], | ||
long_description = read('README.md'), | ||
long_description_content_type='text/markdown', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
#COMPRESSION FORMATS | ||
ZIP = "zip" | ||
GZ = "gz" | ||
XZ = "xz" | ||
|
||
# FREQUENCY MODES | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from xz import open as xzopen | ||
|
||
|
||
class XzFileLineReader(object): | ||
|
||
def __init__(self, xz_file): | ||
self._xz_file = xz_file | ||
|
||
def read_lines(self): | ||
with xzopen(self._xz_file, "r") as in_stream: | ||
for a_line in in_stream: | ||
yield a_line.decode("utf-8") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters