3 ms·
For interest sake, can SQLAlchemy run on PyPy; pgsql driver support? thanks,
by oneweekwonder 8y ago
For interest sake, can SQLAlchemy run on PyPy; pgsql driver support? thanks,
- sirn 8y agoSQLAlchemy can run on PyPy, but you have to use pg8000 (pure Python) or psycopg2cffi (cffi port) instead of psycopg2 for pg.
- fermigier 8y agoI haven't used it in production (only made some benchmarks), but the recommended approach is to use the pg8000 driver (https://github.com/mfenniak/pg8000 https://github.com/mfenniak/pg8000) with pypy, instead of psycopg.
- zzzeek 8y agouse psycopg2cffi: https://pypi.org/project/psycopg2cffi/ https://pypi.org/project/psycopg2cffi/