Pytonapi

Latest version: v0.2.9

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

Scan your dependencies

Page 1 of 2

0.2.8

What's Changed

New Features
- Added 'liteserver' module to the list of imported schemas in the `__all__` variable.
- Added `liteserver.get_account_state` tests.
- Added `py.typed` to support type checkers by vladimir-chernykh in https://github.com/tonkeeper/pytonapi/pull/12

Fixes
- Fixed `TypeError: 'type' object is not subscriptable`, updated type annotations to support Python versions below 3.10. https://github.com/tonkeeper/pytonapi/pull/13
- Updated `BlockRaw.shard` data type from `int` to `str` to resolve data inconsistency error. https://github.com/tonkeeper/pytonapi/issues/11

Enhancements
- Refactored `test_get_all_jettons` method.

New Contributors
* vladimir-chernykh made their first contribution in https://github.com/tonkeeper/pytonapi/pull/12

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.6...v0.2.8

0.2.6

What's Changed

New Features
- Added [example](https://github.com/tonkeeper/pytonapi/blob/main/examples/send_ton.py) for sending TON.

Fixes
- Fixed API endpoint typo in `EmulateMethod.decode_message` method.

Enhancements
- Updated `SSEMethod.subscribe_to_transactions` signature: added optional `operations` parameter.
- Handled HTTP status errors in `_subscribe` method.
- Refactored `__read_content` method for efficient reading.

Miscellaneous
- Added `TONAPISSEError`.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.4...v0.2.6

0.2.4

What's Changed

Updates

* Add `owner` to JettonHolder schema.
* Add `jettons.get_all_holders` method.

Fixes

* Fixed `JSONDecodeError` handling to return error content as a dictionary instead of a set.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.0...v0.2.4

0.2.0

What's Added

- **New API Methods**

**Inscriptions**
- [x] /v2/experimental/accounts/{account_id}/inscriptions
- [x] /v2/experimental/accounts/{account_id}/inscriptions/history
- [x] /v2/experimental/accounts/{account_id}/inscriptions/{ticker}/history
- [x] /v2/experimental/inscriptions/op-template

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.1.9...v0.2.0

0.1.9

What's Added

- **New API Methods**

**Blockchain**
- [x] /v2/status
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/blocks
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/transactions
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/config
- [x] /v2/blockchain/masterchain/{masterchain_seqno}/config/raw

**Emulation**
- [x] /v2/message/decode

- **Missing fields in model schemas.**

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.1.7...v0.1.9

0.1.7

What's Changed

New Features

- Added support for Python `3.11` and `3.12`.

Dependency Updates

- Removed `libscrc` library.
- Updated `httpx` version to `0.26.0`.

Bug Fixes

- [Fixed](https://github.com/tonkeeper/pytonapi/commit/17d1192247af43f1a76be5306b013ea51f06ad38) an issue in the `v2/blockchain/accounts/{account_id}/methods/{method_name}` method.

Refactoring

- Minor code refactoring for improved maintainability.

This release introduces new Python version support, updates dependencies, addresses a specific issue, and includes minor refactoring for better code organization.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.