Metadata-Version: 2.4
Name: tn_sdk
Version: 0.0.1
Summary: Trip Ninja SDK
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: black==25.1.0; extra == "dev"
Dynamic: license-file

# Trip Ninja SDK

The Trip Ninja Python SDK is used for interacting with the Trip Ninja API 
through a easy-to-use library and suite of tools.

## Installing

**Python 3.10 or higher is required**

### Linux/MacOS
```
python3 -m pip install -U tn_sdk
```

### Windows
```
py -3 -m pip install -U tn_sdk
```


## Quick Example

```python
import tn_sdk

tn_client = tn_sdk.TnApi()
request_data = "{}" # JSON encoded string representing the request data
compressed_data = tn_client.prepare_data_for_generate_solutions(request_data)
# Compresses the data and returns the compressed_data
```


---


# Development

## Setup

From an active virtual env, `cd` into the directory
```
pip install -e .
```

> `-e` installs it in [editable](https://pip.pypa.io/en/stable/topics/local-project-installs/#editable-installs) mode. 
> Meaning it will update as you modify the source code without having to re-run the installation command.
