Skip to main content

Highly Opinionated Utils: Flask Psycopg2

Project description

# Highly Opinionated Utils: Flask-Psycopg2

Provides the ability to integrate Flask directly with psycopg2 No need for a filthy ORM

## Installation

`bash pip install hou-flask-pscyopg2 `

Sometimes on macs psycopg2 is a little pain in the ass. You’ll see errors like

`bash >>> ld: library not found for -lssl >>> clang: error: linker command failed with exit code 1 (use -v to see invocation) >>> error: command 'clang' failed with exit status 1 `

To fix these try any of the following

  1. xcode-select –install

  2. brew install openssl

  3. LDFLAGS=”-L/usr/local/opt/openssl/lib” CPPFLAGS=”-I/usr/local/opt/openssl/include” pip install hou-flask-pscyopg2

History

0.0.1 (2018-06-27)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

hou_flask_psycopg2-0.0.6-py2.py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page