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.2.1.tar.gz (10.7 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.2.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: noonapi-0.1.2.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for noonapi-0.1.2.1.tar.gz
Algorithm Hash digest
SHA256 80f811e17551747fd3efcfe1b0b8082f68ec8499a4b6fd491f9b18bb29069ba9
MD5 33d787bf1cafcadff4ca1ed316af4d9f
BLAKE2b-256 324cc3c8221f78607706ff16417a3437b2d096213db0ef4cd2da798c297ec1f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for noonapi-0.1.2.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: noonapi-0.1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for noonapi-0.1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ac77d3b5c9dc8ca2f5239409abe8087c1547694d330b363af25de5b38dee374
MD5 df8b1022234deea550c7eee0d45f241e
BLAKE2b-256 ded62e6d1938228cc07a1cbb36b561dfcd9f0f4f4e4fb13e8fd8123ae045bf80

See more details on using hashes here.

Provenance

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