Metadata-Version: 2.1
Name: nitric
Version: 0.1.0
Summary: The Nitric SDK for Python 3
Home-page: https://github.com/nitrictech/python-sdk
Author: Nitric
Author-email: team@nitric.io
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev

<p align="center">
  <img src="https://github.com/nitrictech/python-sdk/raw/main/docs/assets/dot-matrix-logo-python.png" alt="Nitric Python SDK Logo"/>
</p>

# Nitric Python SDK

The Python SDK supports the use of the cloud-portable [Nitric](https://nitric.io) framework with Python 3.7+.

> The Nitric Python SDK is in early stage development and is currently only available on test.pypi.org.

Read full documentation [here](https://nitrictech.github.io/python-sdk/).

## Usage

### Nitric Functions (FaaS):

 - Install Python 3.7+
 - Install the [Nitric CLI](https://nitric.io/docs/installation)
 - Create / Open a Nitric Project
 - Make a Python37 function
 
 ```bash
# Create a new project
nitric make:project example-python
cd example-python

# Create a python37 Nitric Function
nitric make:service function/python37 example-function
```

> note: The SDK will be included in the requirements.txt of a new Python function by default.

### Standard Python Project

 - Install Python 3.7+

```bash
# Install the Nitric SDK
pip3 install nitric
```

```python
# import classes/modules as required
from nitric.api import EventClient, KeyValueClient
```

