Skip to main content

Pytos2 for tos1 tos2 and beyond

Project description

pytos2 CE: Official Python Library for the Tufin Orchestration Suite

pytos2 "Community Edition" (CE) is the official Python library for the Tufin Orchestration Suite. It is created, maintained by and supported by the Tufin Professional Services Solutions team (PSS). It wraps the Official TOS API and provides idiomatic Python-level types and features.

pytos2-ce currently supports TufinOS3 and both TOS Classic and Aurora. The implementation of Aurora-specific GraphQL features, as well as some of the below-stated features are still under active development.

Installation

Git is a prerequisite for installation. Also, development using either venv or Docker is recommended.

pytos2 CE is currently not yet available on PyPI. To install, use the following pip command:

$ pip install pytos2-ce 

# Pull latest code (requires git)


$ pip install git+https://gitlab.com/tufinps/pytos2-ce

Setup

pytos2 CE recommends pre-setting the following environment variables while using this library, and they will be assumed to be set from this point onward. They can either be set directly in the environment using a method of your choice, or you can use python-dotenv. They are as follows:

  • TOS_HOSTNAME: The hostname where your TOS installation lives. It is assumed to not be a split SecureTrack/SecureChange environment.
  • SCW_API_USERNAME: The username of the SecureChange user that we will be utilizing for the following examples. Please ensure that this user exists and has appropriate permissions for whatever workflows/tickets will be used.
  • SCW_API_PASSSWORD: The password of the SecureChange user that we will be utilizing for the following examples.

Other Articles

Setup Jupyter Basic Trigger Example Basic Usage Example API Jupyter Notebook

Development

pytos2 CE is under active development by the Tufin PSS team. Bug and feature requests can created by opening a new issue.

The versioning strategy is semver.

Support

For additional pytos2-ce support or inquiries, please visit the pytos category of our Developer Community. For sales or other general-purpose inquiries please contact your account manager or visit our contact page.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pytos2_ce-2.3.14-py3-none-any.whl (126.2 kB view details)

Uploaded Python 3

File details

Details for the file pytos2_ce-2.3.14-py3-none-any.whl.

File metadata

  • Download URL: pytos2_ce-2.3.14-py3-none-any.whl
  • Upload date:
  • Size: 126.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pytos2_ce-2.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7436cd50ebb8f8346b71ac82a98bcc6d19fce3600416a4b499f0f533d3d151a7
MD5 c12ae7f8d0515844c0c146b319239500
BLAKE2b-256 8ad72d237a21d7aaf8c9becfae77ae1de0640be5d3967181677f7b35c87329ed

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