Glqiwiapi

Latest version: v2.18.3

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

1.0.4

I can say with confidence that this release is completely or almost completely ready for production solutions, except 9, but it will be added as extension a little bit later. :sunglasses:

Changes in current release:
1. 8 has been fully fixed
2. Add sync adapter for synchronous applications [source code](https://github.com/GLEF1X/glQiwiApi/tree/dev-1.x/glQiwiApi/core/synchronous)
3. `QiwiWebHookWebView` and `QiwiBillWebView` have been rewritten from scratch using template method pattern [source code](https://github.com/GLEF1X/glQiwiApi/tree/dev-1.x/glQiwiApi/core/dispatcher/webhooks/views)
4. All async properties are deprecated now. Instead of it use methods. _For example, bill.paid -> bill.check()_.
5. Added class-based handlers
6. At all, a lot of work has been done to clean up the source code.
7. Docs has been updated to understand how to work with library step by step

1.0.3

There are couple of changes from [1.0.3b2](https://github.com/GLEF1X/glQiwiApi/releases/tag/1.0.3b2):

1. The library now fully supports the **mypy linter** and therefore `BaseFilter` has become `Generic` class and so you can use like shown below:
python
from glQiwiApi import BaseFilter, QiwiWrapper, types

wrapper = QiwiWrapper()


class MyBillFilter(BaseFilter[types.Notification]):

async def check(self, update: types.Notification) -> bool:
return True


async def my_bill_handler(update: types.Notification) -> None:
...


2 errors, connected with incorrect type of argument, which accept handler and wrong type of filter
wrapper.dp.register_transaction_handler(my_bill_handler, MyBillFilter())

wrapper.dp.register_bill_handler(my_bill_handler, MyBillFilter()) It's ok and mypy understand it


2. In 1.0.3 you can add **shutdown_callback** to your `async_as_sync` decorator or `sync` function to gracefully shutdown all your resources

1.0.3b2

Major changes in the library:
- Fixed bug with poling (earlier update could come 2+ times to the handler)
- Added custom filters similar to `BoundFilter`, but slightly stripped down
- The source has become much cleaner, but backward compatibility was not being broken
- Added CI integration based on `github actions`, in accordance with this added support for `codecov` (so far only 80/100%)
- Fixed stub files for utilities, namely `api_helper.pyi`
- Added 2 glQiwiApi / ext extensions (module [ssl_configurator](https://github.com/GLEF1X/glQiwiApi/blob/dev-1.x/glQiwiApi/ext/ssl_configurator.py) (generation of self-written ssl) and [url_builder](https://github.com/GLEF1X/glQiwiApi/blob/dev-1.x/glQiwiApi/ext/url_builder.py) (simple interface for creating paths for webhooks based on one object))
- The dispatcher now asynchronously processes handlers when pulling and webhooks (it was sequentially without gather)
- Well, from the old versions, small bug fixes `TelegramPollingProxy` and `TelegramWebhookProxy` (for polling updates along with aiogram)

Example of use generic filters:
python
from glQiwiApi import BaseFilter, QiwiWrapper, types
from glQiwiApi.utils import executor

let's imagine that payload its a dictionary with your tokens =)
wallet = QiwiWrapper(**payload)


class MyFirstFilter(BaseFilter):
async def check(self, update: types.Transaction) -> bool:
return True


class MySecondFilter(BaseFilter):

async def check(self, update: types.Transaction) -> bool:
return False


wallet.transaction_handler(MyFirstFilter(), lambda event: event is not None, ~MySecondFilter())
async def my_handler(event: types.Transaction):
...


executor.start_polling(wallet)

1.0.2

1.0.1

Bugfix, connected with incorrect work of `QiwiWrapper.commission` method

1.0.0

Changelog:
- **Builtin integration with aiogram using `TelegramPollingProxy`, `TelegramWebhookProxy`**
- **Validating parameters by passing validate_params=True to `QiwiWrapper`**
- **Improved performance of laconic `bill.paid`**
- **`HttpXParser`, `Storage` were rewritten with better approach**
- **Added poetry coverage 3**
- **Currency parser util was added for effortless work with the currency code**
- **In this version, the ability to use a proxy(`aiohttp_socks`) has become available**
- **Added client_secret parameter for OAuth2 token verification 5**
- **`ContextInstanceMixin`, which allows getting wrappers from anywhere in the program:**
python
from glQiwiApi import QiwiWrapper

wrapper = QiwiWrapper() added into context
in another module, function or class
instance = QiwiWrapper.get_current()

Page 6 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.