Tpt
a8f98a0056
Python: makes serialization method output bytes if no output is specified
1 year ago
Tpt
1b511ed018
Python: guess file type from file extension
1 year ago
Tpt
6edfb7a2f4
Python: Adds location data to SyntaxError
1 year ago
Tpt
c9ec5f7c0c
Python and & JS: Renames "mime_type" parameter to "format"
...
- adds support of extensions
- MIME type is a deprecated wording
1 year ago
Tpt
f183196859
Adopt new I/O API for parsing
1 year 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
1 year 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.
1 year ago
Tpt
28def4001b
Python: Uses Ruff linter
2 years ago
Tpt
2d19a19320
Fixes TriG serialization
2 years ago
Tpt
d453721e8b
Python: Uses typing.io for I/O types annotations
2 years ago
Tpt
3712142e6f
Python: makes type stubs and code valid according to Mypy strict mode
2 years ago
Tpt
992137441f
Uses black for code formatting
2 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
2 years ago
Edmond Chuc
4902bac3a7
Add tests for pyoxigraph parse and serialize functions
2 years ago