Skip to main content

The Nitric SDK for Python 3

Project description

Nitric Python SDK Logo

test status codecov Quality Gate Status

Nitric Python SDK

The Python SDK supports the use of the cloud-portable Nitric framework with Python 3.7+.

The Nitric Python SDK is currently in Preview, API changes are likely prior to v1.x release.

Read full documentation here.

Usage

Nitric Functions (FaaS):

  • Install Python 3.7+
  • Install the Nitric CLI
  • Create / Open a Nitric Project
  • Make a Python37 function
# 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+
# Install the Nitric SDK
pip3 install nitric
# import classes/modules as required
from nitric.api import Events, KeyValueClient

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

nitric-0.4.3.tar.gz (27.6 kB view hashes)

Uploaded Source

Built Distribution

nitric-0.4.3-py3-none-any.whl (48.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page