Quickstart
Guide on how to install the python-MCS-SDK and its basic usage
Last updated
Was this helpful?
Guide on how to install the python-MCS-SDK and its basic usage
Last updated
Was this helpful?
This guide details the steps required to install or update the python Swan IPFS Storage SDK.
To use python-MCS-SDK , you first need to install it and its dependencies.
Before installing python-MCS-SDK , install Python 3.7 or later; support for Python 3.6 and earlier is deprecated. After the deprecation date listed for each Python version, new releases of python-MCS-SDK will not include support for that version of Python.
For information about how to get the latest version of Python, see the official .
Install the latest python-MCS-SDK release via pip:
pip install python-MCS-SDK
Before using python-MCS-SDK, you need to generate an API key through the for login. Make sure to save your API key and Access Token after you have caused it. You will not find it again after you create it.
Also, to use python-mcs-sdk's Onchain upload feature, you need to provide an RPC endpoint. Polygon mainnet MATIC and USDC Token are also required to make payments.
To use python-MCS-SDK, you must first import it and state your identity.
If you see "Login Successful" in the console, you have logged in successfully. Now you can choose which service you want to initialize: Onchain or Buckets. The following code will take you through the initialization of both services.