Metadata-Version: 2.1
Name: khulnasoft
Version: 0.1.25
Summary: Python SDK for the khulnasoft.com API.
Home-page: https://github.com/khulnasoft/python-khulnasoft
License: MIT
Keywords: khulnasoft,sdk
Author: Md Sulaiman
Author-email: dev.sulaiman@icloud.com
Requires-Python: >=3.8
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Dist: requests (>=2)
Project-URL: Repository, https://github.com/khulnasoft/python-khulnasoft
Description-Content-Type: text/markdown

# python-khulnasoft

`khulnasoft` is a light [Khulnasoft API](https://api.docs.khulnasoft.com/) SDK that wraps [requests](https://requests.readthedocs.io/) and automatically manages authentication.

Usage examples and use cases are documented in the [Khulnasoft API documentation](https://api.docs.khulnasoft.com/sdk/python).

## Installing

`khulnasoft` is [available on PyPI](https://pypi.org/project/khulnasoft/).

The library can be installed via `pip install khulnasoft`.

## Basic Usage

```python
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

