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()

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.0.0.tar.gz (12.4 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.0.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sara-sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 12.4 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.0.0.tar.gz
Algorithm Hash digest
SHA256 6d5a2712053404f78b6d01366d6e366da5c2b3581b8de9ec1399b4880883a32c
MD5 51bcd0cd0e551658ff99771440b924cb
BLAKE2b-256 b1d2e2b5c0ee88178f5feeb39cdfade50cea8383060b2c49d8b72b6f28639b75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sara_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.4 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fed8ee46f90ff14722b134b3fbc1a2d36aeacae63d42b61f52136719940ff9f6
MD5 b4b5c8b9297c0660416edb3e74fdc17c
BLAKE2b-256 22bc2fb27833f4247ed800a97d50769163f3ef6d1dcf7fb53e6206c2951776a1

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