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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-fireREST | 1.1.0_1 |
| DragonFly | devel/py-fireREST | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.0_1 | 1.1.0_1 | - | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:14:quarterly | 1.1.0_1 | 1.1.0_1 | n/a | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:15:latest | 1.1.0_1 | 1.1.0_1 | n/a | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:15:quarterly | 1.1.0_1 | 1.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.0_1 | 1.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 5
${PYTHON_PKGNAMEPREFIX}packaging>0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests${PYTHON_PKGNAMEPREFIX}retry2>0: devel/py-retry2${PYTHON_PKGNAMEPREFIX}simplejson>0: devel/py-simplejson${PYTHON_PKGNAMEPREFIX}urllib3>0: net/py-urllib3
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
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-decorator
- devel/py-packaging
- devel/py-retry2
- devel/py-simplejson
- devel/readline
- dns/py-idna
- lang/python312
- lang/python315
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/py-certifi
- textproc/expat2
- textproc/py-charset-normalizer
- www/py-requests
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fireREST-1.1.0.tar.gz | 65795 | 24f89b1f3c269933ed33e8a859a29200220d4a3b3b109ea8b9a8f3817a32fb4b |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.