sqlalchemy-adapter icon indicating copy to clipboard operation
sqlalchemy-adapter copied to clipboard

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

Open hamidrasti opened this issue 5 months ago • 1 comments

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!

hamidrasti avatar Aug 14 '25 08:08 hamidrasti