| Home | Trees | Index | Help |
|---|
| Package rdflib :: Package syntax :: Package parsers :: Module ntriples |
|
N-Triples Parser License: GPL 2, W3C, BSD, or MIT Author: Sean B. Palmer, inamidst.com Documentation: http://inamidst.com/proj/rdf/ntriples-doc Command line usage: ./ntriples.py <URI> - parses URI as N-Triples ./ntriples.py --help - prints out this help message # @@ fully empty document?
| Classes | |
|---|---|
Node |
|
NTriplesParser |
An N-Triples Parser. |
Sink |
|
| Exceptions | |
|---|---|
ParseError |
|
| Function Summary | |
|---|---|
main()
| |
parseURI(uri)
| |
unquote(s)
| |
uriquote(uri)
| |
| Variable Summary | |
|---|---|
int |
bufsiz = 2048 |
str |
literal = '"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"'
|
str |
litinfo = '(?:@([a-z]+(?:-[a-z0-9]+)*)|\\^\\^<([^:]+:[^\...
|
dict |
quot = {'"': '"', 'r': '\r', 't': '\t', '\\': '\\', 'n':...
|
SRE_Pattern |
r_hibyte = ([€-ÿ])
|
SRE_Pattern |
r_line = ([^\r\n]*)(?:\r\n|\r|\n)
|
SRE_Pattern |
r_literal = "([^"\\]*(?:\\.[^"\\]*)*)"(?:@([a-z]+(?:-[a-...
|
SRE_Pattern |
r_nodeid = _:([A-Za-z][A-Za-z0-9]*)
|
SRE_Pattern |
r_quot = \\([tnr"\\])
|
SRE_Pattern |
r_safe = ([ !#-[]-~]+)
|
SRE_Pattern |
r_tail = [ \t]*\.[ \t]*
|
SRE_Pattern |
r_uniquot = \\u([0-9A-F]{4})|U([0-9A-F]{8})
|
SRE_Pattern |
r_uriref = <([^:]+:[^\s"<>]+)>
|
SRE_Pattern |
r_wspace = [ \t]*
|
SRE_Pattern |
r_wspaces = [ \t]+
|
str |
uriref = '<([^:]+:[^\\s"<>]+)>'
|
bool |
validate = False
|
| Variable Details |
|---|
bufsiz
|
literal
|
litinfo
|
quot
|
r_hibyte
|
r_line
|
r_literal
|
r_nodeid
|
r_quot
|
r_safe
|
r_tail
|
r_uniquot
|
r_uriref
|
r_wspace
|
r_wspaces
|
uriref
|
validate
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Mon Oct 23 14:11:22 2006 | http://epydoc.sf.net |