Skip to main content

Command line tool to build a SQL schema

Project description

Command line tool that builds a SQL schema from a set of sql files.

Who needs SqlMake ?

You will benefit from SqlMake if you are confortable with SQL and see the value of defining your sql schemas (tables, stored functions, indexes, roles…) directly in sql and not through an ORM system like the Django ORM, SqlAlchemy or Hibernate to name a few.

What SqlMake allows you to do is to split your SQL schema accross multiples sql files accurately defining dependencies which may exist in between such files by mean of special SQL comments. When in need to recreate your database schema, the sqlmake tool will collect all files resources that composes the schema, parse them and emit the SQL commands they contain in optimal order so as to respect the dependencies that have been defined.

Once your schema has been split in between several files, it will be very easy to read and maintain. If you archive it in a version control system like git, subversion or mercurial it will also be very easy to prepare migration scripts.

More documentation at : http://sqlmake.readthedocs.org/en/latest/

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

SqlMake-0.3.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

SqlMake-0.3.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file SqlMake-0.3.0.tar.gz.

File metadata

  • Download URL: SqlMake-0.3.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for SqlMake-0.3.0.tar.gz
Algorithm Hash digest
SHA256 857bbb7ffb3a0f7832491bf7c3d7ce6b218efa0db723f463b5f6e5cfd3cd57b1
MD5 d630d46260e62268ed26840a89a5f9ff
BLAKE2b-256 53668a7024b7d4348ea0f76de258fb74e5e18aea239308c8cc98f5a2b9876eb0

See more details on using hashes here.

File details

Details for the file SqlMake-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: SqlMake-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for SqlMake-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37ff4b42498bedbe534f70b4fe34364bb2f0838b853de6f674c6bb85cdd8bd84
MD5 5c2e7f05538f872261f2b032216ec2b6
BLAKE2b-256 9c2eb603ab777a4cda7258d2da13e34b2fd764563fd1e3d1a2baa912b448f051

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