expdb
Python library and CLI for exporting MySQL databases
Installation
-
Pre-requisites
MySQL serverPython 3.9+
-
Using
git- Clone the repository to your local machine
git clone https://github.com/Devansh3712/expdb.git- Install
python setup.py install -
Using PyPI
- Windows
pip install expdb- Linux/MacOS
pip3 install expdb
Usage
-
CLI
Usage: expdb [OPTIONS] COMMAND [ARGS]... CLI for exporting MySQL databases in various file formats Available formats: BIN, CSV, JSON, SQL Options: --help Show this message and exit. Commands: exportall Export all tables from a database exportdb Export a whole database in SQL file format exportmany Export multiple tables from a database exportone Export a single table from a database-
exportallExports all tables in the input database -
exportdbExport a whole database in SQL format -
exportmanyExport multiple tables from the input database -
exportoneExport a single table from the input database
-
-
Library
from expdb import JSON
OBJ = JSON(username = "root", password = "root", database = "test")
EXPORT = OBJ.exportmany(tables = ["users", "sales"])
Metadata
Release files for expdb 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 |
|---|---|---|---|---|
| expdb-1.0.tar.gz | 8.1 kB | Without provenance | Details for expdb-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| expdb-1.0-py3-none-any.whl | Python 3 | none | any | Details for expdb-1.0-py3-none-any.whl |
Total release size: 23.0 kB
Release files / expdb-1.0.tar.gz
| Download URL | expdb-1.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4003ab83e1667cbd18856f51dd30c83f5f7b72f10aab0d347d21022f20a74fbc
|
|
BLAKE2b-256 checksum How to use checksums |
9730498223205f27b37d2e8baaecd1bfdac108b3a220a5bd809a9a0690350c5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / expdb-1.0-py3-none-any.whl
| Download URL | expdb-1.0-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3a0c40ecda04e6cb89647e9772aac7c772ffc42a287fdbf16be5464bead8b73
|
|
BLAKE2b-256 checksum How to use checksums |
0cea9dd1c7746fb132c02826c415100d1cbffa433138c37124ad707e9ddf4756
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for expdb 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.