dbtrolls - A simple tool to make Dev's life happy.
Project description
dbtrolls
A simple tool to make Dev’s life happy.
License
Licensed under the GNU General Public License (GPL).
Install
Follow the steps below to get everything up and running.
pip
Package Index > dbtrolls > 1.1 pip.
Create project folder:
$ mkdir dbtrolls && cd dbtrolls
Create virtualenv in the normal way:
$ virtualenv env --python=python
Active your new virtualenv:
$ source env/bin/activate
Install dbtrolls:
$ pip install dbtrolls
Git
Clone repository:
$ git clone git@github.com:caputomarcos/dbtrolls.git
Go to dbtrolls source folder:
$ cd dbtrolls/
Create virtualenv in the normal way:
$ virtualenv env --python=python
Active your new virtualenv:
$ source env/bin/activate
Create dev environment:
$ make develop
Usage
Create config file:
$ dbtrolls -c --database_source=<DATABASE_SOURCE> --database_target=<DATABASE_TARGET>
Execute a single SQL file:
$ dbtrolls -s <SQL_FILE> --fix --preload
Execute a collection of SQL files:
$ dbtrolls -m
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file dbtrolls-1.3.tar.gz
.
File metadata
- Download URL: dbtrolls-1.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04c85cb192a5fb6ae35916ad3b9ac0f2a0c0e233b5db5772878a49f8866e8df6 |
|
MD5 | 23e213edc9c8567b32d570fc6ddfd304 |
|
BLAKE2b-256 | b3b6f2972e3ccc3afc76a8224eb306bb7f9cf6e95d1e7eb9953a74b3eb3e9a93 |
File details
Details for the file dbtrolls-1.3-py3.4.egg
.
File metadata
- Download URL: dbtrolls-1.3-py3.4.egg
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a16b3e03e9bfbed0ffa6beac7e1203c1fd90300b608de3c029f0dd13323d6be |
|
MD5 | 3dec1918752dea8524eb4faa125469e9 |
|
BLAKE2b-256 | 4419c1908d9bdd45b090c13f56e93407be0586ea962d0f4232eb9c6cb76f78e7 |
File details
Details for the file dbtrolls-1.3-py3-none-any.whl
.
File metadata
- Download URL: dbtrolls-1.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9349afc413c916024311bdcf09c0e8d3877a9c6090a136562cb2ec0da3e40b8 |
|
MD5 | 36c3f314b64f3769a44fab75036ab2b8 |
|
BLAKE2b-256 | cb4cce12513d1e19f3ed352329f76322175ad7eb97eee6944fa54b764fac5dfb |