Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.51 KB

File metadata and controls

44 lines (27 loc) · 1.51 KB

{{ ossHeader }}

Packages

The Momento Python SDK package is available on pypi: momento.

Prerequisites

Usage

Python 3.10 introduced the match statement, which allows for structural pattern matching on objects. If you are running python 3.10 or greater, here is a quickstart you can use in your own project:

{% include "./examples/py310/readme.py" %}

The above code uses structural pattern matching, a feature introduced in Python 3.10. Using a Python version less than 3.10? No problem. Here is the same example compatible across all versions of Python:

{% include "./examples/prepy310/readme.py" %}

Getting Started and Documentation

Documentation is available on the Momento Docs website.

Examples

Working example projects, with all required build configuration files, are available for both Python 3.10 and up and Python versions before 3.10:

Developing

If you are interested in contributing to the SDK, please see the CONTRIBUTING docs.

{{ ossFooter }}