Skip to main content

PostgreSQL to BigQuery

Install with: pip install psql2bigquery

Get usage instructions with: psql2bigquery run --help

Sample usage

poetry run psql2bigquery run \
--db-host localhost \
--db-port 5432 \
--db-user username \
--db-password secret-password \
--db-name my_api \
--gcp-project my-project \
--gcp-dataset my_api \
--include table_name_a \
--include table_name_b \
--gcp-credential-path /path/to/credential.json

Logging

There's a possibility to use Sentry.io for error logging.

Just set the environment variable SENTRY_DSN and psql2bigquery will automatically configure the logger.

Additionally, the environment variable ENV can be used as Sentry environment.

Contributing

  • Fork this project
  • Install dependencies with make dependencies
    • Make sure you have Python 3 installed. (pyenv)[https://github.com/pyenv/pyenv#installation] is highly recommended
  • You can test the client locally (without installing the package) with poetry run psql2bigquery <command>
  • Make a PR with as much details as possible

Metadata

Release files for psql2bigquery 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psql2bigquery 0.0.3
File Size Uploaded Provenance
psql2bigquery-0.0.3.tar.gz 6.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for psql2bigquery 0.0.3
File Interpreter ABI Platform
psql2bigquery-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / psql2bigquery-0.0.3.tar.gz

Download URL psql2bigquery-0.0.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
19c7f99e62be7313b10431bff6359c509973818449399d5b76fd22b1d9068b4a
BLAKE2b-256 checksum
How to use checksums
6170f62f4516482d55b979b92ad8c565bb7b5cdd81799f05659958731dd26afc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.12 Linux/5.11.0-1020-azure

Release files / psql2bigquery-0.0.3-py3-none-any.whl

Download URL psql2bigquery-0.0.3-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2a130f2e5d83a8e5a128a03fea26bdb994e96e11d8c6fc21cbda0d594b85f1f
BLAKE2b-256 checksum
How to use checksums
cc17c5273bce3bb9c31d0602cfbfa81779b9548276ba710297b445d32d3a8afe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.12 Linux/5.11.0-1020-azure

Security for psql2bigquery 0.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page