view stubs/rdflib/parser.pyi @ 1972:d4a07ad96aad

attempt a pyftdi output driver using code from https://github.com/jlbrogdon/dmx_controller/blob/master/OpenDmxUsb/__init__.py (gplv2) Ignore-this: 5a4dbbc0493dfa0bf62cc9c5b79b96d7
author drewp@bigasterisk.com
date Sat, 08 Jun 2019 07:36:34 +0000
parents 0f0ff27e55a3
children
line wrap: on
line source

# Stubs for rdflib.parser (Python 3.4)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any
from io import StringIO as BytesIO

class Parser:
    def __init__(self): ...
    def parse(self, source, sink): ...

class InputSource: # subclass of xmlreader
  ...


class StringInputSource(InputSource):
    def __init__(self, value, system_id=None): ...

class URLInputSource(InputSource):
    url = ...  # type: Any
    content_type = ...  # type: Any
    def __init__(self, system_id=None, format=None): ...

class FileInputSource(InputSource):
    file = ...  # type: Any
    def __init__(self, file): ...