semvec/pypi-packages huggingface dataset:
zabbi 0.3
Zabbix Python API Module

# Zabbix
**Zabbix - Python API Module**

# Documentation
### Getting Started

Install *zabbi* using pip:

```bash
$ pip install zabbi
```

# You can now import and use zabbi like so:

```python
from zabbi import ZabbixAPI

zapi = ZabbixAPI("http://zabbixserver.example.com/zabbix")
zapi.login("zabbix user", "zabbix pass")
print("Zabbix API Version %s using zabbi " % zapi.api_version())
```

#### All zabbix api requests can be made as defined in [Zabbix API Documentation](https://www.zabbix.com/documentation/4.2/manual/api/reference)

## The features added in zabbi are :

* Using host.get you can get all results for a host ( including hostInterface results )
* Now you can get host.get info by name also ( host.get with param host="example")
* Now you can get info for host by ip also ( hostinterface with param ip="0.0.0.0" )
  *Also the info would be returned for multiple hosts if there are with same ip or name**
validate-aws-sns-message 0.9.0
Validate integrity of Amazon SNS messages (Refined)

# validate_aws_sns_message

Validate integrity of Amazon SNS messages.

Refined from `validatesns`.

* Verifies cryptographic signature.
* Checks signing certificate is hosted on an Amazon-controlled URL.
* Requires message be no older than one hour, the maximum lifetime of an SNS message.

Licence: [MIT](https://opensource.org/licenses/MIT)

## Quick start

```shell

pip install validate_aws_sns_message

```

```python

import validate_aws_sns_message

# Raise validate_aws_sns_message.ValidationError if message is invalid.
validate_aws_sns_message.validate(decoded_json_message_from_sns)

```

## Gotchas

The ``validate`` function downloads the signing certificate on every call. For performance reasons, it's worth caching certificates - you can do this by passing in a ``get_certificate`` function.

This takes a ``url``, and returns the certificate content. Your function could cache to the filesystem, a database, or wherever makes sense.

## Contribute

Github: <https://github.com/kenichi-ogawa-1988/validate_aws_sns_message>

## Special thanks

* Original `validatesns`: <https://github.com/nathforge/validatesns>