__init__.py 888 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright Amethyst Reese
  2. # Licensed under the MIT license
  3. """asyncio bridge to the standard sqlite3 module"""
  4. from sqlite3 import ( # pylint: disable=redefined-builtin
  5. DatabaseError,
  6. Error,
  7. IntegrityError,
  8. NotSupportedError,
  9. OperationalError,
  10. paramstyle,
  11. ProgrammingError,
  12. register_adapter,
  13. register_converter,
  14. Row,
  15. sqlite_version,
  16. sqlite_version_info,
  17. Warning,
  18. )
  19. __author__ = "Amethyst Reese"
  20. from .__version__ import __version__
  21. from .core import connect, Connection, Cursor
  22. __all__ = [
  23. "__version__",
  24. "paramstyle",
  25. "register_adapter",
  26. "register_converter",
  27. "sqlite_version",
  28. "sqlite_version_info",
  29. "connect",
  30. "Connection",
  31. "Cursor",
  32. "Row",
  33. "Warning",
  34. "Error",
  35. "DatabaseError",
  36. "IntegrityError",
  37. "ProgrammingError",
  38. "OperationalError",
  39. "NotSupportedError",
  40. ]