Nitrozen Python SDK
Official Python client for the Nitrozen.io changelog API.
Requirements
Python 3.9+
Installation
pip install nitrozenio
Quick Start
import nitrozenio
from nitrozenio.api.projects_api import ProjectsApi
from nitrozenio.api.entries_api import EntriesApi
# Configure with your API token
configuration = nitrozenio.Configuration(
host="https://nitrozen.io/api/v1",
access_token="YOUR_API_TOKEN",
)
with nitrozenio.ApiClient(configuration) as client:
# List your projects
projects_api = ProjectsApi(client)
response = projects_api.projects_get()
for project in response.data:
print(f"{project.id} {project.name} ({project.slug})")
# Create a changelog entry
entries_api = EntriesApi(client)
entry = entries_api.projects_project_entries_post(
project=response.data[0].id,
entry_input=nitrozenio.EntryInput(
title="New feature",
content="We shipped something great.",
category="new",
),
)
print(entry.data.title)
Authentication
Create an API token on the API Tokens page, then pass it via access_token in the configuration:
configuration = nitrozenio.Configuration(
host="https://nitrozen.io/api/v1",
access_token="YOUR_API_TOKEN",
)
Error Handling
API errors raise ApiException, which carries the HTTP status code and response body:
from nitrozenio.exceptions import ApiException
try:
response = projects_api.projects_project_get(project=999)
except ApiException as e:
print(e.status) # e.g. 404
print(e.reason) # e.g. "Not Found"
print(e.body) # raw JSON error body
Pagination
List endpoints accept page and per_page parameters and return a meta object:
response = entries_api.projects_project_entries_get(
project=project_id,
page=2,
per_page=20,
)
print(f"page {response.meta.current_page} of {response.meta.last_page} ({response.meta.total} total)")
for entry in response.data:
print(f"{entry.id} {entry.title}")
API Reference
All URIs are relative to https://nitrozen.io/api/v1.
Authentication
| Method | HTTP | Description |
|---|---|---|
AuthenticationApi.tokens_get() |
GET /tokens | List API tokens |
AuthenticationApi.tokens_post(body) |
POST /tokens | Create an API token |
AuthenticationApi.tokens_token_delete(id) |
DELETE /tokens/{token} | Revoke an API token |
Projects
| Method | HTTP | Description |
|---|---|---|
ProjectsApi.projects_get() |
GET /projects | List projects |
ProjectsApi.projects_post(body) |
POST /projects | Create a project |
ProjectsApi.projects_project_get(id) |
GET /projects/{project} | Get a project |
ProjectsApi.projects_project_put(id, body) |
PUT /projects/{project} | Update a project |
ProjectsApi.projects_project_delete(id) |
DELETE /projects/{project} | Delete a project |
Entries
| Method | HTTP | Description |
|---|---|---|
EntriesApi.projects_project_entries_get(id, page?, per_page?) |
GET /projects/{project}/entries | List entries |
EntriesApi.projects_project_entries_post(id, body) |
POST /projects/{project}/entries | Create an entry |
EntriesApi.projects_project_entries_entry_get(pid, eid) |
GET …/entries/{entry} | Get an entry |
EntriesApi.projects_project_entries_entry_put(pid, eid, body) |
PUT …/entries/{entry} | Update an entry |
EntriesApi.projects_project_entries_entry_delete(pid, eid) |
DELETE …/entries/{entry} | Delete an entry |
Users
| Method | HTTP | Description |
|---|---|---|
UsersApi.user_get() |
GET /user | Get current user |
UsersApi.user_usage_get() |
GET /user/usage | Get usage statistics |
Public
| Method | HTTP | Description |
|---|---|---|
PublicApi.public_projects_slug_entries_get(slug) |
GET /public/projects/{slug}/entries | List published entries (no auth) |
Valid values for the category field: new, improvement, fix, announcement
Links
Metadata
Release files for nitrozenio 1.1.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 |
|---|---|---|---|---|
| nitrozenio-1.1.0.tar.gz | 40.0 kB | With provenance | Details for nitrozenio-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nitrozenio-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for nitrozenio-1.1.0-py3-none-any.whl |
Total release size: 117.0 kB
Release files / nitrozenio-1.1.0.tar.gz
| Download URL | nitrozenio-1.1.0.tar.gz |
|---|---|
| Size | 40.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a25e52ca62cb7f26842edf6a908cfc6bbce474098c36ef1536730d780f2fc5a4
|
|
BLAKE2b-256 checksum How to use checksums |
42939cdbfb39bad2992a36833c22a597dd7091e7260aba6d31a2edc90e9d7eaf
|
| 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 Oct 28, 2026.
Transparency logRelease files / nitrozenio-1.1.0-py3-none-any.whl
| Download URL | nitrozenio-1.1.0-py3-none-any.whl |
|---|---|
| Size | 77.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dde6b0156c1719708d02d1a2d6e926a0b298bfee1d6f691cd644beb92c65d77a
|
|
BLAKE2b-256 checksum How to use checksums |
4209f89487fb3796e1766f860c7cc02812466e8ccd890c1bfd89c38e2a8c75e3
|
| 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 Oct 28, 2026.
Transparency logSecurity for nitrozenio 1.1.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 nitrozenio-1.1.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 Oct 28, 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.