Skip to main content

Python SDK for the khulnasoft.com API.

Project description

python-khulnasoft

khulnasoft is a light Khulnasoft API SDK that wraps requests and automatically manages authentication.

Usage examples and use cases are documented in the Khulnasoft API documentation.

Installing

khulnasoft is available on PyPI.

The library can be installed via pip install khulnasoft.

Basic Usage

import os

from khulnasoft import KhulnasoftApiClient


client = KhulnasoftApiClient(
    api_key=os.environ["KHULNASOFT_API_KEY"],
    tenant_id=None,  # Use my default tenant.
)

resp = client.get("/tokens/test")

print(resp.json())

Contributing

  • make test will run tests
  • make format format will format the code
  • make lint will run typechecking + linting

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

khulnasoft-0.1.25.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

khulnasoft-0.1.25-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file khulnasoft-0.1.25.tar.gz.

File metadata

  • Download URL: khulnasoft-0.1.25.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for khulnasoft-0.1.25.tar.gz
Algorithm Hash digest
SHA256 398bad2630b8dd7be9ca84c4160a44fea2581ac495a0e79d3544a29dca4ca0fb
MD5 501d8739b08be75e7319e44c17ee0cb6
BLAKE2b-256 cd5882b4394b3249126fc2921418db3b046dd39c23fe328c99f6718d630d247b

See more details on using hashes here.

File details

Details for the file khulnasoft-0.1.25-py3-none-any.whl.

File metadata

  • Download URL: khulnasoft-0.1.25-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for khulnasoft-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 b292d16394711f019b64e19b61e7abfc4d8e96febcf0874e81138f2ef945d627
MD5 93fe3d16b2da9c52b8113101fe49040e
BLAKE2b-256 ab13dbe2dbc489e5847ab8edd52a27b1ef6213faa8219d171656b087b32d1ddb

See more details on using hashes here.

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