Skip to main content

pycsvdb

Read csv and insert into DB

Requirements

  • Python 3.x

  • hashlib

  • pandas

  • sqlalchemy

  • shelve

  • numpy

Installation

$ pip install pycsvdb

Example

from pycsvdb import CsvManage

CsvManage(db_config_file="config.ini", file_name="filename.csv", primary_key="id", table_name="table_name")

Confi.ini format

[DB]


sqlalchemy.url = postgresql://postgres:password@localhost:5432/postgres

stage_schema = stage_table

prod_schema = prod_table

Metadata

Release files for pycsvdb 2.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 pycsvdb 2.3
File Size Uploaded Provenance Actions
pycsvdb-2.3.tar.gz 4.6 kB Without provenance Details for pycsvdb-2.3.tar.gz

Release files / pycsvdb-2.3.tar.gz

Download URL pycsvdb-2.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e75990e125237c34c963903d2276edcb69e535aa2216d0b07f2c2027ac2125ec
BLAKE2b-256 checksum
How to use checksums
0222c326bbb999b0e9815a83aefbdbfa01ec84f9badde04ffe4d3b96ff1ee0b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pycsvdb 2.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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