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()
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.1.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.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

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

Hashes for noonapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6a35b387f5ae76a479cc265d3225a79ed4aaeaf4286389d2a8fb69bf24617e30
MD5 11587ebd53e4e0677048af3800b6006d
BLAKE2b-256 809f73a24b5461424aa1ad779a6a7658f8cc556e19281eeafb44f9df7cd807a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for noonapi-0.1.1.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.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

Hashes for noonapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 687d47e3f0d6c4f901fe1342ad195d222001fa1793177c748958445b8e796446
MD5 a3bb428c3e27a16257483163c43d126c
BLAKE2b-256 d19a131aedc9b369bf1a59fdb63199706077bef4632e4be66877d58b810ebe65

See more details on using hashes here.

Provenance

The following attestation bundles were made for noonapi-0.1.1-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