summaryrefslogtreecommitdiff
path: root/rdflib/plugins/parsers/trig.py
Commit message (Collapse)AuthorAgeFilesLines
* build(deps-dev): bump black from 22.12.0 to 23.1.0 (#2248)dependabot[bot]2023-03-111-3/+0
|
* feat: add parser type hints (#2232)Iwan Aucamp2023-03-051-9/+18
| | | | | | | | | | | | | Add type hints to: - `rdflib/parser.py` - `rdflib/plugins/parser/*.py` - some JSON-LD utils - `rdflib/exceptions.py`. This is mainly because the work I'm doing to fix <https://github.com/RDFLib/rdflib/issues/1844> is touching some of this parser stuff and the type hints are useful to avoid mistakes. No runtime changes are included in this PR.
* [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2022-04-151-1/+2
| | | | for more information, see https://pre-commit.ci
* Merge remote-tracking branch 'origin/master' into t0b3_masterAshley Sommer2020-08-271-4/+8
|\ | | | | | | | | | | | | | | | | # Conflicts: # rdflib/namespace.py # rdflib/parser.py # rdflib/plugins/memory.py # rdflib/plugins/parsers/ntriples.py # test/test_iomemory.py
| * Merge pull request #1145 from ashleysommer/fix_1144Nicholas Car2020-08-231-1/+5
| |\ | | | | | | Make parsers CharacterStream aware
| | * Merged two Ntriples parser filesAshley Sommer2020-08-191-1/+5
| | | | | | | | | | | | | | | | | | | | | Changed name of NTriplesParser to W3CNTriplesParser, it is the legacy parser Populate CharacterStream attr on several types of rdflib InputSource, to provide unicode text stream, in addition to ByteStream Add support to N3, Trig, NTriples, NQuads parsers to use the CharacterStream instead of the ByteStream where possible Reduces many useless string->bytes->string conversions in parsers.
| * | More Black formatting changesAshley Sommer2020-08-191-3/+3
| |/
* | 2to3 whole sourcebaset0b32020-06-221-2/+0
|/ | | | Signed-off-by: t0b3 <thomas.bettler@gmail.com>
* changes for flake8Nicholas Car2020-05-171-3/+3
|
* blacked all python filesNicholas Car2020-05-161-23/+20
|
* a slightly opinionated autopep8 runGunnar Aastrand Grimnes2018-10-301-17/+13
| | | | | | | | opinions is mainly: no to long lines, but not at any cost. notation3.py crashses autopep :D Also rdflib/__init__.py gets completely broken
* converted all base serialisers and parsersGunnar Aastrand Grimnes2017-01-301-0/+2
|
* Set identifier of the parser sink to target graph. Fixes #432.Niklas Lindström2016-08-041-1/+1
|
* enabled trig eval tests and fixed up trig parserGunnar Aastrand Grimnes2013-12-301-3/+26
|
* made trig parser up to dateGunnar Aastrand Grimnes2013-12-221-12/+23
|
* Added a TriG parserGunnar Aastrand Grimnes2013-07-291-0/+132
Also cleaned up N3 parser a bit, and added a Turtle flag, so that special N3 features are not accepted when parsing as turtle. Fixes #273 - now we should add some tests :)