url2pg - v0.1.0
This repository ingests data from a CSV/Parquet url into a Postgres table overwriting the previous table if it exists.
Installation
uv add url2pg
or
pip install url2pg
Usage:
url2pg \
--user=<postgres_user:default=root> \
--password=<postgres_password:default=root> \
--host=<postgres_host:default=localhost> \
--port=<postgres_port:default=5432> \
--db=<*_db> \
--table_name=<*_destiny_table> \
--url_file=<*_source_url>
You can use as a Docker image as well:
docker run -it \
--network=<*_destiny_network> \
cesarbouli/url2pg \
--user=<postgres_user:default=root> \
--password=<postgres_password:default=root> \
--host=<postgres_host:default=localhost> \
--port=<postgres_port:default=5432> \
--db=<*_db> \
--table_name=<*_destiny_table> \
--url_file=<*_source_url>
In your docker compose file:
services:
ingestion-data:
image: cesarbouli/url2pg
command: --db=<_db_> (...)
(...)
Docker image: https://hub.docker.com/r/cesarbouli/url2pg \
Metadata
Release files for url2pg 0.1.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 |
|---|---|---|---|---|
| url2pg-0.1.0.tar.gz | 2.9 kB | Without provenance | Details for url2pg-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| url2pg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for url2pg-0.1.0-py3-none-any.whl |
Total release size: 6.0 kB
Release files / url2pg-0.1.0.tar.gz
| Download URL | url2pg-0.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2904465a3881ec152080e51666d1a3497d6f9868915bcdfd109d66f340c7180a
|
|
BLAKE2b-256 checksum How to use checksums |
3e726c7787e606272e76f8cc6166c855f9630042b8a1a795dd9ab0b136112b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / url2pg-0.1.0-py3-none-any.whl
| Download URL | url2pg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36d041d67ce7ffb07f469e55309e74b7dc526163ecf8038c05fc9f76c4dcb2aa
|
|
BLAKE2b-256 checksum How to use checksums |
0f94a0ef7655840446b468be8eb5c027668eb8507ad4ea3cf29556152745a6a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for url2pg 0.1.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.