Skip to main content

A stored procedure and function loader and wrapper generator for MySQL, SQL Server, and PostgresSQL

Project description


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

Social Release Code


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.


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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyStratum, version 0.10.22
Filename, size File type Python version Upload date Hashes
Filename, size PyStratum-0.10.22.tar.gz (20.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page