semvec/pypi-packages huggingface dataset:
ysql 1.5.0
a more efficient and concise SQLite framework.

<h1 align='center'> ysql框架 </h1>

更高效更简洁的sqlite数据库框架，借鉴了安卓Room框架的设计，将框架划分为Entity数据类、Dao数据访问类、Database数据库类三个层次。

框架直接建立在sqlite官方库的基础之上，无其他依赖，性能损失很小，隐藏（自动实现）了许多烦人的中间细节，只需要关心sql语句与python数据应用场景。

- 第三方库依赖：无
- 项目地址：[ysql (gitee)](https://gitee.com/darlingxyz/ysql)
- 更新日志：[ChangeLog.md](https://gitee.com/darlingxyz
pytorh-cfu 0.0.2
A Simple Pytorch version for CFU

# pytorch_open_registration_example
Example of using pytorch's open device registration API. It covers:

(1) Writing custom kernels in C++, and registering them to the PyTorch dispatcher

(2) Providing a user API for your custom device, so users can invoke the custom code using `torch.foo(..., device="custom_device")`

(3) Registering a custom memory allocator

(4) Registering a custom device guard

This repo should be run using the latest pytorch nightly. If it fails on the latest nightly, please post an issue and I'll take a look!

``` bash
python setup.py sdist bdist_wheel
twine upload dist/*
```
silvergram 0.0.4
A convenient shell for the Aiogram library

# Silvergram

Silvergram is a powerful Python library designed to enhance the functionality of the popular Telegram bot framework, [Aiogram](https://github.com/aiogram/aiogram). It serves as a comprehensive wrapper, providing additional features and simplifying the development process for creating sophisticated Telegram bots

## Features

- **Enhanced Functionality**: Silvergram extends the capabilities of Aiogram, offering additional features such as advanced message sending, phrases and keyboards management, and more
- **Simplified Development**: With Silvergram, developers can write cleaner and more concise code
- **Built-in Utilities**: The library includes various built-in utilities for common bot tasks, such as sending messages, managing user interactions, handling callbacks, and working with inline queries
- **Flexibility**: Silvergram is designed to be highly flexible, allowing developers to easily integrate it into existing Aiogram projects or use it as the foundation for new bot developments

## Installation

You can install Silvergram via pip:

```bash
pip install silvergram
```

## Quick Start

Here's a simple [quick start example](https://github.com/SilverBullet-Technologies/silvergram/blob/main/examples/quick_start.py) of how to use Silvergram to create a basic bot:

```python
from silvergram import Bot
from silvergram.types import Message

TOKEN = "YOUR_TOKEN"
PHRASES = {
    "start": "Hello! I am a simple SilverGram bot!"
}

bot = Bot(TOKEN, phrases=PHRASES)


@bot.on_message()
async def on_message_start(message: Message):
    chat_id = message.chat.id
    await bot.send_current_message(chat_id)


if __name__ == "__main__":
    bot.run()
```

For more detailed usage instructions and examples, please see [docs](https://github.com/SilverBullet-Technologies/silvergram/blob/main/docs) and [examples](https://github.com/SilverBullet-Technologies/silvergram/blob/main/examples) folders

## Adding Configuration File

You can create a [config.py](https://github.com/SilverBullet-Technologies/silvergram/blob/main/examples/config.py) file using the following command:

```bash
python -m silvergram addconfig [-t, --type TYPE] [-p, --path PATH]
```

**Arguments:**

`-t, --type TYPE [en, ru, empty]`

Specify the type of generating. Possible values: 'en' for English comments, 'ru' for Russian comments, 'empty' for adding only the necessary functionality. Default none, which means creating a regular file without comments

`-p, --path PATH`

Specify the path where the configuration file will be saved. If not provided, the file will be saved in the current working directory

## Contributing

Contributions to Silvergram are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub

## License

This project is licensed under the MIT License - see the LICENSE file for details
quick-eks-cross-az 0.9.3
Quick EKS corss-AZ log
Requires Python: >=3.6

# Quick EKS cross az 
This script helps estimating cross az data transfer costs in EKS clusters.

The script is based on an [existing AWS open solution](https://aws.amazon.com/blogs/containers/getting-visibility-into-your-amazon-eks-cross-az-pod-to-pod-network-bytes/).
It simplifies operations by using your current AWS role directly from your shell session, and without using any iam:* permission...


## Features

* **Runs With Your Current AWS Credentials:** Uses the AWS credentials and settings you already have configured in your shell session. No need to configure special credentials just for the demo.
* **Works Without Administrator Privileges:** No need for IAM modification permissions - it's designed to work seamlessly with PowerUser access.  
* **Reuses Your EKS Authentication:** Uses the active Kubernetes context in your shell to retrieve pod and node metadata.
* **Simple Exectuion:** Offers one-line execution with pipx or docker for all orchestration including cleanup.


## Technical Details
Similar to the original solution, this project utilizes CloudFormation to provision flow logs and S3 buckets. However, it orchestrates everything using a script:

* Flow logs are temporarily enabled for the EKS VPC, and necessary S3 buckets are created via CloudFormation.
* Pod metadata, including the `app` label and node IP, is gathered.
* After a configurable timeframe, flow logs are aggregated within Athena.
* The results are downloaded as a CSV file.
* Finally, the script cleans up any infrastructure changes made.


## Getting Started


### Prerequisites
* Python version 3.6 or later
* Kubernetes Cluster API access in current shell
* An active AWS role in your current shell that has permissions to:
    * Create flow logs
    * Create S3 buckets
    * Run Athena queries

#### Using Pipx 

Easiest way to run the script is with [pipx](https://github.com/pypa/pipx). Pipx lets you run Python packages quickly in isolation:

```bash
python3 -m pip install --user pipx # install pipx if required
python3 -m pipx run quick-eks-cross-az --help
```

#### Using Docker
```bash
docker run  -v ~/.kube/config:/kube/config -e KUBECONFIG=/kube/config -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN  asafamr123/quick-eks-cross-az --help
```



## CLI

```
usage: cli.py [-h] [--minutes N] [--quiet | --no-quiet] [--verbose | --no-verbose]
              [--cleanup | --no-cleanup] [--output OUTPUT] [--stack-name STACK_NAME]

Quick EKS Cross AZ Log
--------
This script measures EKS cross AZ traffic using flow logs and data from active Kubernetes context.
Full docs are here: https://github.com/asafamr/quick-eks-cross-az 

options:
  -h, --help            show this help message and exit
  --minutes N           minutes of flow logs accumulation
  --quiet, --no-quiet   run without manual confirmation
  --verbose, --no-verbose
                        verbose log
  --cleanup, --no-cleanup
                        cleanup a previous interrupted run
  --output OUTPUT       output file name
  --stack-name STACK_NAME
                        override CloudFormation stack name
```
claviz-python-api 0.0.8
Python API wrapper for Claviz.
Requires Python: >=3.7

# claviz-python-api

Python API wrapper for Claviz.

## Installation

```
pip3 install claviz-python-api
```

## Example

```py
from claviz_python_api import ClavizClient, get_claviz_token

url = 'https://forms.claviz'
token = get_claviz_token(url, 'admin@claviz.com', 'Passw0rd')
claviz_client = ClavizClient(url, token)
print(claviz_client.get_current_user())
```
solidgate-sdk 0.3.1
Python API SDK for SolidGate payment gateway

[![PyPI version](https://badge.fury.io/py/solidgate-sdk.svg)](https://badge.fury.io/py/solidgate-sdk)

# SolidGate API
This library provides basic API options of SolidGate payment gateway.

## Requirements

- Python 3.7
- Packages: requests
- SolidGate account. If you don’t have this you can request it by contacting sales@solidgate.com

## Installation

Use pip command: ```pip3 install solidgate-card-sdk```

## Usage

Create a class instance of the 'ApiClient' class.
```
from solidgate import ApiClient

client = ApiClient(public_key, secret_key)
```
- public_key - unique merchant identification;
- secret_key - secret code for request signature. It's provided at the moment of merchant registration.

## Documentation
* https://docs.solidgate.com

## Support
If you have any problems, questions or suggestions send your inquiry to info@solidgate.com.