Skip to main content

Chaster python sdk

Project description

Chaster Python SDK

pip install --upgrade chaster-sdk

Releases

Release Conditionals State
v0.1.0.dev1 Stubbed, Validated, Integrated done
v0.1.0.a1 Language, Documented done
v0.1.0.a2 Backlog and TODOs work done
v0.1.0 95% coverage on unittest and integration done

v0.1.0 - Layer 1

API Group Stubbed Validated Integrated Language Documented Tutorial
Shared Locks done done done done done
Locks done done done done done
trigger_extension_actions done done done done done
Lock Creation done done done done done
Profile done done done done done
Files done done blocked done done
Combinations done done done done done
Extensions done done done done done
Session Offer done done done done done
Messaging done done done done done
Extensions - Temporary Opening done done done done done
Community Events done done done done done
Partner Extensions
Settings done done done done done
Users done done done done done
Keyholder done done done done done
Reports N/A N/A N/A N/A N/A
Partner Configurations
Public Locks done done done done done
Extensions - Verification Picture done done done done done

v0.2.0 - Helpful Mocks

Mock API Group Stubbed Connected Validated Tutorial
Shared Locks
Locks
trigger_extension_actions
Lock Creation
Profile
Files
Combinations
Extensions
Session Offer
Messaging
Extensions - Temporary Opening
Community Events
Partner Extensions
Settings
Users
Keyholder
Reports
Partner Configurations
Public Locks
Extensions - Verification Picture

Stubbed - Function calls written Connected - Chaster operation simulated Validated - tested Tutorial - A tutorial demonstrating usage of the function written and the SDK pypi docs published

Backlog

  • need more/better extension dump handling. May need to reformat extension handler. Need to handle unknown extensions better.
  • util.safe_dump_parameter

Rate limiting and Delaying

  • Chaster has a sequence of retry headers that may not be honored by the Retry library. I should do more handling in this regard and provide functions for to interface with the current state of the retries
  • Remove delay and apply intelligent rate limiting reaction

Authentication and Safe Logging

Would need to utilize a credentials stack object in order to simplify finding credentials should the SDK open to support more types of authentication. support clientId/clientSecret unsupported authentication

  • abstract away success status codes to a wasSuccessful function?
    • I would leverage logging instead
    • Redact bearer token from logs

v0.3.0 Layer 2 - OOP based calls and mocks

OOP Actions - To obfuscate the API calls into function calls on the object itself. For example, rather than having to call the trigger API to spin the wheel of fortune, instead the interface would be lock.spin_wheel_of_fortune().
Tested - Test each function by mocking the chaster sdk object Mocked - Similar spirit to mocking of layer 1 but instead simplify the interface to the data

Ops

Releasing

Housekeeping File Flushed Out Documented
./src/init.py
./src/setup.py
./tests/init.py
./.coveragerc
./.gitignore
./.travis.yml
./init.py
./LICENSE
./Makefile
./pyproject.toml
./README_BOILERPLACE.md
./requirements.txt
.pypirc

Understood - Validated it has a place in the deployment process and is functioning correctly.
Documented - The file is document in a process doc

Linting

make lint | wc -l 455 issues @ 1/19/2024

Contributing

You want to? Nice! Hmu on Discord, username PupHimbo

Credits

Repository started with by using a https://github.com/AlexanderWillner/python-boilerplate

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

chaster-sdk-0.1.0.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

chaster_sdk-0.1.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file chaster-sdk-0.1.0.tar.gz.

File metadata

  • Download URL: chaster-sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for chaster-sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a3a2c6f659e16b397f227fb3054032fc73cb1a773ebc30f4a88bfe3df144364
MD5 94eb6443d09d9013f6e9e95dbe50e7d7
BLAKE2b-256 6ff795e19cbf977ee44d5f1abb551f26b7b171be8d350b90ed6d524fd2e9465b

See more details on using hashes here.

File details

Details for the file chaster_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chaster_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for chaster_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca1f116ae9101db36f03676ee401c29f1d8d4ea55692415a066606fdb645aaed
MD5 8b63076db84abbfabb2d173452a7999c
BLAKE2b-256 6e2de1aac4d7ea928d16ecf25a3fafffc5557fdde7f873575ccc199548dbcef2

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