Skip to content

Clarification Needed: Difference between pycasbin/sqlalchemy-adapter and officialpycasbin/sqlalchemy-adapter #77

@hamidrasti

Description

@hamidrasti

Hello Casbin Devs,

I've come across two GitHub repositories for the SQLAlchemy adapter in Python:

  1. pycasbin/sqlalchemy-adapter
    GitHub: https://github.com/pycasbin/sqlalchemy-adapter
    PyPI: https://pypi.org/project/casbin-sqlalchemy-adapter/
    (latest release: v1.4.0, July 8, 2024)

  2. officialpycasbin/sqlalchemy-adapter
    GitHub: https://github.com/officialpycasbin/sqlalchemy-adapter
    PyPI: https://pypi.org/project/sqlalchemy-adapter/
    (latest release: v1.3.0, October 26, 2024)

I noticed that the link to the officialpycasbin/sqlalchemy-adapter repository is referenced directly in the Casbin official adapters documentation here:
https://casbin.org/docs/adapters/

Could you please clarify:

  • What is the intended purpose of the officialpycasbin version compared to the primary pycasbin repo?
  • Is one version deprecated or meant for specific use cases?
  • Should users always prefer pycasbin/sqlalchemy-adapter?

Thanks for your time and for all the work you do on Casbin!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions