Skip to main content

A Python package for validating SQL Server Integration Services (SSIS) packages

Project description

ssis_validator

A Python package for validating SQL Server Integration Services (SSIS) projects. It can be used as a part of Continuous Integration pipeline.

The module works by parsing the XML content of SSIS Projects and Packages while handling all the rough edges. It identifies the configurations of the projects and validates whether they meet the specifications.

This Python application is written for Python 3.7+.

Install

This package is available on PyPi package repository. You can install it like below:

pip install ssis_validator

Usage

1. Projects

Specify one or multiple --project arguments and provide the full path to the SSIS Projects that you want to validate.

ssis_validator --project Project_1 --project Project_2

2. Repository Staging

Specify --repository optional argument along with one --project argument passing the Git repository hosting multiple SSIS Projects. The validator only checks SSIS projects that are staged.

ssis_validator --project Project_1 --repository

Validation Criteria

The following validation criteria are currently checked. The current version has the accepted specifications hard-coded. The next version will parameterize all of them in a configuration file.

Project

  1. Project Server Version: SQLServer2014, SQLServer2016
  2. Project Protection Level: EncryptSensitiveWithPassword
  3. Packages Presence in Project: True
  4. Linkage of Packages: True
  5. Project Deployment Model: Project

Package

  1. Package Last Modified Visual Studio Version: SSIS_2016
  2. Package Protection Level: EncryptSensitiveWithPassword
  3. (Optional) PragmaticWorks BIxPress Server Name: server_name
  4. (Optional) PragmaticWorks BIxPress Continue Execution on Error: True
  5. (Optional) PragmaticWorks BIxPress Reporting of Error on Failure: False

Contribution

See an area for improvement, please open an issue or send a PR.

Future Improvements

  • mypy type hints
  • add configuration file

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

ssis_validator-0.1.2.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssis_validator-0.1.2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file ssis_validator-0.1.2.tar.gz.

File metadata

  • Download URL: ssis_validator-0.1.2.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Darwin/18.7.0

File hashes

Hashes for ssis_validator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0dee4b2f908d99b77b8d0da8512ef22f89b4b9b67cbcda77f2ca7ead41103866
MD5 d727477f1eee7499a56245bc492c0c1e
BLAKE2b-256 2433152567b291c157e890ec0844e61a95a1454a1731988d0b01f6b5d5210fc2

See more details on using hashes here.

File details

Details for the file ssis_validator-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ssis_validator-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.4 Darwin/18.7.0

File hashes

Hashes for ssis_validator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1c9efd91e5befde5bfdda087528bc3923a7367e68bc58118c2441f88d7555c1
MD5 374f01a3290b789d296e95d1c7cb0057
BLAKE2b-256 4444335f1ad0d4c8a959d1a4a14114556e35b67e8f978c002b7a34366d46a785

See more details on using hashes here.

Supported by

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