Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.04 KB

Radicalbit Platform Python SDK

Python SDK to work with Radicalbit Platform.

How to set up

The project is based on poetry for managing dependencies.

You should have poetry installed on your local machine. You can follow the instruction on https://python-poetry.org.

After you have poetry installed you can install the project's dependencies run:

poetry install

To run code formatter use:

poetry run ruff format

AWS authentication

There are multiple ways to authenticate to AWS S3 API. The order in witch the client searches for credentials is:

  1. passing AwsCredentials to functions
  2. using environment variables
  3. using shared credentials file ~/.aws/credentials
  4. using AWS config file ~/.aws/config

How to run tests

To run the tests execute:

# Run unit tests
poetry run pytest -v

# Run code format validation
poetry run ruff check