Skip to main content

kobil-core

Shared foundation for the KOBIL SDK family (kobil-payment, kobil-chat, kobil-sign, …).

You normally don't use this directly — the module packages depend on it. Provides:

  • DefaultTokenProvider — OAuth2 client_credentials token acquisition with in-memory caching (honours expires_in). Modes: post (form body, default) or basic.
  • KobilError — base exception all module exceptions extend (status_code, response_body).
  • ServiceClient — HTTP base for typed clients (bearer + send + error wrapping; JSON, multipart, and binary-download helpers) built on the standard library (urllib).
  • credentials_from_env() — reads KOBIL_TOKEN_ENDPOINT, KOBIL_CLIENT_ID, KOBIL_CLIENT_SECRET, KOBIL_TOKEN_AUTH_MODE.

Pure standard library — no third-party dependencies. Python 3.8+.

License

MIT

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

kobil_core-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file kobil_core-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: kobil_core-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for kobil_core-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24a58b0e6626f3eff8c1c9501bdab52f29d3a589d0f574739457f90fcdae1525
MD5 833c29fe2fc3ddfaec8c9cc422a0b1e1
BLAKE2b-256 295faefe88e37098b8b266f356b51e4c396d751808347a1bcae0c5e11ed2edcd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 file

Supported by

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