Skip to content

USACE/cc-python-sdk

Repository files navigation

cc-python-sdk

PyPI version License: MIT

cc-python-sdk is the Python Software Development Kit used to develop plugins for Cloud Compute.

Installation

You can install cc-python-sdk in two ways: from source or through the pip package manager.

Installing from source

To install cc-python-sdk from source, follow these steps:

  1. Clone the repository:
git clone https://github.com/USACE/cc-python-sdk.git
  1. Navigate to the project directory:
cd cc-python-sdk
  1. Create a virtual environment (optional but recommended):
python3 -m venv venv
source venv/bin/activate
  1. Install the package dependencies:
pip install -r requirements.txt
  1. Install the build dependencies
python3 -m pip install --upgrade build
  1. Build cc-python-sdk from the pyproject.toml:
python3 -m build
  1. Install the generated wheel (replace with the version of the wheel file built):
pip install dist/cc_python_sdk-<version>-py3-none-any.whl

or

pip install dist/*.whl

Now you have successfully installed cc-python-sdk from source.

Install from pre-built distribution

Download the release from the 'Releases' page of this repository, then install with pip:

pip install <path/to/wheel/*.whl>

Installing through pip

To install cc-python-sdk using pip, simply run the following command:

pip install cc-python-sdk

This will download the latest version of cc-python-sdk from the Python Package Index (PyPI) and install it into your Python environment.

Usage

Once cc-python-sdk is installed, you can start using its functionality in your Python projects. Here's a simple example:

import cc_sdk

# Use the functions and classes provided by cc_sdk

Documentation

TODO. See example plugin here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages