Need advice about which tool to choose?Ask the StackShare community!
NHibernate vs SQLAlchemy: What are the differences?
NHibernate: The object-relational mapper for .NET. It is a mature, open source object-relational mapper for the .NET framework. It's actively developed, fully featured and used in thousands of successful projects; SQLAlchemy: The Python SQL Toolkit and Object Relational Mapper. SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
NHibernate and SQLAlchemy can be categorized as "Object Relational Mapper (ORM)" tools.
NHibernate and SQLAlchemy are both open source tools. SQLAlchemy with 3.36K GitHub stars and 888 forks on GitHub appears to be more popular than NHibernate with 1.64K GitHub stars and 825 GitHub forks.
MonkeyLearn, WakaTime, and YOU-app are some of the popular companies that use SQLAlchemy, whereas NHibernate is used by Pinnacle Sports, ProProcure, and CRM Solutions. SQLAlchemy has a broader approval, being mentioned in 46 company stacks & 122 developers stacks; compared to NHibernate, which is listed in 6 company stacks and 5 developer stacks.
Pros of NHibernate
- DDD friendly5
Pros of SQLAlchemy
- Open Source7
Sign up to add or upvote prosMake informed product decisions
Cons of NHibernate
Cons of SQLAlchemy
- Documentation2