Every time I write
import psycopg2
I wonder why it is called psycopy2, because I always forget the true spelling? Is there any history I can know so that I could remember it clearly?
Every time I write
import psycopg2
I wonder why it is called psycopy2, because I always forget the true spelling? Is there any history I can know so that I could remember it clearly?
The quote below is by Federico Di Gregorio, the author of the package. After dealing with a badly written python+postgres driver in the company he worked for at the time, he wrote his own simplified version (psycopg) and:
I wanted to call it psychopg (a reference to their psychotic driver) but I typed the name wrong.
I'm assuming the psycho in what would have been psychopg stands for psychotic while pg stands for postgres. So 'psychotic postgres'.