Skip to main content

Shared transport and contract mechanics for QuantJourney SDKs.

Project description

quantjourney-common-sdk

Shared Python mechanics for QJ SDKs.

This package owns only transport-level concerns: auth/token exchange, HTTP request handling, response envelopes, pagination helpers, bounded retry, and small typed models. Domain clients live in SDK-specific packages such as qj.data and qj.api.

Canonical package metadata:

Field Value
Repository _repo_qj_common_sdk
Distribution quantjourney-common-sdk
Python import qj.common
Version 0.1.1
Git tag v0.1.1
Namespace style PEP 420 namespace package

quantjourney-common-sdk must not ship qj/__init__.py. It is designed to co-install with quantjourney-data and quantjourney-api.

Install from PyPI:

pip install quantjourney-common-sdk==0.1.1

No private Python package registry is required. Consumers should pin a compatible release range in application dependencies.

Auth model:

  • QJ_*_TOKEN is sent as a Bearer token directly.
  • QJ_*_API_KEY=QJ_live_* is exchanged through qj-auth /auth/token.
  • QJ_*_CLIENT_ID + QJ_*_CLIENT_SECRET=QJ_svc_* use client_credentials.
  • exchanged JWTs are cached in memory until shortly before exp.

Transport model:

  • idempotent reads retry 429/502/503/504 with bounded backoff;
  • each request gets X-QJ-Request-ID;
  • response envelopes are parsed into QJResponse.

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

quantjourney_common_sdk-0.1.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

quantjourney_common_sdk-0.1.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file quantjourney_common_sdk-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for quantjourney_common_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 24055a9118a8700a936ae291a10d584011a03b61d612ce8cad90bc80fac08dd2
MD5 47acfeff916fab13d02d9fdb62d4af02
BLAKE2b-256 3d1c6bbd73bffd270414a8ffa32d5fdb5f4fa4a2717e750054510b456c75956a

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantjourney_common_sdk-0.1.1.tar.gz:

Publisher: publish.yml on QuantJourneyOrg/qj-common-sdk

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

File details

Details for the file quantjourney_common_sdk-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for quantjourney_common_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c2b8825286cf73cef7e7744c82eceb541f0f964fb2bfc351e35af627ce84480
MD5 72159aa4b153bbe476c64e2a7d1596cc
BLAKE2b-256 783f088ebd953d7e608e3eea5d5706c08c8403f47b7dc5b3344867cb42c64f48

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantjourney_common_sdk-0.1.1-py3-none-any.whl:

Publisher: publish.yml on QuantJourneyOrg/qj-common-sdk

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