dbcopy
Copy tables from a source database to a destination database, with both databases using different SQL engines. This can be used, for example, to copy the contents from a MySQL or MSSQL database to Postgres. While less civilized, the opposite operation might also work :-P
Installation
Please install dbcopy using the Python pip command:
pip install -U dbcopy
Depending on the database backend, you may need to also install a connection adapter. Recommended adapters can be installed as extras with the package:
pip install -U dbcopy[postgres,mssql]
Usage
You must always specify a source database connection URI and a target database URI:
dbcopy --drop postgresql://localhost/demo sqlite:///demo.sqlite3
There are additional parameters to skip individual tables or normalize tables and column names to the common snake_case form. For these options, please see:
dbcopy --help
Metadata
Release files for dbcopy 0.1.7
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 |
|---|---|---|---|---|
| dbcopy-0.1.7.tar.gz | 5.2 kB | Without provenance | Details for dbcopy-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dbcopy-0.1.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for dbcopy-0.1.7-py2.py3-none-any.whl |
Total release size: 11.2 kB
Release files / dbcopy-0.1.7.tar.gz
| Download URL | dbcopy-0.1.7.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39a59c1130125d030aeeb623abc5402f4297f37ed384a6ff7be17bae19b8cc7b
|
|
BLAKE2b-256 checksum How to use checksums |
8572723b8630cd9fefd21737de0e983cc2eff2f922408e3c9166194f5a240f57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / dbcopy-0.1.7-py2.py3-none-any.whl
| Download URL | dbcopy-0.1.7-py2.py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bf67246686f6988ddd2930d8225d33893f64e4059b50d3fbf8a790eb9347f3e0
|
|
BLAKE2b-256 checksum How to use checksums |
d4a47f1531c64134d2fe28ee01819f5fb67b988ac740491aa967cf0b9110c8fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for dbcopy 0.1.7
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.