Skip to main content

Synkar SARA REST API SDK

Project description

Sara SDK Python

Getting Started

Assuming that you have a supported version of Python installed, you can first set up your environment with:

$ python -m venv .venv
$ . .venv/bin/activate

Then, you can install sara SDK from PyPI with:

$ python -m pip install sara-sdk

or install from source with:

$ git clone https://github.com/Synkar/Sara-SDK-Python.git
$ cd sara_sdk
$ python -m pip install -r requirements.txt
$ python -m pip install .

Using Sara SDK

After installing sara-sdk

First thing to do after importing to project is use the credentials to authenticate

sara_sdk.auth("access_key", "secret_key")

After this you can call the function would like to run.

Example:

sara_sdk.iam.apps.list()

See: https://github.com/Synkar/Sara-SDK-Python/blob/main/examples

Running Tests

You can run test to all functions by running pytest in the project by using:

$ pytest

Or run on a specific file (module)

$ pytest -v tests/test_apps.py

Getting Help

We use GitHub issues for tracking bugs and feature requests

Contributing

We value feedback and contributions from our community. Whether it's a bug report, new feature, correction, or additional documentation, we welcome your issues and pull requests.

Project details


Download files

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

Source Distribution

sara-sdk-1.1.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sara_sdk-1.1.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file sara-sdk-1.1.0.tar.gz.

File metadata

  • Download URL: sara-sdk-1.1.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for sara-sdk-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c0d2294b5623aade51802376479244d2f4c5a1d30ab12844c1f2053889b9be8d
MD5 84fa0409ddbb9e72e78ac95ebe4e717e
BLAKE2b-256 f61f8a345334711b7ff9773c5aa1c6a8ce0784bc09eeb15a5d438eda759c33d8

See more details on using hashes here.

File details

Details for the file sara_sdk-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sara_sdk-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for sara_sdk-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 345e345d3a770951ca8c119ae4271d6243692c2a0df9a291779a3296b4ef9552
MD5 76fa32289922cd121735c4988ae2a139
BLAKE2b-256 bda12c09bdffe154ad235c081bf5244471383c497f3bef7ff003cb3ff5ff93af

See more details on using hashes here.

Supported by

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