semvec/pypi-packages huggingface dataset:
pactus-grpc 1.11.1
Python client for interacting with the Pactus blockchain via gRPC
License: MIT
Requires Python: >=3.6
Keywords: pactus, blockchain, grpc

# pactus-grpc

Python client for interacting with the [Pactus](https://pactus.org) blockchain via gRPC.

## Installation

```bash
pip install pactus-grpc
```

## Usage

```python
import asyncio
import grpc
from pactus_grpc import blockchain_pb2_grpc, blockchain_pb2, network_pb2_grpc, network_pb2


async def main():
    channel = grpc.aio.insecure_channel("127.0.0.1:50051")
    blockchain_stub = blockchain_pb2_grpc.BlockchainStub(channel)
    blockchain_request = blockchain_pb2.GetBlockchainInfoRequest()
    blockchain_response = await blockchain_stub.GetBlockchainInfo(blockchain_request)
    print(blockchain_response)

    await channel.close()


if __name__ == "__main__":
    asyncio.run(main())
```
pactus-jsonrpc 1.11.1
Python client for interacting with the Pactus blockchain via JSON-RPC
License: MIT
Requires Python: >=3.6
Keywords: pactus, blockchain, json-rpc

# pactus-jsonrpc

Python client for interacting with the [Pactus](https://pactus.org) blockchain via JSON-RPC.

## Installation

```bash
pip install pactus-jsonrpc
```

## Usage

```python
import asyncio
from pactus_jsonrpc.client import PactusOpenRPCClient


async def main():
    client = PactusOpenRPCClient(
        headers={},
        client_url="http://127.0.0.1:8545"
    )

    blockchain_info = await client.pactus.blockchain.get_blockchain_info()
    print(blockchain_info)


if __name__ == "__main__":
    asyncio.run(main())
```
brkraw-sordino 0.2.4
BrkRaw converter hook for SORDINO-ZTE reconstruction
License: MIT
Requires Python: >=3.10

# brkraw-sordino

SORDINO reconstruction hook for BrkRaw.

## Install

```bash
pip install -e .
```

## Hook install

```bash
brkraw hook install brkraw-sordino
```

This installs the hook rule from the package manifest (`brkraw_hook.yaml`).

## Usage

Once installed, `brkraw` applies the hook automatically when a dataset matches the rule.

Basic conversion:

```bash
brkraw convert /path/to/study --scan-id 3 --reco-id 1
```

The hook behaves the same whether invoked via the CLI or via the Python API (the same hook entrypoint and arguments are used).

To explicitly pass hook options (or override defaults), use `--hook-arg` / `--hook-args-yaml` below.

## Hook options

Hook arguments can be passed via `brkraw convert` using `--hook-arg` with the
entrypoint name (`sordino`):

```bash
brkraw convert /path/to/study -s 3 -r 1 \
  --hook-arg sordino:ext_factors=1.2 \
  --hook-arg sordino:offset=2 \
  --hook-arg sordino:split_ch=false
```

### Pass hook options via YAML (`--hook-args-yaml`)

BrkRaw can also load hook arguments from YAML. Generate a template like this:

```bash
brkraw hook preset sordino -o hook_args.yaml
```

Edit the generated YAML, then pass it to `brkraw convert` (repeatable):

```bash
brkraw convert /path/to/study -s 3 -r 1 --hook-args-yaml hook_args.yaml
```

Example:

```yaml
hooks:
  sordino:
    ext_factors: 1.2
    offset: 2
    split_ch: false
    # as_complex: true  # optional, return (real, imag)
    # cache_dir: ~/.brkraw/cache/sordino  # optional (add manually if needed)
```

Notes:

- CLI `--hook-arg` values override YAML.
- YAML supports both `{hooks: {sordino: {...}}}` and `{sordino: {...}}` shapes.
- You can also set `BRKRAW_CONVERT_HOOK_ARGS_YAML` (comma-separated paths).

Supported keys:

- `ext_factors`: scalar or 3-item sequence (default: 1.0)
- `ignore_samples`: int (default: 1)
- `offset`: int (default: 0)
- `num_frames`: int or null (default: None)
- `correct_spoketiming`: bool (default: false)
- `correct_ramptime`: bool (default: true)
- `offreso_ch`: int or null (default: None)
- `offreso_freq`: float (default: 0.0)
- `mem_limit`: float (default: 0.5)
- `clear_cache`: bool (default: true)
- `split_ch`: bool (default: false, merge channels)
- `as_complex`: bool (default: false, return complex as (real, imag))
- `cache_dir`: string path (default: ~/.brkraw/cache/sordino)

## Notes

- The hook reconstructs data using an adjoint NUFFT and returns magnitude images by default.
- Converted NIfTI outputs apply slope/intercept scaling for uint16 storage.
- `ext_factors` scales the affine around the FOV center during conversion.
- Multi-channel data defaults to merged channels; set `split_ch=true` to keep channels split.
- When `split_ch=false`, magnitude uses RSS while complex uses coherent sum.
- Orientation is normalized when the first 3D axes are spatial; see `notebooks/orientation.ipynb`.
- Cache files live under `~/.brkraw/cache/sordino` (or `BRKRAW_CONFIG_HOME`) and are cleared when `clear_cache=true`.
easy-gateway 0.1.6
Simple to use and fast Gateway for python developers
License: MIT
Requires Python: >=3.8
Keywords: api, gateway, fastapi, proxy, microservices

# 🚀 Easy Gateway


<table>
	<tr align="center">
		<td>PyPI Counter</td>
		<td><a href="https://pepy.tech/projects/easy-gateway"><img src="https://static.pepy.tech/badge/easy-gateway" alt="PyPI Downloads"></a></td>
	</tr>
	<tr align="center">
		<td>Github Stars</td>
		<td><a href="https://github.com/MarkLevkovich/easy_gateway"><img src="https://img.shields.io/github/stars/MarkLevkovich/easy_gateway.svg?style=social&label=Stars"></a></td>
	</tr>
</table>


A simple to use and lightweight API Gateway for microservice architecture.

## ✨ Features

- ✅ Easy setup via YAML
- ✅ CLI interface
- ✅ Middleware system
- ✅ Routing with prefixes
- ✅ Rate limiting
- ✅ Logging
- ✅ Cache (Redis / InMemory)

## 📦 Install



```bash
pip install easy-gateway
```
DOCS:
[Visit](https://marklevkovich.github.io/easy-gateway-docs/)