Skip to main content

dbtrolls - A simple tool to make Dev's life happy.

Project description

https://raw.githubusercontent.com/caputomarcos/dbtrolls/master/dbtrolls.png

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.

  1. Create project folder:

    $ mkdir dbtrolls && cd dbtrolls
  2. Create virtualenv in the normal way:

    $ virtualenv env --python=python
  3. Active your new virtualenv:

    $ source env/bin/activate
  4. Install dbtrolls:

    $ pip install dbtrolls

Git

  1. Clone repository:

    $ git clone git@github.com:caputomarcos/dbtrolls.git
  2. Go to dbtrolls source folder:

    $ cd dbtrolls/
  3. Create virtualenv in the normal way:

    $ virtualenv env --python=python
  4. Active your new virtualenv:

    $ source env/bin/activate
  5. Create dev environment:

    $ make develop

Usage

  1. Create config file:

    $ dbtrolls -c --database_source=<DATABASE_SOURCE> --database_target=<DATABASE_TARGET>
  2. Execute a single SQL file:

    $ dbtrolls -s <SQL_FILE> --fix --preload
  3. 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

dbtrolls-1.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distributions

dbtrolls-1.3-py3.4.egg (7.7 kB view details)

Uploaded Source

dbtrolls-1.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for dbtrolls-1.3.tar.gz
Algorithm Hash digest
SHA256 04c85cb192a5fb6ae35916ad3b9ac0f2a0c0e233b5db5772878a49f8866e8df6
MD5 23e213edc9c8567b32d570fc6ddfd304
BLAKE2b-256 b3b6f2972e3ccc3afc76a8224eb306bb7f9cf6e95d1e7eb9953a74b3eb3e9a93

See more details on using hashes here.

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

Hashes for dbtrolls-1.3-py3.4.egg
Algorithm Hash digest
SHA256 8a16b3e03e9bfbed0ffa6beac7e1203c1fd90300b608de3c029f0dd13323d6be
MD5 3dec1918752dea8524eb4faa125469e9
BLAKE2b-256 4419c1908d9bdd45b090c13f56e93407be0586ea962d0f4232eb9c6cb76f78e7

See more details on using hashes here.

File details

Details for the file dbtrolls-1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for dbtrolls-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9349afc413c916024311bdcf09c0e8d3877a9c6090a136562cb2ec0da3e40b8
MD5 36c3f314b64f3769a44fab75036ab2b8
BLAKE2b-256 cb4cce12513d1e19f3ed352329f76322175ad7eb97eee6944fa54b764fac5dfb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page