Skip to content

A stored procedure loader and wrapper class generator for MySQL, SQL Server and PostgreSQL in Python.

License

Notifications You must be signed in to change notification settings

OlegKlimenko/py-stratum

 
 

Repository files navigation

PyStratum

A stored procedure and function loader, wrapper generator for MySQL, SQL Server and PostgreSQL in Python.

Social Release Code
https://www.versioneye.com/user/projects/56e2eb13df573d00431139d8/badge.svg?style=flat https://scrutinizer-ci.com/g/SetBased/py-stratum/badges/quality-score.png?b=master

Overview

PyStratum is a tool and library with the following mayor functionalities:

  • Loading modified and new stored routines and removing obsolete stored routines into/from a MySQL, SQL Server, or PostgreSQL instance. This MySQL, SQL Server, or PostgreSQL instance can be part of your development or a production environment.
  • Enhancing the (limited) syntax of MySQL, SQL Server, and PostgreSQL stored routines with constants and custom types (based on actual table columns).
  • Generating automatically a Python wrapper class for calling your stored routines. This wrapper class takes care about error handing and prevents SQL injections.
  • Defining Python constants based on auto increment columns and column widths.

Status

Currently this project is under development and for more information we refer to its sister project.

Sister Project

We are also working on PhpStratum. PhpStratum provides the same functionalities as PyStratum but in a PHP environment and supports MySQL only.

About

A stored procedure loader and wrapper class generator for MySQL, SQL Server and PostgreSQL in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%