__init__.py 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 2016-2022 Alexey Stepanov aka penguinolog
  2. # Licensed under the Apache License, Version 2.0 (the "License"); you may
  3. # not use this file except in compliance with the License. You may obtain
  4. # a copy of the License at
  5. # http://www.apache.org/licenses/LICENSE-2.0
  6. # Unless required by applicable law or agreed to in writing, software
  7. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  8. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  9. # License for the specific language governing permissions and limitations
  10. # under the License.
  11. """Implement JSONField for SQLAlchemy."""
  12. from __future__ import annotations
  13. # Local Implementation
  14. from .jsonfield import JSONField
  15. from .jsonfield import mutable_json_field
  16. try: # noqa: SIM105,FURB107,RUF100
  17. # Local Implementation
  18. from ._version import version as __version__
  19. except ImportError:
  20. pass
  21. __all__ = ("JSONField", "mutable_json_field", "__version__")
  22. __author__ = "Alexey Stepanov <penguinolog@gmail.com>"
  23. __author_email__ = "penguinolog@gmail.com"
  24. __url__ = "https://github.com/penguinolog/sqlalchemy_jsonfield"
  25. __description__ = "SQLALchemy JSONField implementation for storing dicts at SQL"
  26. __license__ = "Apache License, Version 2.0"