Skip to content

Commit 3dbf430

Browse files
authored
Merge branch 'master' into restore-sparqlstore
2 parents e635877 + 8e828c9 commit 3dbf430

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+15503
-4687
lines changed

.travis.yml

+19-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# http://travis-ci.org/RDFLib/sparqlwrapper
22

3+
branches:
4+
except:
5+
- gh-pages
6+
37
sudo: false
48

59
language: python
@@ -9,10 +13,23 @@ python:
913
- 3.4
1014
- 3.5
1115
- 3.6
12-
- 3.7
13-
- 3.8-dev
1416
- pypy
1517

18+
# Enable 3.7 and 3.8-dev without globally enabling sudo and dist: xenial for other build jobs
19+
matrix:
20+
include:
21+
- python: 3.7
22+
dist: xenial
23+
sudo: true
24+
- python: 3.8-dev
25+
env: ENV=py38-dev
26+
dist: xenial
27+
sudo: true
28+
29+
allow_failures:
30+
- env: ENV=py38-dev
31+
- python: 'pypy'
32+
1633
before_install:
1734
- pip install --upgrade pip setuptools
1835

AUTHORS.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
* Christian Amsüss ([@chrysn](https://github.com/chrysn)): dependecy fixes
2828
* Chris Lamb ([@lamby](https://github.com/lamby)): typo
2929
* Hugo van Kemenade ([@hugovk](https://github.com/hugovk)): update classifiers (Python 3.6)
30-
* Edward Betts([@EdwardBetts](https://github.com/EdwardBetts)): Correct spelling mistakes
31-
* Carlos Martínez([@c-martinez](https://github.com/c-martinez)): Mainly support for CSV and TSV results in SPARQL SELECT queries
32-
* Dan Michael O. Heggø([@danmichaelo](https://github.com/danmichaelo)): update README with SPARQLWrapper2 example
33-
* Sam Clements([@ borntyping](https://github.com/ borntyping)): Provide hints about setting properly the timeout
34-
30+
* Edward Betts ([@EdwardBetts](https://github.com/EdwardBetts)): Correct spelling mistakes
31+
* Carlos Martínez ([@c-martinez](https://github.com/c-martinez)): Mainly support for CSV and TSV results in SPARQL SELECT queries
32+
* Dan Michael O. Heggø ([@danmichaelo](https://github.com/danmichaelo)): update README with SPARQLWrapper2 example
33+
* Sam Clements ([@borntyping](https://github.com/borntyping)): Provide hints about setting properly the timeout
34+
* Marc Feger ([@MaFeg100](https://github.com/MaFeg100)): Improve/tests for development

ChangeLog.txt

+198-120
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,198 @@
1-
SPARQLWrapper's changelog:
2-
-------------------------
3-
2018-XX-XX 1.8.3 - Include ChangeLog.txt in the distribution
4-
- Removed import of SPARQLWrapper in setup.py (fixed #113 and closed #115)
5-
- Added support for querying RDF/XML in a CONSTRUCT query type
6-
- Updated the procedure for determining the query type (#120)
7-
- Do not send format parameter for the results ([format, output, results]) when the query is a SPARQL Update query
8-
- Added test for new agrovoc SPARQL endpoint (using Fuseki2)
9-
- Added test for 4store SPARQL endpoint (used by agroportal)
10-
- Added/Updated tests
11-
- Added examples
12-
- Updated doc
13-
14-
15-
2018-05-26 1.8.2 - Fixed bug (#100)
16-
- Updated doc
17-
- Added Unauthorized exception in SPARQLWrapperExceptions
18-
- Added support for custom HTTP headers (#52)
19-
- Changed timeout setting (#106)
20-
21-
2018-02-25 1.8.1 - Update classifiers (Python 3.6)
22-
- Added some documentation about the parameter to indicate the output format
23-
- Fixed typo in width calculation
24-
- Added support for CSV, TSV (PR #98)
25-
- Added support for Only HTTP Content Negotiation (#82)
26-
27-
2016-12-07 1.8.0 - Updated return formats for not content negotiation situations
28-
- Included license in the MANIFEST (issue #76)
29-
- Added explicit support for RDF/XML as allowed format (issue #75)
30-
- Added proper shebang (issue #78)
31-
- Moved keepalive as optional dependency (issue #79)
32-
- Fixed hash check on prefixes (issue #77)
33-
- Fixed epydoc warnings (issue #41)
34-
35-
2015-12-18 1.7.6 - Removed wrong response encoding (issue #70)
36-
- Authorization header bug when using Python 3 (issue #71)
37-
38-
2015-11-19 1.7.5 - Removed pip dependency on setup (issue #69)
39-
40-
2015-11-05 1.7.4 - Fixed packaging (issue #66)
41-
42-
2015-11-05 1.7.3 - Finally fixed the keepalive issue in all Pyhon versions (issue #65)
43-
- Removed old JSON layer in favor of the native json module
44-
45-
2015-11-03 1.7.2 - Moved to the new keepalive package (issues #53 and #61)
46-
47-
2015-10-29 1.7.1 - Fixed build in Python 3.x (issue #57)
48-
49-
2015-10-29 1.7.0 - Added support to HTTP Digest Auth Support (issue #45)
50-
- Improved print_results showing language tag (xml:lang) and datatype
51-
- Updated to RDFLib 4.x
52-
53-
2014-08-26 1.6.4 - Fixed unicode problems on setup (issue #42)
54-
55-
2014-08-26 1.6.3 - Fixed unicode problems with urllib in Python 3 (issue #35)
56-
- Restored SPARQLWrapper2 class (issue #36)
57-
- Enhanced warning for missing rdflib-jsonld (issue #38)
58-
- Fixed build system (issue #39)
59-
60-
2014-07-24 1.6.2 - Fixed query type detection with comments (issue #32)
61-
62-
2014-07-21 1.6.1 - Added missing query types (issue #17)
63-
- Added a new method to the API to select the request method to be fully SPARQL 1.1 Protocol compliant (issue #28)
64-
- Improved the test suite coverage, including support to run the tests under Python 3.x (issues #20, #24 and #31)
65-
66-
2014-05-09 1.6.0 - Returning raw response in case of unknown content type returned
67-
- Fixed some issues with the last version of the SPARQL 1.1 Update Protocol
68-
- setQuery() doesn't imply resetQuery() anymore
69-
- Deprecated addCustomParameter(), addParameter() and clearParameter() come to provide all required functionality
70-
- SPARQLWrapper, QueryResult, Value, Bindings (and classes inherited from them) are new-style classes now
71-
- POST queries are accompanied by full set of parameters now
72-
- Added rudimentary support for JSON-LD
73-
- Added proper unit tests without dependencies of external endpoints
74-
- Fixed Python 3 compatibility issues in SmartWrapper module
75-
76-
2012-08-28 1.5.2 - Implemented update operation according the latest SPARQL 1.1 Protocol drafts (i.e., switching to 'update' parameter)
77-
78-
2012-07-10 1.5.1 - Added the possibility to use two different endpoints for reading and writing operations
79-
- New print_results() function for users testing
80-
81-
2012-02-01 1.5.0 - Update handling 500's coming from SPARQL endpoint (feature request #3198363)
82-
- Added Python 3.x support (feature request 3022722)
83-
- Warning when returned format would be different than the requested one
84-
85-
2011-01-28 1.4.2 - Updated for working with RDFLib3 too (feature request #3117442)
86-
- fixed bug with prefixes' regex (#2320024)
87-
88-
2010-01-11 1.4.1 - Supporting keep-alive in SPARQLWrapper if urlgrabber is available (ticket #2929881)
89-
- fixed bugs (#2949834)
90-
91-
2009-12-14 1.4.0 - Added some support for SPARUL
92-
- Improved HTTP related code
93-
- Many other minor bugs fixed
94-
95-
2009-09-23 1.3.2 - Remove pyxml dependency. Instead, use xml.dom.minidom
96-
- Updated setup installation (added rdflib dependency)
97-
- Updated example.py (added XML, N3 and RDF examples)
98-
99-
2009-09-11 1.3.1 - Remove simplejson dependency for python => 2.6 version
100-
- Added feature to choose the json module to use
101-
102-
2009-05-06 1.3.0 - Added a new method to add custom parameters (deprecated old way to do it)
103-
104-
2009-04-27 1.2.1 - Updated setup installation
105-
- Patched to work with JSON in Python>=2.6
106-
107-
2008-07-10 1.2.0 - Allowed non-standard extensions (such as SPARUL).
108-
- Exceptions fixed.
109-
- Added another example.
110-
111-
2008-03-24 1.1.0 - Renamed package name to SPARQLWrapper.
112-
- Added a basic catalog of exceptions.
113-
114-
2008-03-07 1.0.1 - Fixed some cosmetic things.
115-
116-
2008-02-14 1.0.0 - First stable release.
117-
- Main functionality stabilized.
118-
- Project moved to SourceForge.
119-
120-
2007-07-06 0.2.0 - First public release of the library.
1+
SPARQLWrapper's changelog
2+
=========================
3+
4+
2019-XX-XX 1.8.6
5+
-----------------
6+
- XXX
7+
8+
2019-12-22 1.8.5
9+
-----------------
10+
- Improve/tests for development (#131)
11+
- Changed. Be more strict on Accept Turtle header (#137)
12+
- Migrated documentation from epydoc to sphinx and readthedocs
13+
14+
2019-04-18 1.8.4
15+
-----------------
16+
- Added example
17+
- hotfix: Added custom_fixers folder in MANIFEST, in order to be used in python3 (#129)
18+
19+
2019-04-17 1.8.3
20+
-----------------
21+
- Include ChangeLog.txt in the distribution
22+
- Removed import of SPARQLWrapper in setup.py (fixed #113 and closed #115)
23+
- Added support for querying RDF/XML in a CONSTRUCT query type
24+
- Updated the procedure for determining the query type (#120)
25+
- Do not send format parameter for the results ([format, output, results]) when the query is a SPARQL Update query
26+
- Added test for new agrovoc SPARQL endpoint (using Fuseki2)
27+
- Added test for 4store SPARQL endpoint (used by agroportal)
28+
- Added/Updated tests
29+
- Added examples
30+
- Updated doc
31+
- Fixed code generated for python3 using 2to3, adding a custom fixer (#109)
32+
33+
2018-05-26 1.8.2
34+
-----------------
35+
- Fixed bug (#100)
36+
- Updated doc
37+
- Added Unauthorized exception in SPARQLWrapperExceptions
38+
- Added support for custom HTTP headers (#52)
39+
- Changed timeout setting (#106)
40+
41+
2018-02-25 1.8.1
42+
-----------------
43+
- Update classifiers (Python 3.6)
44+
- Added some documentation about the parameter to indicate the output format
45+
- Fixed typo in width calculation
46+
- Added support for CSV, TSV (PR #98)
47+
- Added support for Only HTTP Content Negotiation (#82)
48+
49+
2016-12-07 1.8.0
50+
-----------------
51+
- Updated return formats for not content negotiation situations
52+
- Included license in the MANIFEST (issue #76)
53+
- Added explicit support for RDF/XML as allowed format (issue #75)
54+
- Added proper shebang (issue #78)
55+
- Moved keepalive as optional dependency (issue #79)
56+
- Fixed hash check on prefixes (issue #77)
57+
- Fixed epydoc warnings (issue #41)
58+
59+
2015-12-18 1.7.6
60+
-----------------
61+
- Removed wrong response encoding (issue #70)
62+
- Authorization header bug when using Python 3 (issue #71)
63+
64+
2015-11-19 1.7.5
65+
-----------------
66+
- Removed pip dependency on setup (issue #69)
67+
68+
2015-11-05 1.7.4
69+
-----------------
70+
- Fixed packaging (issue #66)
71+
72+
2015-11-05 1.7.3
73+
-----------------
74+
- Finally fixed the keepalive issue in all Pyhon versions (issue #65)
75+
- Removed old JSON layer in favor of the native json module
76+
77+
2015-11-03 1.7.2
78+
-----------------
79+
- Moved to the new keepalive package (issues #53 and #61)
80+
81+
2015-10-29 1.7.1
82+
-----------------
83+
- Fixed build in Python 3.x (issue #57)
84+
85+
2015-10-29 1.7.0
86+
-----------------
87+
- Added support to HTTP Digest Auth Support (issue #45)
88+
- Improved print_results showing language tag (xml:lang) and datatype
89+
- Updated to RDFLib 4.x
90+
91+
2014-08-26 1.6.4
92+
-----------------
93+
- Fixed unicode problems on setup (issue #42)
94+
95+
2014-08-26 1.6.3
96+
-----------------
97+
- Fixed unicode problems with urllib in Python 3 (issue #35)
98+
- Restored SPARQLWrapper2 class (issue #36)
99+
- Enhanced warning for missing rdflib-jsonld (issue #38)
100+
- Fixed build system (issue #39)
101+
102+
2014-07-24 1.6.2
103+
-----------------
104+
- Fixed query type detection with comments (issue #32)
105+
106+
2014-07-21 1.6.1
107+
-----------------
108+
- Added missing query types (issue #17)
109+
- Added a new method to the API to select the request method to be fully SPARQL 1.1 Protocol compliant (issue #28)
110+
- Improved the test suite coverage, including support to run the tests under Python 3.x (issues #20, #24 and #31)
111+
112+
2014-05-09 1.6.0
113+
-----------------
114+
- Returning raw response in case of unknown content type returned
115+
- Fixed some issues with the last version of the SPARQL 1.1 Update Protocol
116+
- setQuery() doesn't imply resetQuery() anymore
117+
- Deprecated addCustomParameter(), addParameter() and clearParameter() come to provide all required functionality
118+
- SPARQLWrapper, QueryResult, Value, Bindings (and classes inherited from them) are new-style classes now
119+
- POST queries are accompanied by full set of parameters now
120+
- Added rudimentary support for JSON-LD
121+
- Added proper unit tests without dependencies of external endpoints
122+
- Fixed Python 3 compatibility issues in SmartWrapper module
123+
124+
2012-08-28 1.5.2
125+
-----------------
126+
- Implemented update operation according the latest SPARQL 1.1 Protocol drafts (i.e., switching to 'update' parameter)
127+
128+
2012-07-10 1.5.1
129+
-----------------
130+
- Added the possibility to use two different endpoints for reading and writing operations
131+
- New print_results() function for users testing
132+
133+
2012-02-01 1.5.0
134+
-----------------
135+
- Update handling 500's coming from SPARQL endpoint (feature request #3198363)
136+
- Added Python 3.x support (feature request 3022722)
137+
- Warning when returned format would be different than the requested one
138+
139+
2011-01-28 1.4.2
140+
-----------------
141+
- Updated for working with RDFLib3 too (feature request #3117442)
142+
- fixed bug with prefixes' regex (#2320024)
143+
144+
2010-01-11 1.4.1
145+
-----------------
146+
- Supporting keep-alive in SPARQLWrapper if urlgrabber is available (ticket #2929881)
147+
- fixed bugs (#2949834)
148+
149+
2009-12-14 1.4.0
150+
-----------------
151+
- Added some support for SPARUL
152+
- Improved HTTP related code
153+
- Many other minor bugs fixed
154+
155+
2009-09-23 1.3.2
156+
-----------------
157+
- Remove pyxml dependency. Instead, use xml.dom.minidom
158+
- Updated setup installation (added rdflib dependency)
159+
- Updated example.py (added XML, N3 and RDF examples)
160+
161+
2009-09-11 1.3.1
162+
-----------------
163+
- Remove simplejson dependency for python => 2.6 version
164+
- Added feature to choose the json module to use
165+
166+
2009-05-06 1.3.0
167+
-----------------
168+
- Added a new method to add custom parameters (deprecated old way to do it)
169+
170+
2009-04-27 1.2.1
171+
-----------------
172+
- Updated setup installation
173+
- Patched to work with JSON in Python>=2.6
174+
175+
2008-07-10 1.2.0
176+
-----------------
177+
- Allowed non-standard extensions (such as SPARUL).
178+
- Exceptions fixed.
179+
- Added another example.
180+
181+
2008-03-24 1.1.0
182+
-----------------
183+
- Renamed package name to SPARQLWrapper.
184+
- Added a basic catalog of exceptions.
185+
186+
2008-03-07 1.0.1
187+
-----------------
188+
- Fixed some cosmetic things.
189+
190+
2008-02-14 1.0.0
191+
-----------------
192+
- First stable release.
193+
- Main functionality stabilized.
194+
- Project moved to SourceForge.
195+
196+
2007-07-06 0.2.0
197+
-----------------
198+
- First public release of the library.

MANAGEMENT.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@ Please, don't forget to increment to the next module (`SPARQLWrapper/__init__.py
2727

2828
### Documentation
2929

30-
In order to provide online documentation, some steps need to be accomplished:
30+
In order to provide offline documentation, some steps need to be accomplished:
3131

32-
1. First, generate the documentation using [epydoc](http://epydoc.sourceforge.net/) using the makefile
32+
1. First, generate the documentation using [sphinx](http://www.sphinx-doc.org/) using the makefile
3333

34-
make doc
34+
$ cd docs
35+
$ make clean && make html
36+
37+
38+
Previously, [epydoc](http://epydoc.sourceforge.net/) was used for generating the documentation and make it available online, through two additional steps:
3539

3640
2. And then upload the documentation generated (`doc` folder) to GitHub Pages (`gh-pages` branch).
3741

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ include scripts/*.py
55
include requirements.txt
66
include LICENSE.txt
77
include ChangeLog.txt
8+
graft custom_fixers
9+
graft docs/build/html

0 commit comments

Comments
 (0)