Add devel/py-pybix: Python based Zabbix API utility with helper functions

Python based Zabbix API utility containing helper functions and CLI
capabilities.

Takes inspiration from existing Python-Zabbix API modules like
lukecyca/pyzabbix and adubkov/py-zabbix.

While this module can be used in a similar way, the aim is to add a few out of
the box helper functions and CLI handling for a more "batteries included"
module. For example GraphImage as described in usage which enables saving
Zabbix graphs which is not possible via the API at this time.

WWW: https://pypi.org/project/pybix/
This commit is contained in:
Danilo G. Baio 2020-01-18 00:38:02 +00:00
parent a43cc97523
commit cabd7f21e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523383
5 changed files with 51 additions and 0 deletions

View file

@ -4820,6 +4820,7 @@
SUBDIR += py-pyasn1
SUBDIR += py-pyasn1-modules
SUBDIR += py-pybind11
SUBDIR += py-pybix
SUBDIR += py-pybloomfiltermmap
SUBDIR += py-pycadf
SUBDIR += py-pycalendar

26
devel/py-pybix/Makefile Normal file
View file

@ -0,0 +1,26 @@
# $FreeBSD$
PORTNAME= pybix
PORTVERSION= 0.0.7
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Python based Zabbix API utility with helper functions
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docopt>=0.6.2:devel/py-docopt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
devel/py-pybix/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1579220841
SHA256 (pybix-0.0.7.tar.gz) = 48bf94983a20c560d157f525f944591a2cee5ed15005c2f6ec2a0086e32113d1
SIZE (pybix-0.0.7.tar.gz) = 12316

12
devel/py-pybix/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
Python based Zabbix API utility containing helper functions and CLI
capabilities.
Takes inspiration from existing Python-Zabbix API modules like
lukecyca/pyzabbix and adubkov/py-zabbix.
While this module can be used in a similar way, the aim is to add a few out of
the box helper functions and CLI handling for a more "batteries included"
module. For example GraphImage as described in usage which enables saving
Zabbix graphs which is not possible via the API at this time.
WWW: https://pypi.org/project/pybix/

View file

@ -0,0 +1,9 @@
[
{
message: <<EOM
This module is still in development and may not be fully stable. Use at own
risk.
EOM
type: install
}
]