Name | boosty JSON |
Version |
0.0.33
JSON |
| download |
home_page | None |
Summary | Asynchronous boosty wrapper with some utils |
upload_time | 2025-08-30 02:55:35 |
maintainer | None |
docs_url | None |
author | barsikus007 |
requires_python | >=3.10 |
license | None |
keywords |
asyncio
boosty
wrapper
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">
<a href="https://github.com/barsikus007/boosty">
<img src="https://raw.githubusercontent.com/barsikus007/boosty/master/logo.svg" alt="BoostyPy" height="250px">
</a>
</p>
# Boosty Wrapper
[](https://pypi.org/project/boosty)
[](https://pypi.org/project/boosty)
[](https://github.com/pypa/hatch)
-----
**[Описание на русском](https://github.com/barsikus007/boosty/blob/master/README-ru.md)**
**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.
> [!IMPORTANT]
> **!WARNING! this version of library is very unstable**
>
> **If you use it, contact maintainer to help make it stable**
## Usage
*Optional:* specify `IGNORE_MISSING_AND_EXTRA_FIELDS` environment variable to disable strict schema validation
```py
# or add these lines before first boosty import
import os
os.environ["IGNORE_MISSING_AND_EXTRA_FIELDS"] = "true"
```
*Optional:* fill `auth.json` file with authentication data (or use [browser auth](https://github.com/barsikus007/boosty/blob/master/examples/browser_auth.py) to create them):
```json
{
"access_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"device_id": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"expires_at": 12345678900,
"refresh_token": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
```
Example:
```python
import asyncio
from boosty.api import API
async def main():
api = API()
response = await api.get_post("boosty", post_id="c9fb8a19-c45e-4602-9942-087c3af28c1b")
print(response.title)
# 'Добро пожаловать на борт!'
asyncio.run(main())
```
More examples in [examples/](https://github.com/barsikus007/boosty/tree/master/examples/) folder
### TODO for stable release
- inject additional data to models from requests
- convert timestamps to datetime
- serialize it to int when dumping
- schema
- complete api schema (at 100 stars)
- add access levels logic for requests
- more useful properties for models
- merge reply comment with comment model
- msgspec?
- rename folder types/ to schema/
- logic
- get rid of strange pydantic model init depends on env
- maybe better solution for auth data storage
- docs/ (at 50 stars)
- examples/
- render text
- get video url
- get comment url
- tests/
- boosty profile
- test posts under my account
- comments
- replies
- video
- entities parsing
- create dev branch
Raw data
{
"_id": null,
"home_page": null,
"name": "boosty",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "asyncio, boosty, wrapper",
"author": "barsikus007",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/e6/12/b5030fb0051d2c350d1d10566510940ee970b98fa86bdb7fce8e9ac8ba7f/boosty-0.0.33.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/barsikus007/boosty\">\n <img src=\"https://raw.githubusercontent.com/barsikus007/boosty/master/logo.svg\" alt=\"BoostyPy\" height=\"250px\">\n </a>\n</p>\n\n# Boosty Wrapper\n\n[](https://pypi.org/project/boosty)\n[](https://pypi.org/project/boosty)\n[](https://github.com/pypa/hatch)\n\n-----\n\n**[\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c](https://github.com/barsikus007/boosty/blob/master/README-ru.md)**\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [License](#license)\n- [Usage](#usage)\n\n## Installation\n\n```console\npip install boosty\n```\n\n## License\n\n`boosty` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n\n> [!IMPORTANT]\n> **!WARNING! this version of library is very unstable**\n>\n> **If you use it, contact maintainer to help make it stable**\n\n## Usage\n\n*Optional:* specify `IGNORE_MISSING_AND_EXTRA_FIELDS` environment variable to disable strict schema validation\n\n```py\n# or add these lines before first boosty import\nimport os\n\nos.environ[\"IGNORE_MISSING_AND_EXTRA_FIELDS\"] = \"true\"\n```\n\n*Optional:* fill `auth.json` file with authentication data (or use [browser auth](https://github.com/barsikus007/boosty/blob/master/examples/browser_auth.py) to create them):\n\n```json\n{\n \"access_token\": \"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\n \"device_id\": \"ffffffff-ffff-ffff-ffff-ffffffffffff\",\n \"expires_at\": 12345678900,\n \"refresh_token\": \"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\"\n}\n```\n\nExample:\n\n```python\nimport asyncio\n\nfrom boosty.api import API\n\nasync def main():\n api = API()\n response = await api.get_post(\"boosty\", post_id=\"c9fb8a19-c45e-4602-9942-087c3af28c1b\")\n print(response.title)\n # '\u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0431\u043e\u0440\u0442!'\n\nasyncio.run(main())\n```\n\nMore examples in [examples/](https://github.com/barsikus007/boosty/tree/master/examples/) folder\n\n### TODO for stable release\n\n- inject additional data to models from requests\n- convert timestamps to datetime\n - serialize it to int when dumping\n- schema\n - complete api schema (at 100 stars)\n - add access levels logic for requests\n - more useful properties for models\n - merge reply comment with comment model\n - msgspec?\n - rename folder types/ to schema/\n- logic\n - get rid of strange pydantic model init depends on env\n - maybe better solution for auth data storage\n- docs/ (at 50 stars)\n- examples/\n - render text\n - get video url\n - get comment url\n- tests/\n - boosty profile\n - test posts under my account\n - comments\n - replies\n - video\n - entities parsing\n- create dev branch\n",
"bugtrack_url": null,
"license": null,
"summary": "Asynchronous boosty wrapper with some utils",
"version": "0.0.33",
"project_urls": {
"Documentation": "https://github.com/barsikus007/boosty#readme",
"Issues": "https://github.com/barsikus007/boosty/issues",
"Source": "https://github.com/barsikus007/boosty"
},
"split_keywords": [
"asyncio",
" boosty",
" wrapper"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "db5a57e18ba024f0f4658af875661b3371368b3281d99b435960fbafc50d6eac",
"md5": "5a29b1e0c352b2990a33950805682f55",
"sha256": "5ad491f53c0f8a5ac9f4b356103c69318c31b87dd4f1cb45915ad0cd0ff88e32"
},
"downloads": -1,
"filename": "boosty-0.0.33-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5a29b1e0c352b2990a33950805682f55",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 24412,
"upload_time": "2025-08-30T02:55:33",
"upload_time_iso_8601": "2025-08-30T02:55:33.960876Z",
"url": "https://files.pythonhosted.org/packages/db/5a/57e18ba024f0f4658af875661b3371368b3281d99b435960fbafc50d6eac/boosty-0.0.33-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e612b5030fb0051d2c350d1d10566510940ee970b98fa86bdb7fce8e9ac8ba7f",
"md5": "b21ec219ae18936af7c896ddc1579326",
"sha256": "c5d56eef6b32a0ea08f08f89f2d43ebfbb7c24b6e00d58ff76718ac5001b96d3"
},
"downloads": -1,
"filename": "boosty-0.0.33.tar.gz",
"has_sig": false,
"md5_digest": "b21ec219ae18936af7c896ddc1579326",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 20909,
"upload_time": "2025-08-30T02:55:35",
"upload_time_iso_8601": "2025-08-30T02:55:35.451279Z",
"url": "https://files.pythonhosted.org/packages/e6/12/b5030fb0051d2c350d1d10566510940ee970b98fa86bdb7fce8e9ac8ba7f/boosty-0.0.33.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-30 02:55:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "barsikus007",
"github_project": "boosty#readme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "boosty"
}