Chaster python sdk
Project description
Chaster Python SDK
Releases
Release | Conditionals | State |
---|---|---|
v0.1.0.dev1 | Stubbed, Validated, Integrated | ip |
v0.1.0.a1 | Language, Documented | |
v0.1.0.a2 | Mocked, Tutorial | |
v0.1.0 | 3 demos of a few hundred lines each |
Layer 1 - API call wrappers and mocks
API Group | Stubbed | Validated | Integrated | Language | Documented | Mocked | Tutorial |
---|---|---|---|---|---|---|---|
Shared Locks | done | done | done | ||||
Locks | done | done | done | ||||
trigger_extension_actions | done | done | done | ||||
Lock Creation | done | done | done | ||||
Profile | done | done | done | ||||
Files | done | done | blocked | ||||
Combinations | done | done | done | ||||
Extensions | done | done | done | ||||
Session Offer | done | done | done | ||||
Messaging | done | done | done | ||||
Extensions - Temporary Opening | done | done | done | ||||
Community Events | done | done | done | ||||
Partner Extensions | |||||||
Settings | done | done | done | ||||
Users | done | done | done | ||||
Keyholder | done | done | done | ||||
Reports | N/A | N/A | N/A | ||||
Partner Configurations | |||||||
Public Locks | done | done | done | ||||
Extensions - Verification Picture | done | done | done |
Stubbed - API call functions, DTOs defined
Validated - tested with mocked chaster http response
Integrated - Integration tests written
Language - Naming and interface refined and settled
Documented - Functions are documented
Mocked - API call has a mock equivalent allowing for local development of bots and functions are documented
Tutorial - A tutorial demonstrating usage of the function written and the SDK pypi docs published
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
Backlog
- Extension Objects - DTO Tested and Validated
- Extension Information API - C&C the extension information component vs. the extension info in the lock obj
- Probably remove bespoke objects as input to api functions, such as in triggers
Research
- find a URL object hopefully with query building capabilities
- connection pool, thread safety of SDK
- test and tweak retry
- implement w3c tracing protocol
- measure I/O
- circuit breaker: https://github.com/danielfm/pybreaker
- cancellation tokens: https://github.com/pomponchik/cantok
- Enums vs. request validating vs. nothing
- https://github.com/pydantic/pydantic
- Templatize Result object to avoid returning a tuple? https://stackoverflow.com/questions/6725868/generics-templates-in-python
- need a wrapper for multipart/form-data requests
- async funcs
- Credentials stack object
- Other authentication support
- Chaster has a sequence of retry headers that may not be honored by the Retry library
- Retry library has been finicky to validate functionality. A bespoke method may be needed.
- abstract away success status codes to a wasSuccessful function?
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
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
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
File details
Details for the file chaster-sdk-0.1.0.dev1.tar.gz
.
File metadata
- Download URL: chaster-sdk-0.1.0.dev1.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037d15d01b0735fd34e5b0e7768714e228d8d032910f39351a3206aedc707896 |
|
MD5 | c15aabb4954dda5327ab51ab91f19487 |
|
BLAKE2b-256 | 3327cfce3251601db3f3af4bf54bbe017854bfd5518bd586d5addeb09aecde7f |
File details
Details for the file chaster_sdk-0.1.0.dev1-py3-none-any.whl
.
File metadata
- Download URL: chaster_sdk-0.1.0.dev1-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a177f57f074b049b81ac86dacc466d234ba394c8cfe2d7f989fc61279c5deca9 |
|
MD5 | 307a8a8e0f95728c4c343ba7c1de0904 |
|
BLAKE2b-256 | 5ec62c0b534755b345f58a860534c989a4727be83fcb6d915c0920b0e490f13e |