BSD Ports

devel/py-fireREST 1.1.0_1 FreeBSD

Interface with Cisco Firepower Management Center

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3
Categories
devel, python
Package size
130.3 KiB, 830.6 KiB installed

Description

FireREST is a python library to interface with Cisco Firepower Management Center REST API. The goal of FireREST is to provide a simple SDK to programmatically interact with FMC.

Features

* Authentication and automatic session refresh / re-authentication * Rate-limit detection and automatic backoff and retry behavior * Automatic squashing of paginated api payloads * Sanitization of api payloads for create and update operations (automatically remove unsupported elements like links, metadata from payload) * Detailed logging of api requests and responses * API specific error handling using various custom exceptions for typical errors (e.g. ResourceAlreadyExists, UnprocessAbleEntityError, ...) * Support for resource lookup by name instead of uuid for all CRUD operations

Import api client

from fireREST import FMC

In the other systems

SystemPortVersion
FreeBSDdevel/py-fireREST1.1.0_1
DragonFlydevel/py-fireREST1.1.0_1

Install

Binary package:

pkg install py312-fireREST

From the ports tree:

cd /usr/ports/devel/py-fireREST/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-fireREST>0:devel/py-fireREST

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.0_11.1.0_1-1.1.0_11.1.0_1
FreeBSD:14:quarterly1.1.0_11.1.0_1n/a1.1.0_11.1.0_1
FreeBSD:15:latest1.1.0_11.1.0_1n/a1.1.0_11.1.0_1
FreeBSD:15:quarterly1.1.0_11.1.0_1n/an/an/a
FreeBSD:16:latest1.1.0_11.1.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 5

Test 2

  • ${PYTHON_PKGNAMEPREFIX}pytest-runner>0 : devel/py-pytest-runner
  • ${PYTHON_PKGNAMEPREFIX}pytest>0 : devel/py-pytest

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 20

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
fireREST-1.1.0.tar.gz6579524f89b1f3c269933ed33e8a859a29200220d4a3b3b109ea8b9a8f3817a32fb4b
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.