Skip to main content
.. image:: https://badge.fury.io/py/irisclient.svg
:target: https://badge.fury.io/py/irisclient

.. image:: https://travis-ci.org/houqp/iris-python-client.svg?branch=master
:target: https://travis-ci.org/houqp/iris-python-client

Python client for Iris API
==========================

Install
------

.. code-block:: bash

pip install irisclient


Usage
-----

.. code-block:: python

from irisclient import IrisClient

client = IrisClient(
app='SERVICE_FOO',
key='IRIS_API_KEY',
api_host='http://localhost:5000'
)
# create an incident
print client.incident('plan-foo', context={'key-foo': 'abc', 'key-bar': 1})
# send an adhoc notification
print client.notification(role='user', target='alice', priority='urgent', subject='Yo')


Test
----

.. code-block:: bash

pip install tox
tox


Release
-------

.. code-block:: bash

python setup.py sdist
twine upload dist/*


Metadata

Release files for irisclient 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for irisclient 1.3.0
File Size Uploaded Provenance
irisclient-1.3.0.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for irisclient 1.3.0
File Interpreter ABI Platform
irisclient-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / irisclient-1.3.0.tar.gz

Download URL irisclient-1.3.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3b426201624a875a8e5386ab4fa398c8beed143a2915f2ad2fcb0c9969931816
BLAKE2b-256 checksum
How to use checksums
3692a57b5b2051a2b27dc28b42822db1b9651d74313b35454a3324d4a4cfddb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

Release files / irisclient-1.3.0-py3-none-any.whl

Download URL irisclient-1.3.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d892ddf8b1f43dc9285e633afb3f54f2d886d8495c30c06e4da6186cc2a12bbb
BLAKE2b-256 checksum
How to use checksums
79355456916b5f06a9be59c2771c50a6263c94180ff09f71beb645cc125395db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

Security for irisclient 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page