Official Python SDK for noon partner APIs
Project description
noonapi
Official Python SDK for noon partner APIs.
This SDK currently provides:
- Authentication / session management using a partner credentials JSON file
- A simple identity check via
whoami
More service namespaces will be added over time.
Requirements
- Python 3.9+
Install
pip install noonapi
Credentials
To use this SDK, you must first obtain partner credentials from noon.
Follow the official guide:
👉 https://noon-docs.noonpartners.dev/docs/getting-started/getting-credentials
You will receive a JSON credentials file. Keep this file private and do not commit it to version control.
Once you have the file, use it when creating a session:
from noonapi import NoonSession
session = NoonSession("noon_credentials_sensitive.json")
⚠️ Security note
Your credentials file contains a private key. Treat it like a password:
- Do not commit it to Git.
- Do not share it publicly.
- Store it securely in production environments.
Quick start (login + whoami)
from noonapi import NoonSession
session = NoonSession("noon_credentials_sensitive.json")
me = session.auth.whoami()
print(me)
What NoonSession does
- Creates a signed JWT using your credentials
- Logs in to noon Identity
- Maintains an authenticated cookie session internally
- Automatically re-authenticates and retries once if a request returns
401
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file noonapi-0.1.1.tar.gz.
File metadata
- Download URL: noonapi-0.1.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a35b387f5ae76a479cc265d3225a79ed4aaeaf4286389d2a8fb69bf24617e30
|
|
| MD5 |
11587ebd53e4e0677048af3800b6006d
|
|
| BLAKE2b-256 |
809f73a24b5461424aa1ad779a6a7658f8cc556e19281eeafb44f9df7cd807a8
|
Provenance
The following attestation bundles were made for noonapi-0.1.1.tar.gz:
Publisher:
release.yml on HazemNoon/noonapi-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
noonapi-0.1.1.tar.gz -
Subject digest:
6a35b387f5ae76a479cc265d3225a79ed4aaeaf4286389d2a8fb69bf24617e30 - Sigstore transparency entry: 954839570
- Sigstore integration time:
-
Permalink:
HazemNoon/noonapi-python@c1ce2c5d47698c40c6639b2957ef39e367aa50f6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/HazemNoon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c1ce2c5d47698c40c6639b2957ef39e367aa50f6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file noonapi-0.1.1-py3-none-any.whl.
File metadata
- Download URL: noonapi-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
687d47e3f0d6c4f901fe1342ad195d222001fa1793177c748958445b8e796446
|
|
| MD5 |
a3bb428c3e27a16257483163c43d126c
|
|
| BLAKE2b-256 |
d19a131aedc9b369bf1a59fdb63199706077bef4632e4be66877d58b810ebe65
|
Provenance
The following attestation bundles were made for noonapi-0.1.1-py3-none-any.whl:
Publisher:
release.yml on HazemNoon/noonapi-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
noonapi-0.1.1-py3-none-any.whl -
Subject digest:
687d47e3f0d6c4f901fe1342ad195d222001fa1793177c748958445b8e796446 - Sigstore transparency entry: 954839573
- Sigstore integration time:
-
Permalink:
HazemNoon/noonapi-python@c1ce2c5d47698c40c6639b2957ef39e367aa50f6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/HazemNoon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c1ce2c5d47698c40c6639b2957ef39e367aa50f6 -
Trigger Event:
push
-
Statement type: