ace.ari_text package
CODEC for converting ARI to and from text URI form.
- class ace.ari_text.Decoder
Bases:
objectThe decoder portion of this CODEC.
- class ace.ari_text.Encoder
Bases:
objectThe encoder portion of this CODEC.
- encode(obj, buf: TextIO)
Encode an ARI into UTF8 text.
- Parameters:
obj – The ARI object to encode.
buf – The buffer to write into.
- exception ace.ari_text.ParseError
Bases:
RuntimeErrorIndicate an error in ARI parsing.
Submodules
Lexer configuration for ARI text decoding.
- ace.ari_text.lexmod.new_lexer(**kwargs)
Parser configuration for ARI text decoding.
- ace.ari_text.parsemod.new_parser(**kwargs)