You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.0KB

  1. # engine/__init__.py
  2. # Copyright (C) 2005-2021 the SQLAlchemy authors and contributors
  3. # <see AUTHORS file>
  4. #
  5. # This module is part of SQLAlchemy and is released under
  6. # the MIT License: http://www.opensource.org/licenses/mit-license.php
  7. """SQL connections, SQL execution and high-level DB-API interface.
  8. The engine package defines the basic components used to interface
  9. DB-API modules with higher-level statement construction,
  10. connection-management, execution and result contexts. The primary
  11. "entry point" class into this package is the Engine and its public
  12. constructor ``create_engine()``.
  13. """
  14. from . import events
  15. from . import util
  16. from .base import Connection
  17. from .base import Engine
  18. from .base import NestedTransaction
  19. from .base import RootTransaction
  20. from .base import Transaction
  21. from .base import TwoPhaseTransaction
  22. from .create import create_engine
  23. from .create import engine_from_config
  24. from .cursor import BaseCursorResult
  25. from .cursor import BufferedColumnResultProxy
  26. from .cursor import BufferedColumnRow
  27. from .cursor import BufferedRowResultProxy
  28. from .cursor import CursorResult
  29. from .cursor import FullyBufferedResultProxy
  30. from .cursor import LegacyCursorResult
  31. from .cursor import ResultProxy
  32. from .interfaces import Compiled
  33. from .interfaces import Connectable
  34. from .interfaces import CreateEnginePlugin
  35. from .interfaces import Dialect
  36. from .interfaces import ExceptionContext
  37. from .interfaces import ExecutionContext
  38. from .interfaces import TypeCompiler
  39. from .mock import create_mock_engine
  40. from .reflection import Inspector
  41. from .result import ChunkedIteratorResult
  42. from .result import FrozenResult
  43. from .result import IteratorResult
  44. from .result import MappingResult
  45. from .result import MergedResult
  46. from .result import Result
  47. from .result import result_tuple
  48. from .result import ScalarResult
  49. from .row import BaseRow
  50. from .row import LegacyRow
  51. from .row import Row
  52. from .row import RowMapping
  53. from .url import make_url
  54. from .url import URL
  55. from .util import connection_memoize
  56. from ..sql import ddl