This release is a pre-release and may not be stable for production use.
unbelipy
Asynchronous wrapper for UnbelievaBoat's API written in Python.
Characteristics
- Easy to use
- Full error handling
- Type hinted readable code
- Active maintenance
- Fully Asynchronous
Note
This wrapper has not been declared to be official by the UnbelievaBoat developers. Any internal library issues/feature requests are to be directed here.
Project status
Early beta stage. It's not yet production ready.
Although most of the functionality is operational, rate limits are still being worked on.
Installation
Python 3.8 or above required, due to typehinting.
To install unbelipy from PyPI, use the following command:
pip install -U unbelipy
Or to install from Github:
pip install -U git+https://github.com/chrisdewa/unbelipy/
Dependencies
The following libraries will be needed and automatically installed with unbelipy:
- aiohttp - async requests
- aiolimiter - implementation of async rate limiter
Feature Requests
For feature requests, please open a Pull Request with detailed instructions.
Likewise, if you encounter any issues, you may create a new Issue.
Examples
from unbelipy import UnbeliClient
client = UnbeliClient(token='Unbelievaboats token generated from https://unbelievaboat.com/applications/')
guild_id: int = ...
member_id: int = ...
async def main():
perms = await client.get_permissions(guild_id)
guild = await client.get_guild(guild_id)
guild_leaderboard = await client.get_guild_leaderboard(guild_id)
user_balance = await client.get_user_balance(guild_id, member_id)
user_balance = await client.edit_user_balance(guild_id, member_id, cash='5') # adds 5 to the user's cash
user_balance = await client.set_user_balance(guild_id, member_id, cash='5') # sets the user's cash to 5
Links
Contact
As of now, there is no support server for this library. However, you may contact the following people on Discord:
Metadata
Release files for unbelipy 2.1.1b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| unbelipy-2.1.1b0.tar.gz | 12.6 kB | Without provenance | Details for unbelipy-2.1.1b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unbelipy-2.1.1b0-py3-none-any.whl | Python 3 | none | any | Details for unbelipy-2.1.1b0-py3-none-any.whl |
Total release size: 27.8 kB
Release files / unbelipy-2.1.1b0.tar.gz
| Download URL | unbelipy-2.1.1b0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f0699a2dde92bfb7eee603d392d3ca48955ed7cd53090d76acfa728d8b59b12
|
|
BLAKE2b-256 checksum How to use checksums |
1fb6225530393ec13d625997fde269aa3cfb764b94416436fe8d771b23f9f256
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Windows/10
|
Release files / unbelipy-2.1.1b0-py3-none-any.whl
| Download URL | unbelipy-2.1.1b0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2dc7ba69c13aa24f1687c1c4f98ec956fc592f0ffac4c547f00156e793859704
|
|
BLAKE2b-256 checksum How to use checksums |
3dcbd6a2f34bcc0d9425290889a9875b777b2553f91faa2250432e838e300bf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Windows/10
|
Security for unbelipy 2.1.1b0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.