Basic orm for Python