semvec/pypi-packages huggingface dataset:
test-ksy 2.8.5
ksycopg2 - KingbaseES 数据库 Python 驱动
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7

ksycopg2 是 KingbaseES 数据库的 Python 编程语言的客户端接口驱动。
(电科金仓数据库管理系统 KingbaseES(KES) 是一款面向全行业、全客户关键应用的企业级大型通用数据库管理系统，适用于联机事务
处理、查询密集型数据仓库、要求苛刻的互联网应用等场景，提供全部应用开发及系统管理功能，提供性能增强特性，可支持主备集群、读写
分离集群、多活共享存储集群等全集群架构，具有高性能、高安全、高可用、易使用、易维护的特点，数据库支持国内外大部分的主流CPU、操作
系统与云平台部署。)

ksycop2 主要特点是完全实现了 Python DB 2.0 规范，并实现了线程安全(多个线程可共用一个连接)。

ksycopg2 主要基于 libkci 加以封装实现而成，具有客户端及服务端游标、异步通信和通知及COPY支持。
且许多 Python 类型可以开箱即用，并适配 Kingbase 数据库的大部分类型，也支持自定义类型扩展。


Documentation
-------------

ksycopg2 使用文档可参考 `Kingbase数据库产品手册的Python章节`__。

.. __: https://help.kingbase.com.cn/v9/index.html


Installation
------------

当前只提供了 ksycopg2 的二进制包，区分平台架构和 Python 版本。

用户可通过 ``pip`` 从 Pypi_:: 直接安装使用ksycopg2驱动，

    $ pip install ksycopg2

.. _PyPI: https://pypi.org/project/ksycopg2/
fermata-edgedet-cli 0.1
CLI tool for authenticating and calling the Fermata API

# Fermata CLI

Fermata CLI is a command-line tool that allows users to interact with the Fermata API. It includes functionality to authenticate via AWS Cognito, upload data to AWS S3, and call the Fermata API to analyze image data. 

## Features

- **Login**: Authenticate users via AWS Cognito and store the access token for future requests.
- **Analyze**: Send requests to the Fermata API to analyze images stored in an S3 bucket.

## Installation

### Prerequisites

- Python 3.8 or later
- `pip` package manager

### Install the CLI locally

```bash
pip install .
lyra-v2-action-signing 0.0.7
Python package to sign on-chain self-custodial requests for orders, transfers, deposits, withdrawals and RFQs.
Requires Python: >=3.9

# v2-action-signing-python
Python package to sign the following on-chain self-custodial requests:

1. order
2. RFQ quote
3. RFQ execution
4. transfer positions


Although the below actions are supported by the SDK, we recommend you use the UX developer portal (https://docs.derive.xyz/docs/onboard-via-interface):

4. create subaccount
5. deposit
6. withdrawal
7. transfer collateral



## Usage

1. Install package:
`pip install lyra_v2_action_signing`

2. Sign an order
```python
from web3 import Web3
from lyra_v2_action_signing import SignedAction, TradeModuleData, utils

session_key_wallet = Web3().eth.account.from_key("0x2ae8be44db8a590d20bffbe3b6872df9b569147d3bf6801a35a28281a4816bbd")

action = SignedAction(
    subaccount_id=30769,
    owner=SMART_CONTRACT_WALLET_ADDRESS, # from Protocol Constants table in docs.lyra.finance
    signer=session_key_wallet.address,
    signature_expiry_sec=utils.MAX_INT_32,
    nonce=utils.get_action_nonce(),
    module_address=TRADE_MODULE_ADDRESS, # from Protocol Constants table in docs.lyra.finance
    module_data=TradeModuleData(
        asset=instrument_ticker["base_asset_address"],
        sub_id=int(instrument_ticker["base_asset_sub_id"]),
        limit_price=Decimal("100"),
        amount=Decimal("1"),
        max_fee=Decimal("1000"),
        recipient_id=30769,
        is_bid=True,
    ),
    DOMAIN_SEPARATOR=DOMAIN_SEPARATOR, # from Protocol Constants table in docs.derive.xyz
    ACTION_TYPEHASH=ACTION_TYPEHASH, # from Protocol Constants table in docs.derive.xyz
)

action.sign(session_key_wallet.key)
```

For full signing examples see `examples/` in https://github.com/derivexyz/v2-action-signing-python/tree/master/examples.

## Acknowledgements

Thank you 8baller for building a full Python client for the v2 API. Much of the signing logic in the repo was used to inform this package: https://github.com/8ball030/lyra_client

## Developers

1. Create venv and run `pip install -e .`, this reflects changes in package immediately in venv
2. Install dev related packages with `pip install -r requirements-dev.txt`