Pytonapi

Latest version: v0.4.1

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

Scan your dependencies

Page 3 of 4

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.

0.1.6

What's Added

- **New Features and API Methods**
- Added support for all available methods. See the full list [here](https://github.com/tonkeeper/pytonapi/blob/main/AvailableMethods.md).

- **Streaming API Enhancements**
- Introduced Server-Sent Events (SSE) for enhanced streaming capabilities.
- Enabled Websockets support (Async version only) to provide real-time communication.

- **Library and Dependency Updates**
- Replaced `aiohttp` and `requests` with `httpx` for improved HTTP client functionality.
- Added `websockets` for enhanced interaction and communication.

- **Examples and Usage Illustrations**
- Added a folder with usage examples: [Examples](https://github.com/tonkeeper/pytonapi/tree/main/examples).
- Check out the SSE usage example: [sse.py](https://github.com/tonkeeper/pytonapi/blob/main/examples/sse.py).
- More examples will be added to provide comprehensive guidance.

Changes Made

- Updated the API to include all available methods.
- Implemented Server-Sent Events (SSE) for improved streaming capabilities.
- Introduced Websockets support, available exclusively in the Async version.
- Replaced the usage of `aiohttp` and `requests` with `httpx` for improved HTTP client functionality.

0.1.3

What's Changed

- Address Update: EQ » UQ

Change Details

By the end of this year, the TON network will transition to a new wallet address format. Instead of the familiar EQ prefix, addresses will now start with UQ. This update changes how user addresses are displayed in the TON network, making addressing more user-friendly and intuitive.

Changes Made

- Updated the [raw_to_userfriendly](https://github.com/nessshon/pytonapi/commit/778a2ef9d4b5e090d160d87c54e0fdc7a2390981) function to support the new address format.
- Added the `is_bounceable` parameter to enable the display of UQ addresses.

Address Examples

- Old Address:
`EQC-3ilVr-W0Uc3pLrGJElwSaFxvhXXfkiQA3EwdVBHNNess`
- New Address:
`UQC-3ilVr-W0Uc3pLrGJElwSaFxvhXXfkiQA3EwdVBHNNbbp`

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.