Skip to main content

Network automation toolkit for managing network devices

Project description

What is Trigger?

CI

Trigger is a robust network automation toolkit written in Python that was designed for interfacing with network devices and managing network configuration and security policy. It increases the speed and efficiency of managing large-scale networks while reducing the risk of human error.

Started by the AOL Network Security team in 2006, Trigger was originally designed for security policy management on firewalls, routers, and switches. It has since been expanded to be a full-featured network automation toolkit.

With the high number of network devices on the AOL network this application is invaluable to performance and reliability. We hope you'll find it useful on your network and consider participating!

Supported Platforms

  • Cisco IOS, NX-OS, and ASA software
  • Juniper Junos and ScreenOS
  • Force10 router and switch platforms running FTOS
  • Arista Networks 7000-family switches
  • ... and more!

Refer to the official docs for the full list.

Key Features

Trigger is designed to work at scale and can support hundreds or thousands of network devices with ease. Here are some of things that make Trigger tick:

  • Support for SSH, Telnet, and Juniper's Junoscript XML API.
  • Easily get an interactive shell or execute commands asynchronously.
  • Leverage advanced event-driven functionality to manage any number of jobs in parallel and handle output or errors as they return.
  • Powerful metadata interface for performing complex queries to group and associate network devices by name, manufacturer, type, location, and more.
  • Encrypted storage of login credentials so you can interact without constantly being prompted to enter your password.
  • Flexible access-list & firewall policy parser that can test access if access is permitted, or easily convert ACLs from one format to another.
  • Detailed support for timezones and maintenance windows.
  • Import your metadata from an existing RANCID installation or a CSV file to get up-and-running quickly.
  • A suite of tools for simplifying many common tasks.

Getting Started

The best way to get started is to read the documentation hosted by Read the Docs at https://trigger.readthedocs.io. There you will find everything you need to get going including usage examples, installation and configuration instructions, and more!

Python Version Requirements

Trigger v2.0.0+ requires Python 3.10 or 3.11. Python 3.12+ is not yet supported due to SimpleParse C extension compatibility issues.

Python 2.7 support ended with v1.6.0 (the last Python 2.7 compatible release).

Installation

# Install the latest version
pip install trigger

# Install in development mode
pip install -e ".[dev]"

# Using uv (faster)
uv pip install trigger

For users still requiring Python 2.7, use the v1.6.0 release:

pip install trigger==1.6.0

Development Setup

Contributing to Trigger? Set up pre-commit hooks to catch issues early:

# Install prek (fast pre-commit framework)
uv tool install prek  # or: pip install prek

# Enable hooks in your clone
prek install

# Hooks will now run automatically on git commit

See CLAUDE.md for complete development documentation.

Upgrading from v1.6.0?

See the Migration Guide for detailed upgrade instructions.

Before you begin

  • The main branch is the primary branch for all development and releases. All pull requests target main.
  • Each point release of Trigger is maintained as a tag. If you require a specific Trigger version, please refer to these.

Get in touch!

If you run into any snags, have questions, feedback, or just want to talk shop, please open an issue on GitHub Issues.

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

trigger-2.2.5.tar.gz (245.4 kB view details)

Uploaded Source

Built Distribution

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

trigger-2.2.5-py3-none-any.whl (249.5 kB view details)

Uploaded Python 3

File details

Details for the file trigger-2.2.5.tar.gz.

File metadata

  • Download URL: trigger-2.2.5.tar.gz
  • Upload date:
  • Size: 245.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trigger-2.2.5.tar.gz
Algorithm Hash digest
SHA256 da9dd69279ad83f27e1ef44b6130a4b2c7ef1b59dade174b50f17d2ce309b5ac
MD5 85dc5b9f259a7cdc64205e455254e0a2
BLAKE2b-256 018e972e6498582ff4dd8caa04a450036fbf40b4bf1daf0d9fcec7b388802e33

See more details on using hashes here.

Provenance

The following attestation bundles were made for trigger-2.2.5.tar.gz:

Publisher: release.yml on trigger/trigger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trigger-2.2.5-py3-none-any.whl.

File metadata

  • Download URL: trigger-2.2.5-py3-none-any.whl
  • Upload date:
  • Size: 249.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trigger-2.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 febd0d6924aeb63810dd08205c787b271a4a36f62656a0a74ab3bbc0bc3e4081
MD5 91329b7044a8b11336de65674885684f
BLAKE2b-256 45d4eef2f2e65aae6187152a66db5c161cf27564a08ddff4b4a605cdae4cddef

See more details on using hashes here.

Provenance

The following attestation bundles were made for trigger-2.2.5-py3-none-any.whl:

Publisher: release.yml on trigger/trigger

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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