Skip to main content

exonetapi

Python 3 library for the Exonet API.

Latest Version on Packagist Python Versions Software License

Install

Install using pip:

pip install exonetapi

Usage

Example to get the user details of the authorised user:

from exonetapi import Client

# Create a new Client.
client = Client("https://api.exonet.nl")

# Authorize with a personal access token.
client.authenticator.set_token("<YOUR_TOKEN>")

# Make an API call. Get details of the authorized user.
user_details = client.resource("me").get()

# Print user's name.
print("Autorized as: {name}".format(name=user_details.attribute("name")))

See the /docs directory for complete documentation and additional code snippets.

Examples

The /examples directory contains ready to use scripts to help you get started. These examples can be executed with your personal access token. One of them gets a ticket with it's emails and prints the details::

$ python examples/ticket_details.py <YOUR-TOKEN>

This should make two API calls and print the ticket and email details for one of your tickets.

Change log

Please see releases for more information on what has changed recently.

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Issues and feature requests

You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature? You can help us by submitting an issue to our GitHub Repository. Before you create an issue, make sure you search the archive, maybe your question was already answered.

Even better: You could submit a pull request with a fix / new feature!

Pull request process

  1. Search our repository for open or closed pull requests that relates to your submission. You don't want to duplicate effort.

  2. You may merge the pull request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.

Setting up development environment

This Python project is fully managed using the uv package manager.

You need at least:

  • Python 3.11+
  • uv

Install all packages, including all development requirements:

uv sync

uv creates a virtual environment in .venv and installs all packages in it. uv run runs a command inside that environment, so there is no need to activate it.

Now you're all set to get started!

To run the Python tests:

uv run pytest

To run the bandit checks:

uv run bandit -r exonetapi

To lint and format the code:

uv run ruff check .
uv run ruff format .

Security

If you discover any security related issues please email development@exonet.nl instead of using the issue tracker.

Credits

License

MIT License

Metadata

Release files for exonetapi 6.0.1

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

Source distribution (sdist)

Source distribution for exonetapi 6.0.1
File Size Uploaded Provenance Actions
exonetapi-6.0.1.tar.gz 13.8 kB With provenance Details for exonetapi-6.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 31.9 kB

Release files / exonetapi-6.0.1.tar.gz

Download URL exonetapi-6.0.1.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c251a6cd10abe3ad808309a3078435608f63a54049f3d010bd0cfaba7d6d4eb3
BLAKE2b-256 checksum
How to use checksums
3670a309c0ae396677769981ffc7e85722b8224983158c9dc6f0c0a0cddebedd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / exonetapi-6.0.1-py3-none-any.whl

Download URL exonetapi-6.0.1-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b24b2eddbf5fc417979e73802c4f6ec460b1077033a91a45f7e67842ed9b4157
BLAKE2b-256 checksum
How to use checksums
7b5d8dcc2d5be72d817fbd80d3555b62d0a6e378bc83a184349a1d457b87544b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for exonetapi 6.0.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for exonetapi-6.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

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