semvec/pypi-packages huggingface dataset:
asyncuvkit 0.8.6
Asyncuvkit
License: MIT
Requires Python: <3.12,>=3.11
Keywords: interceptor, nuitka, asyncuvkit

# SecretPkg555

简单的计算包，核心逻辑已编译为二进制保护源码。

## 安装

```bash
pip install secretpkg555
```

## 快速开始

```python
from secretpkg555 import calculate

# 计算两数之和
sum_result = calculate(10, 20)
print(sum_result)  # 30
```

## 技术说明

本包使用 [Nuitka](https://nuitka.net/) 将核心逻辑编译为二进制文件（.pyd/.so），实现源码保护。用户可以正常使用所有功能，但无法查看核心算法的实现细节。

## 许可证

MIT License

## 作者

None555
viz-python-lib 1.1.0
Python library for VIZ blockchain
License: MIT
Requires Python: <4.0,>=3.8
Keywords: viz, python, library, blockchain

# Python Library for [VIZ](https://github.com/VIZ-Blockchain)

![Tests Status](https://github.com/VIZ-Blockchain/viz-python-lib/actions/workflows/tests.yml/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/viz-python-lib/badge/?version=latest)](https://viz-python-lib.readthedocs.io/en/latest/?badge=latest)

## Usage examples

Award someone:

```python
from viz import Client

node = "wss://node.viz.cx/ws"
viz = Client(node=node, keys=["5...your_private_regular_key..."])

initiator = "your_account"
percent = 10.5
viz.award("id", percent, "with love", None, initiator)
```

Award someone with fixed reward:

```python
from viz import Client

node = "wss://node.viz.cx/ws"
viz = Client(node=node, keys=["5...your_private_regular_key..."])

initiator = "your_account"
reward_amount = 3.5 # "3.50 VIZ"
max_energy = 30 # 30%
viz.fixed_award("id", reward_amount, max_energy, "with fixed reward", None, initiator)
```

Send a custom operation:

```python
from viz import Client

node = "wss://node.viz.cx/ws"
viz = Client(node=node, keys=["5...your_private_regular_key..."])

account = "your_account"
protocol = "color.place"
json = {"x":35, "y":70, "color":"#e50000"}
viz.custom(protocol, json, None, [account])
```

Get account with custom protocol latest block:

```python
from viz import Client
from viz.account import Account
from viz.block import Block
from viz.instance import set_shared_blockchain_instance

viz = Client('wss://node.viz.cx/ws')
set_shared_blockchain_instance(viz)

protocol = "V"
account = Account('id', viz, protocol)
counter_inside_protocol = account["custom_sequence"]
last_used_in_block = account["custom_sequence_block_num"]
block = Block(last_used_in_block)
```

Any direct RPC call:

```python
from viz import Client

viz = Client('wss://node.viz.cx/ws')
viz.rpc.get_dynamic_global_properties()
```

## Installation

Current published version could be installed via

```sh
pip install viz-python-lib
```

Manual installation:

Install [poetry](https://python-poetry.org/docs/)

```sh
cd viz-python-lib/
poetry install
```

## Development

### Dependencies

#### Linux dependencies

```sh
sudo apt-get install libffi-dev libssl-dev python-dev
```

#### Windows dependencies

Install regular version of [OpenSSL](https://slproweb.com/products/Win32OpenSSL.html) (not Light) suitable for your core processor.

#### MacOS dependencies

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries. This means that you will need to install and export some OpenSSL settings yourself, before you can install viz-python-lib:

```sh
brew install openssl
```

and then use the following commands:

```sh
export CFLAGS="-I$(brew --prefix openssl)/include"
export LDFLAGS="-L$(brew --prefix openssl)/lib"
```