=============== LIBRARY RULES =============== From library maintainers: - Run dbconvert convert --source postgres|mysql --conn --sqlite ; dbconvert gui needs pip install "dbconvert[gui]". ### Launch the GUI Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Command to launch the graphical user interface. Requires installation with GUI support. ```bash dbconvert gui ``` -------------------------------- ### Install development dependencies Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Install the package in editable mode. For GUI support, use the [gui] extra. ```bash pip install -e . ``` ```bash pip install -e ".[gui]" ``` -------------------------------- ### Install DbConvert via pip Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Install the core package. For GUI support, install with the extra dependencies. ```bash pip install dbconvert ``` ```bash pip install dbconvert[gui] ``` -------------------------------- ### Convert MySQL database to SQLite Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Example command to convert a MySQL database to an SQLite file. ```bash dbconvert convert --source mysql --conn "mysql://user:password@dbhost:3306/production" --sqlite prod_backup.sqlite ``` -------------------------------- ### Convert PostgreSQL database to SQLite Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Example command to convert a PostgreSQL database to an SQLite file. ```bash dbconvert convert --source postgres --conn "postgresql://user:password@dbhost:5432/mydb" --sqlite mydb.sqlite ``` -------------------------------- ### DbConvert CLI help and options Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Shows the CLI command structure and options for the convert command. The --source, --conn, and --sqlite options are required. ```bash dbconvert [COMMAND] [OPTIONS] Commands: convert Convert a database to SQLite supported-databases Show supported database types gui Launch the graphical user interface Options for convert: --source TEXT Source database type (postgres, mysql) [required] --conn TEXT Source database connection string [required] --sqlite TEXT Target SQLite database file path [required] --help Show this help message and exit ``` -------------------------------- ### List supported database types Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Command to display the supported database types. ```bash dbconvert supported-databases ``` -------------------------------- ### Create and activate virtual environment Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Create a Python virtual environment and activate it. On Windows, use venv\Scripts\activate instead. ```bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate ``` -------------------------------- ### Clone the repository Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Clone the DbConvert repository and navigate into the directory. ```bash git clone https://github.com/ysskrishna/dbconvert.git cd dbconvert ``` -------------------------------- ### PostgreSQL connection string format Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Format for PostgreSQL connection strings used with the --conn option. ```text postgresql://[user[:password]@][host][:port][/dbname] ``` -------------------------------- ### MySQL connection string format Source: https://github.com/ysskrishna/dbconvert/blob/main/README.md Format for MySQL connection strings used with the --conn option. ```text mysql://[user[:password]@][host][:port][/dbname] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.