Skip to main content

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().raw
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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noonapi-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noonapi-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file noonapi-0.1.0.tar.gz.

File metadata

  • Download URL: noonapi-0.1.0.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

Hashes for noonapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dbe10392e10cba10b08d887b25fe40a5e5e1de24b6d87beb0d833b4b1ee78c18
MD5 507a6bdc8720ef1d4d14b1a60df6d54c
BLAKE2b-256 49aabc3116e5d15f21c3cde998b537355e965750b154796a60ba976b94c15364

See more details on using hashes here.

Provenance

The following attestation bundles were made for noonapi-0.1.0.tar.gz:

Publisher: release.yml on HazemNoon/noonapi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file noonapi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: noonapi-0.1.0-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

Hashes for noonapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36b3f1ac2142fc666371d9bae695a2e0daa6dfae99d356c0d91d82f1125e93e1
MD5 1477047558c1b6e204cc0f0bd73848da
BLAKE2b-256 2d3807b47de6ff005eea04d3e64cdf7445d8f313a1979ee710f7c969712e5fb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for noonapi-0.1.0-py3-none-any.whl:

Publisher: release.yml on HazemNoon/noonapi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page