exonetapi
Python 3 library for the Exonet API.
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
-
Search our repository for open or closed pull requests that relates to your submission. You don't want to duplicate effort.
-
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
Metadata
Release files for exonetapi 6.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exonetapi-6.0.0.tar.gz | 13.5 kB | With provenance | Details for exonetapi-6.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exonetapi-6.0.0-py3-none-any.whl | Python 3 | none | any | Details for exonetapi-6.0.0-py3-none-any.whl |
Total release size: 31.1 kB
Release files / exonetapi-6.0.0.tar.gz
| Download URL | exonetapi-6.0.0.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c28a773ff2cec5edf1b399595c1ca67144eaf5f29ae52070b230a6746d3bbc8e
|
|
BLAKE2b-256 checksum How to use checksums |
dbe6642ac7565346a442f633b336e542ea56f24f42aa60ba2b96eaf9dccc8794
|
| 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 logRelease files / exonetapi-6.0.0-py3-none-any.whl
| Download URL | exonetapi-6.0.0-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c7c8b0414dd30f62df0c6eef6f1698c1acf692473601886c18f07dacc26b1a6
|
|
BLAKE2b-256 checksum How to use checksums |
307a3a6d4842dcc035e9c32d277a6454d99d034d8b1d5a85b61129c441a01159
|
| 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 logSecurity for exonetapi 6.0.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for exonetapi-6.0.0.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 logA 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.