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 anInfuzuCredentials
instance from aJSON
file.from_dict(data: dict[str, str]) -> 'InfuzuCredentials'
: Create anInfuzuCredentials
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:
-
Fork the Repository: Start by forking the main repository to your personal GitHub account.
-
Clone the Forked Repository: Clone your forked repository to your local machine.
git clone https://github.com/Infuzu/InfuzuPythonSDK.git
-
Create a New Branch: Before making any changes, create a new branch:
git checkout -b feature-name
-
Make Your Changes: Implement your features, enhancements, or bug fixes.
-
Commit & Push:
git add . git commit -m "Descriptive commit message about changes" git push origin feature-name
-
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for infuzu_python_sdk-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d51cfea0110d820ba7cbec289097c93460bcbfd6b866063a6f72fa5746e62c6 |
|
MD5 | 3180903d96ae29fd72ac5dd620a10729 |
|
BLAKE2b-256 | b43b9f53bf64acf7ecaa67e4fbe53c3aa64f05117df865b85140d8c6c42b14f3 |