sprockets.clients.postgresql
The sprockets.clients.postgresql package wraps the queries package providing environment variable based configuration for connecting to PostgreSQL.
Installation
sprockets.clients.postgresql is available on the Python Package Index and can be installed via pip or easy_install:
pip install sprockets.clients.postgresql
Documentation
Requirements
Example
The following example sets the environment variable for connecting to PostgreSQL on localhost to the production database and issues a query.
import os
from sprockets.clients import postgresql
os.environ['PGSQL_PROD'] = 'postgresql://postgres@localhost:5432/production'
session = postgresql.Session('prod')
result = session.query('SELECT 1')
print(repr(result))
Version History
Available at https://sprocketsclientspostgresql.readthedocs.org/en/latest/history.html
Metadata
Release files for sprockets.clients.postgresql 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sprockets.clients.postgresql-2.0.0.tar.gz | 4.8 kB | Without provenance | Details for sprockets.clients.postgresql-2.0.0.tar.gz |
Release files / sprockets.clients.postgresql-2.0.0.tar.gz
| Download URL | sprockets.clients.postgresql-2.0.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa7c3c9747e73cd4bfea9f5c9788355dd5d586f9382c20f9408914c0742ab822
|
|
BLAKE2b-256 checksum How to use checksums |
a77dd98a1f83a861cf00db1464038da667fb89202a93d585342ec8afd19e47d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sprockets.clients.postgresql 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.