News for hackers. Stuff that matters.
Re:Reasons to love SQLAlchemy by ThePhysicist on Thursday September 24, 2015 @09:51AM (#10271541)
SQLAlchemy really is great. Alembic (the schema migration toolkit) still lacks some functionality compared to e.g. the Django "South" package, especially concerning the handling of cyclic dependencies (where it just "bails out") and some things that are still not correctly implemented for various database backends (such as Enum fields), but apart from that it's a really really great tool. Recently I have used it to implement MongoDB query sntax on SQL which was not only possible using SQLAlchemy but even enjoyable (for those who are interested in running Mongo queries on SQL: https://github.com/adewes/blitzdb -> see feature/sql_backend branch, which is still not 100 % stable though).

What makes it especially amazing is that Mike Bayer has written 90 % of the code base by himself (https://github.com/zzzeek/sqlalchemy/graphs/contributors), which somtimes makes me wonder if he is a real person or just a pseudonym under which a group of talented programmers publish code ;)

Re:Reasons to love SQLAlchemy by shazow on Thursday September 24, 2015 @02:18PM (#10273483)
Another great one is zzzeek's mako templating, by far my favorite templating language: http://docs.makotemplates.org/

Anytime I write a web frontend in anything other than Python, I miss it very dearly. But really it's well-suited for any kind of templating work, even code generating—I've seen a few projects use it to generate C code. It's very powerful and doesn't try to dumb itself down because of some dogma about not using logic in templates.

Re:Reasons to love SQLAlchemy by keithy on Thursday September 24, 2015 @10:25AM (#10271765)
He reminds me of TJ Hollowaychuk, who singlehandedly wrote most of Express.js. Makes me wonder what the node community would be without him.
Re:Reasons to love SQLAlchemy by hokkos on Thursday September 24, 2015 @11:57AM (#10272326)
TJ is a group, like Nicolas Bourbaki.
Re:Reasons to love SQLAlchemy by kawera on Thursday September 24, 2015 @12:00PM (#10272358)
I didn't know that, thanks. Could you cite a reference?
Re:Reasons to love SQLAlchemy by ics on Thursday September 24, 2015 @12:23PM (#10272513)
Parent might not have meant it as fact but rather in reference to this: https://medium.com/@kelas/how-is-tj-holowaychuk-so-insanely-...
Re:Reasons to love SQLAlchemy by rattray on Thursday September 24, 2015 @01:49PM (#10273247)
I don't believe this to be generally regarded as true.
Re:Reasons to love SQLAlchemy by dangoor on Thursday September 24, 2015 @11:24AM (#10272127)
Even more amazing, at the time Mike started SQLAlchemy, his day job was working in Java... So SQLAlchemy was a total side project. I don't know if that has changed.

Mike is a master.

Re:Reasons to love SQLAlchemy by antod on Thursday September 24, 2015 @06:31PM (#10275230)
Yeah you can sense the Java experience, SQLAlchemy is what Hibernate wishes it could be :)
Re:Reasons to love SQLAlchemy by foota on Thursday September 24, 2015 @02:25PM (#10273534)
I believe I read that someone hired him to work on SQLAlchemy full time.
Re:Reasons to love SQLAlchemy by zzzeek on Thursday September 24, 2015 @02:55PM (#10273764)
I work for Red Hat in the Openstack group. I can spend part of my time working on SQLAlchemy upstream as it is a core component of Openstack. But we still take donations!! http://www.sqlalchemy.org/ :) :)
Re:Reasons to love SQLAlchemy by sametmax on Thursday September 24, 2015 @03:54PM (#10274213)
Hi man,

Do you plan on adding await/async support to mako ?

Cheers