Yuri Astrakhan
0400f04915
Error renaming
...
```
enum sparesults::error::ParseError -> QueryResultsParseError
struct sparesults::error::SyntaxError -> QueryResultsSyntaxError
Inlined inner
enum oxrdfxml::error::ParseError -> RdfXmlParseError
struct oxrdfxml::error::SyntaxError -> RdfXmlSyntaxError
enum oxttl::toolkit::error::ParseError -> TurtleParseError
struct oxttl::toolkit::error::SyntaxError -> TurtleSyntaxError
enum oxrdfio::error::ParseError -> RdfParseError
struct oxrdfio::error::SyntaxError -> RdfSyntaxError
struct spargebra::parser::ParseError -> SparqlSyntaxError
enum spargebra::parser::ParseErrorKind
Parser -> Syntax
```
1 year ago
Tpt
d838d55f02
Uses nightly rustfmt on imports and comments
1 year ago
Tpt
f01796b1a4
Python: Runs doctests as part of the unittests
1 year ago
Tpt
025bd2afd2
Uses new cargo lint configuration system
1 year ago
Tpt
4f404ab650
Python: allows again to use string for types (but with a deprecation warning)
1 year ago
Tpt
ddf589ea14
Python: Introduces enums for RDF and SPARQL result formats
1 year ago
Tpt
cc41448b18
Python: harmonizes parse_query_results and parse signatures
1 year ago
Tpt
261f9c64a5
Python: I/O adds a `path` parameter to read/write from/to a file
1 year ago
Tpt
48db7f872b
Python: any os.PathLike path is now supported
...
Improves stub generation
1 year ago
Tpt
8d348b2a6f
Upgrades PyO3
1 year ago
Tpt
d280f7d2f7
Adds basic location support to sparesults SyntaxError
1 year ago
Tpt
90b7b128f2
Upgrades MSRV to 1.70
2 years ago
Tpt
4c97637e4b
Python: improves documentation
2 years ago
Tpt
a6f32390df
Python: query results I/O
2 years ago
Tpt
a8f98a0056
Python: makes serialization method output bytes if no output is specified
2 years ago
Tpt
1b511ed018
Python: guess file type from file extension
2 years ago
Tpt
3c51dd31bc
Move back MSRV to 1.67 but keep Cargo.lock to 1.70
...
Allows to build on Debian unstable while using latest dependencies
2 years ago
Tpt
6edfb7a2f4
Python: Adds location data to SyntaxError
2 years ago
Tpt
f10e5a40a3
Enables more Clippy lints
...
Auto-enable all Clippy lints that are not in nursery but a blacklist
2 years ago
Tpt
c9ec5f7c0c
Python and & JS: Renames "mime_type" parameter to "format"
...
- adds support of extensions
- MIME type is a deprecated wording
2 years ago
Tpt
c6e55c706a
RDF serialization: removes implicit flush
...
Allows to the user to control flushing
2 years ago
Tpt
382aa2e01f
Python: allows giving pathlib.Path for input
2 years ago
Tpt
4a798ed3ea
Python: use OSError instead of IOError to map io::Error
2 years ago
Tpt
f183196859
Adopt new I/O API for parsing
2 years ago
Tpt
217abaf7ee
Adopt new I/O API for serialization
2 years ago
Tpt
12a738279f
Python: allows giving pathlib.Path for input
2 years ago
Tpt
922023b1da
Parsers do not need BufRead anymore
2 years ago
Tpt
69d8ce6b4e
Migrates RDF/XML parser from Rio
2 years ago
Tpt
71b1768d28
New N3/Turtle/TriG/N-Triple/N-Quad parsers and serializers
...
- Compatible with async IO
- Turtle/TriG parser recovery on simple errors
2 years ago
Tpt
8c62137a01
Upgrades PyO3 to 0.19
2 years ago
Thomas
d2804d8a8d
Python: fixes parsing from text I/O with not-ASCII char
...
Python text IO is counting by number of character
and not by number of bytes.
However, we were asking to read a number of bytes
and not a number of character,
leading to strange I/O exceptions being raised.
2 years ago
Tpt
7175784356
Improves Clippy lint list
2 years ago
Tpt
3e0f6b5405
Applies oxigraph crate clippy lint to the complete project
2 years ago
Tpt
935e778db1
Python: adds proper module medata to classes
2 years ago
Tpt
e553b6374a
Python: uses some recent PyO3 syntactic sugars
2 years ago
Tpt
3d9cbc5d14
Migrates to pyO3 0.18
2 years ago
Tpt
d453721e8b
Python: Uses typing.io for I/O types annotations
2 years ago
Tpt
808c9db007
String formatting: uses inline syntax
2 years ago
Tpt
3712142e6f
Python: makes type stubs and code valid according to Mypy strict mode
2 years ago
Tpt
7568aaab7b
Removes posonlyargs usages
...
It breaked Python 3.7 support for Mypy
2 years ago
Tpt
b3871fb8f2
Upgrades dependencies
2 years ago
Tpt
63412792af
Fixes pyoxigraph type documentation
2 years ago
Tpt
8636de227e
Upgrades to PyO3 0.17
3 years ago
Tpt
241bd763fa
Makes Python I/O abstraction easier to use
...
Adds support of reading from io.TextIOBase
Adds hidden support of reading from str and bytes
Improves test coverage
3 years ago
Tpt
66cfb3ebf6
Python: Allows to give a file path to I/O methods
3 years ago
Tpt
1f6c1db400
Python: release GIL on some costly methods
...
SPARQL query is currently blocked by https://github.com/PyO3/pyo3/issues/2140
3 years ago
Tpt
ad4bfe35c2
Fixes typos in the documentation
3 years ago
Tpt
bfac7d3bbf
Python: let the underlying Python errors go through Oxigraph
3 years ago
Tpt
ec5c7c86be
Improves RDF I/O ParseError
3 years ago
Tpt
a33dbb6d06
Avoids abusing std::io::Error
...
Introduces new specific errors and make them implement Into<io::Error> for compatibility
3 years ago