semvec/pypi-packages huggingface dataset:
interactions-files 1.1.5
An extension library for interactions.py allowing files in interaction responses.
License: MIT

# interactions-files

[![PyPI - Downloads](https://img.shields.io/pypi/dm/interactions-files?color=blue&style=for-the-badge)](https://pypi.org/project/interactions-files/)
[![Version](https://img.shields.io/pypi/v/interactions-files?color=blue&style=for-the-badge)](https://pypi.org/project/interactions-files/)
[![Python Requirement](https://img.shields.io/pypi/pyversions/interactions-files?color=blue&style=for-the-badge)](https://pypi.org/project/interactions-files/)

An extension library for interactions.py allowing files in interaction responses.

# Table of Contents

- [Installation](#installation)
- [Information](#information)
- [Quickstart](#quickstart)
- [Documentation](#documentation)

# Installation

```bash
pip install -U interactions-files
```
# Information

This is `interactions-files`, an extension library for interactions.py allowing files in interaction responses.

By default, interactions.py does not allow you to send files in `CommandContext` and `ComponentContext`. This extension exists to solve that problem by adding `files` field to the `.send()` and `.edit()`.

# Quickstart

You can load `interactions-files` like every other Extension by using:
```py
client.load('interactions.ext.files')
```

After that, you can start sending files in Context. For example of doing this, go to [this](./examples).

Alternatively, you can use the functions provided by the Extension. Take a look at an example below:
```py
import io
import interactions
from interactions.ext.files import command_send

client = interactions.Client(token="Pfft!")

@client.command(
    name="file",
    description="Send a file.",
)
async def _test(ctx: interactions.CommandContext):
    txt = io.StringIO("This is a text file.")
    file = interactions.File(filename="file.txt", fp=txt)
    await command_send(ctx, "Below is a file.", files=file)

client.start()
```

For more information on the fuctions, check out the documentation.

# Documentation

[![API Reference](https://img.shields.io/badge/API-Reference-blue.svg?color=blue&style=for-the-badge)](https://github.com/interactions-py/files/wiki/API-Reference)
zage 0.3.2
Python bindings for the Zage API
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: zage api payments

# Official Zage Bindings for Python

A Python library for Zage's API.

## Installation

You can install this package using pip:

```sh
python -m pip install zage
```

## Usage

This library must be initialized by specifying your credentials for the desired environment (sandbox or prod).

This is as simple as setting `zage.public_key` and `zage.private_key` to the requisite values before making an API call:

```python
import zage

zage.public_key = "test_..."
zage.secret_key = "test_..."

# create a payment token
payment_token = zage.Payments.create_token(
    amount=1000, # in cents
    webhook="https://zage.app/on_success",
    metadata={},
)

print(payment_token)

```
quspin-vqa 0.0.4
Variatioanl Quantum Algorithms
License: MIT
Keywords: quantum computing,variational quantum algorithms,quantum machine learning,Reinforcement Learning,Quspin

# VQA

General purpose variational quantum algorithms


# Introduction 

VQA tries to unifies the variational quantum algorithm algother and provide a scalarable solution to develop VQA. 

## Install

install the latest version of the package.
``` bash
$ pip install quspin_vqa
```

or install locally 

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

Before installing this package, make sure `quspin` is installed

checkout the detailed installation [here](https://github.com/weinbe58/QuSpin#installation)
```bash
conda install -c weinbe58 quspin
```

## Usage


```python
import quspin
import vqa
```

## run the code / examples

```bash
$ cd examples/QAOA
$ python run.py
```