boosty-0.0.7
توضیحات
Asynchronous boosty wrapper with some utils
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | boosty-0.0.7 |
| نام | boosty |
| نسخه کتابخانه | 0.0.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | barsikus007 |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/boosty/ |
| مجوز | - |
<p align="center">
<a href="https://github.com/barsikus007/boosty">
<img src="https://raw.githubusercontent.com/barsikus007/boosty/master/logo.png" alt="BoostyPy">
</a>
</p>
# Boosty Wrapper
[](https://pypi.org/project/boosty)
[](https://pypi.org/project/boosty)
[](https://github.com/pypa/hatch)
-----
**Table of Contents**
- [Installation](#installation)
- [License](#license)
- [Usage](#usage)
## Installation
```console
pip install boosty
```
## License
`boosty` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
### **!WARNING! this version of library is very unstable**
**If you use it, contact maintainer to help make it stable**
## Usage
*Optional:* specify `DEBUG` environment variable to enable strict schema validation
*Optional:* fill `auth.json` file with authentication data:
```json
{
"access_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"device_id": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"expires_at": 12345678900,
"refresh_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
```
Example:
```python
from boosty.api import API
api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'
```
### TODO for stable release
- api schema
- add access levels logic for requests
- minimal docs
- tests
نیازمندی
| مقدار | نام |
|---|---|
| - | aiohttp~=3.8.4 |
| - | pydantic[email]~=1.10.6 |
| xtr | boosty[dotenv,fast,logging]; |
| xtr | python-dotenv~=1.0.0; |
| xtr | aiohttp[speedups]~=3.8.4; |
| xtr | orjson~=3.8.8; |
| xtr | loguru~=0.6.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl boosty-0.0.7:
pip install boosty-0.0.7.whl
نصب پکیج tar.gz boosty-0.0.7:
pip install boosty-0.0.7.tar.gz