Skip to main content

Migratron

A database migration system to modify the database schema or to populate the tables information.

This will work with:

  • PostgreSQL

  • Hive

  • PrestoSQL/PrestoDB

Change Log

All notable changes to this project will be documented here.

Sort subsections like so: Added, Bugfixes, Improvements, Technical tasks. Group anything an end user shouldn’t care deeply about into technical tasks, even if they’re technically bugs. Only include as “bugfixes” bugs with user-visible outcomes.

When major components get significant changes worthy of mention, they can be described in a Major section.

v2.1.0 - 2020-11-17

Added

  • Official docker image

Bugfixes

  • Document what migratron does

  • Exception message is valid when using Python2 and Python3

  • Make the subcommand required and print the help message if missing

Technical Tasks

  • Improve the documentation on how to setup migratron locally

  • Add documentation on how to run the tests

  • Add documentation on how migratron works

v2.0.1 - 2020-09-29

Bugfixes

  • Added VERSION file to the python package

v2.0.0 - 2020-08-28

Added

  • Options to run the migration against Hive or Presto

  • Created the documentation

  • The project can be used on Python3

  • Description to the README.rst

Changed

  • Rename the package to migratron

  • Changed the --database-uri|type parameters to --db-uri|type

Bugfixes

  • Added requirements-dev.txt to setup.py package_data

  • Missing requirements.txt when using pip to install package

  • Use Python 2 and 3 compatible function to get user input

Technical Task

  • Do not use unittest deprecated methods

  • Generate coverage report when running the tests

  • Added missing classifiers to setup.py

  • Create a version file

  • Format the code using black

  • Add Makefile to run tests and generate documentation

  • Solve typos and improve documentation

  • Fix min required version for some dev dependencies

  • Added readthedocs configuration file

  • Added long description to the setup.py

  • Use MANIFEST.ini to add non python files to the package<Paste>

Metadata

Release files for migratron 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for migratron 2.2.0
File Size Uploaded Provenance Actions
migratron-2.2.0.tar.gz 17.7 kB Without provenance Details for migratron-2.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for migratron 2.2.0
File Interpreter ABI Platform Actions
migratron-2.2.0-py3-none-any.whl Python 3 none any Details for migratron-2.2.0-py3-none-any.whl
migratron-2.2.0-py2-none-any.whl Python 2 none any Details for migratron-2.2.0-py2-none-any.whl

Total release size: 66.5 kB

Release files / migratron-2.2.0.tar.gz

Download URL migratron-2.2.0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
001fff47069ec1e5357e52092dadf671caf2dddf960298c719f07ce8e7b6c590
BLAKE2b-256 checksum
How to use checksums
458ace931510af779a8e0fd35d10762b669c937fffbb1fa1071a44529ac9f362
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.16

Release files / migratron-2.2.0-py3-none-any.whl

Download URL migratron-2.2.0-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43f8241fa9cf852a7877720805c4ee90d374873f262352fa592e6a0035f7b63f
BLAKE2b-256 checksum
How to use checksums
5eace27f84a9a0bf58327f1946ff45445903774b5b078edeb4e6d0a8912d027a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / migratron-2.2.0-py2-none-any.whl

Download URL migratron-2.2.0-py2-none-any.whl
Size 24.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
0874692bb1e42cfabe834fc10f7363a4d7137c3f6a9d5af186059b77777720b5
BLAKE2b-256 checksum
How to use checksums
9710172c001ba6ecbc9944cd007cf1eac54021bd9cbb79353557a11af6450e85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.16

Security for migratron 2.2.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page