Skip to main content

This SDK provides a set of tools to manage assignments from Clockwise. Primarily, it allows you to fetch, represent, and mark assignments as complete.

Project description

Clockwise Assignment Completion SDK

Overview

Description

This SDK provides a set of tools to manage assignments from Clockwise. Primarily, it allows you to fetch, represent, and mark assignments as complete.

Features

  • Infuzu Authentication: Represents authentication credentials for Infuzu with methods for signature generation.
  • Assignment Representation: Represents an Assignment fetched from Clockwise.
  • Complete Assignment Representation: Represents a completed assignment in Clockwise.
  • Fetch and Complete Assignments: Functionality to retrieve and mark assignments as complete.

Setup Instructions

Install the Package using pip:

pip install infuzu-python-sdk

Usage

InfuzuCredentials Class

This class is used to represent authentication credentials for Infuzu.

from infuzu.auth import InfuzuCredentials

credentials: InfuzuCredentials = InfuzuCredentials(secret_id="YOUR_SECRET_ID", secret_key="YOUR_SECRET_KEY")

Methods & Classmethods:

  • from_file(filepath: str) -> 'InfuzuCredentials': Create an InfuzuCredentials instance from a JSON file.
  • from_dict(data: dict[str, str]) -> 'InfuzuCredentials': Create an InfuzuCredentials instance from a dictionary.

Important Note

Please handle your credentials securely and ensure you manage exceptions when dealing with API calls.

Contributing

As this is an open-source project hosted on GitHub, your contributions and improvements are welcome! Follow these general steps for contributing:

  1. Fork the Repository: Start by forking the main repository to your personal GitHub account.

  2. Clone the Forked Repository: Clone your forked repository to your local machine.

    git clone https://github.com/Infuzu/InfuzuPythonSDK.git
    
  3. Create a New Branch: Before making any changes, create a new branch:

    git checkout -b feature-name
    
  4. Make Your Changes: Implement your features, enhancements, or bug fixes.

  5. Commit & Push:

    git add .
    git commit -m "Descriptive commit message about changes"
    git push origin feature-name
    
  6. Create a Pull Request (PR): Go to your forked repository on GitHub and click the "New Pull Request" button. Make sure the base fork is the original repository, and the head fork is your repository and branch. Fill out the PR template with the necessary details.

Remember to always be respectful and kind in all interactions with the community. It's all about learning, growing, and helping each other succeed!

Acknowledgments

Crafted with 💙 by Yidi Sprei for Infuzu. Kudos to all contributors and the expansive Infuzu and Python community for encouragement and motivation.

Project details


Release history Release notifications | RSS feed

This version

0.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infuzu-python-sdk-0.8.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

infuzu_python_sdk-0.8-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file infuzu-python-sdk-0.8.tar.gz.

File metadata

  • Download URL: infuzu-python-sdk-0.8.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for infuzu-python-sdk-0.8.tar.gz
Algorithm Hash digest
SHA256 c34972e54dbaf4bffb80e9798ad61d0be9338ab3099ff2e08539f257c7debeb6
MD5 3d8687c02234bfb5e45385f82f7f1fb2
BLAKE2b-256 cc592e28a85ced6e0aca6c94af9a0190551c19db6e5efaf485a99a5f8f4ba30e

See more details on using hashes here.

File details

Details for the file infuzu_python_sdk-0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for infuzu_python_sdk-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bc17541b942dd11289be9fe1cc9b774bdfd79fbfae4dfad6593b4ab5b0728288
MD5 883b7a6c0d34fe27354f5778b7458ebe
BLAKE2b-256 251ae0948827ab8ed3f887e832b8edf23e01b76bf33534b3bf1d092a57e96106

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