Metadata-Version: 2.5
Name: diom
Version: 0.2.6
Summary: Diom Python client library
Project-URL: Homepage, https://diom.svix.com
Project-URL: Repository, https://github.com/svix/diom
Project-URL: Issues, https://github.com/svix/diom/issues
Project-URL: Changelog, https://github.com/svix/diom/blob/main/ChangeLog.md
Author-email: Svix Inc <oss@svix.com>
License-Expression: MIT
Keywords: diom,svix
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: attrs<26.0.0,>=25.4.0
Requires-Dist: httpx[http2]<0.29.0,>=0.28.1
Requires-Dist: msgpack<2.0.0,>=1.1.2
Requires-Dist: pydantic<3.0.0,>=2.13.3
Description-Content-Type: text/markdown

<h1 align="center">
    <a style="text-decoration: none" href="https://www.svix.com">
      <img width="120" src="https://diom.svix.com/icon.svg" />
      <p align="center">Diom - by Svix</p>
    </a>
</h1>


Python library for interacting with the Diom API

![GitHub tag](https://img.shields.io/github/tag/svix/diom.svg)
[![PyPI](https://img.shields.io/pypi/v/diom.svg)](https://pypi.python.org/pypi/diom/)

# Usage Documentation

You can find general usage documentation at <https://diom.svix.com/docs>.

# Installation

```sh
pip install diom
```

This library supports all [supported versions](https://devguide.python.org/versions/) of Python.

## Usage
Please refer to [the documentation](https://diom.svix.com) for more usage instructions.

# Development

First checkout the [core README](../../README.md#developing) for details on how to generate our API bindings, then follow the steps below.

## Requirements

 - python >= 3.10

## Installing dependencies

We recommend using [uv](https://github.com/astral-sh/uv) for working on this library itself.

```sh
uv sync
```

## Contributing

Before opening a PR be sure to format your code!

```sh
uv run ruff format
```

## Running Tests

Simply run:

```sh
uv run pytest
```

If you want to run integration tests, you'll need to start the Diom server and set the `$DIOM_TOKEN` and `$DIOM_SERVER_URL` environment variables accordingly.
