Skip to main content

The Python SDK for developing plugins for Cloud Compute

Project description

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

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

cc-python-sdk-0.0.2.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

cc_python_sdk-0.0.2-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file cc-python-sdk-0.0.2.tar.gz.

File metadata

  • Download URL: cc-python-sdk-0.0.2.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cc-python-sdk-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c1bbb674447cb6a94892600f4059d2e438b64f0081b1313f2fed554502b522ba
MD5 fe944c515789407330f0ce822a36344a
BLAKE2b-256 65ccd2ca281e156fd918360dd04d29d42e8567561d0afd42fdf0304fd451d8bd

See more details on using hashes here.

File details

Details for the file cc_python_sdk-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cc_python_sdk-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c281317e7a67c387aefb210a06d58d7920e178bb415ac5780bcd4c747c735e5
MD5 b6a7641d128acc8c1c31b144df5e985d
BLAKE2b-256 e4050813f1da7c4c1f92eb4939abc9aa49bee8d1dab6a089631e0c2809dfe3ef

See more details on using hashes here.

Supported by

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