semvec/pypi-packages huggingface dataset:
qxelarator 0.10.0
qxelarator Python Package

# QX simulator

[![CI](https://github.com/QuTech-Delft/qx-simulator/workflows/Test/badge.svg)](https://github.com/qutech-delft/qx-simulator/actions)
[![cpp-linter](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml/badge.svg)](https://github.com/cpp-linter/cpp-linter-action/actions/workflows/cpp-linter.yml)
[![PyPI](https://badgen.net/pypi/v/qxelarator)](https://pypi.org/project/qxelarator/)
![OS](https://img.shields.io/badge/os-linux%20%7C%20macos%20%7C%20windows-blue?style=flat-square)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

QX simulator is a simulator of cQASM programs, developed by QuTech.
At the moment, QX simulator only supports cQASM v3.0 programs
(see [cQASM-spec](https://qutech-delft.github.io/cQASM-spec/latest/) for the language specification).

It performs simulations of input programs received via file or string.
It produces one of the following results:

- A simulation result: a quantum state and, optionally, a list of measurements.
- An error. In case the input program was malformed or the simulation failed.

It can be used:

- As a standalone executable (built from C++), from the command line.
- As a module (called `qxelarator`), from Python projects (as a [Python package](https://pypi.org/project/libqasm/)).

## cQASM v3.0 specification coverage

QX simulator has the following shortcomings regarding to the current cQASM v3.0 specification:

- Power gate modifier can only be used with integer exponents, not with fractional (rational or irrational) ones.

## Getting started

Given a cQASM program `example.cq`.

```cQASM
version 3.0

qubit[2] q
bit[2] b

H q[0]
CNOT q[0], q[1]
b = measure q
```

We can simulate this circuit using QX simulator, either from the command line, or with a Python script.

### Command line

```shell
build/Release# ./qx-simulator -c 1000 example.cq
```

### Python

```python
import qxelarator

if __name__ == "__main__":
    result = qxelarator.execute_file('example.cq', iterations=1000)
    print(result)
```

## Documentation

The [QX simulator documentation](https://QuTech-Delft.github.io/qx-simulator/) is hosted through GitHub Pages.

## License

QX simulator is licensed under the Apache License, Version 2.0.
See [LICENSE](https://github.com/QuTech-Delft/libqasm/blob/master/LICENSE.md) for the full license text.

## Authors

Quantum Inspire: [support@quantum-inspire.com](mailto:"support@quantum-inspire.com")
vohid-telegram-bot 0.1.0
A simple python telegram library
Requires Python: >=3.9

# nt-telegram-bot

Oddiy va minimal telegram bot uchun Python + requests asosidagi kutubxona.

```python
from telegram.updater import Updater
from telegram.handlers import MessageHandler
from telegram.types import Update
from config import TOKEN
```

`nt-telegram-bot` sizga hech qanday qo‘shimcha murakkabliksiz, tozalangan interfeys orqali Telegram bot yaratish imkonini beradi.

## ⚙️ O‘rnatish

```bash
pip install nt-telegram-bot
```

## 🚀 Boshlang‘ich foydalanish

Quyidagi kod namunasi orqali botni ishga tushiring:

```python
from telegram.updater import Updater
from telegram.handlers import MessageHandler
from telegram.types import Update
from config import TOKEN


def handle_message(update: Update):
    message = update.message

    if message.text:
        if message.text == '/start':
            message.reply_text(
                TOKEN,
                "assalomu alaykum. ECHO BOT"
            )
        else:
            message.reply_text(TOKEN, message.text)
    elif message.contact:
        pass
    elif message.photo:
        pass
    elif message.sickter:
        pass


updater = Updater(TOKEN)
dispatcher = updater.dispatcher

dispatcher.add_handler(MessageHandler(handle_message))
updater.start_polling()
```

## 📌 Xususiyatlar

* `Updater` yordamida soddalashtirilgan polling
* `MessageHandler` orqali barcha turdagi xabarlarni tutib olish
* `Update` obyektiga qulay kirish

## 📣 Hissa qo‘shish

Pull request’lar mamnuniyat bilan qabul qilinadi.
Agar xatolik topsangiz — Issue qoldiring.

## 📄 Litsenziya

MIT
lexio 0.1.3
Python type definitions for the lexio frontend library. Provides Pydantic models for type-safe interaction with the lexio UI components, including source references.
Requires Python: >=3.9
Keywords: chatbot, frontend, lexio, pydantic, rag, rag-ui, types, typescript, ui

# Lexio

Python package containing API types for the lexio frontend library.

## Installation

```bash
pip install lexio
```

## Usage

```python
from lexio.types import SourceReference

# Use the types in your code
source = SourceReference(type='pdf', sourceReference='example.pdf')

print(source)
# Output: type='pdf' sourceReference='example.pdf' sourceName=None relevanceScore=None metadata=None highlights=None
```

## License

GPL-3.0 license

## Development

> **Note:** This package is automatically generated from the [lexio](https://github.com/Renumics/lexio) frontend library. Do not modify the files in this package directly.
anydbx 0.1.3
Agnostic SQLAlchemy helper with engine registry, safe transactions, and pandas I/O.
Requires Python: >=3.9
Keywords: database, duckdb, mssql, mysql, pandas, sqlalchemy

# anydbx

Agnostic SQLAlchemy helper with engine registry, safe transactions, and pandas I/O.

```python
from pathlib import Path
from anydbx import load_config, fetch_df, write_df, execute

cfg = load_config(Path("credentials.cfg"), "wms")  # INI section

# DDL / DML
execute("CREATE TABLE t (id INT)", name="wms", cfg=cfg)

# pandas -> SQL
import pandas as pd
df = pd.DataFrame({"id": [1,2,3]})
write_df(df, "t", name="wms", cfg=cfg)

# SQL -> pandas
rows = fetch_df("SELECT * FROM t", name="wms", cfg=cfg)
pulp-webhook 0.1.0
Pulp plugin to trigger webhooks on package uploads
Requires Python: >=3.9

# Pulp RPM Webhook Plugin
This plugin extends Pulp's functionality by adding webhook notifications when artifacts are published or uploaded.

## Features
- Triggers webhooks on artifact publications for following types:
 - RPM
 - File
- Provides detailed artifact information in webhook payloads
- Supports authentication via secret tokens
- Configurable webhook endpoint URL

## Installation
```bash
pip install pulp-webhook
```

## Configuration
Add the following to your Pulp settings:

```python
# Webhook endpoint URL
WEBHOOK_URL = "https://your-webhook-endpoint.com"

# Optional secret token for authentication (adds header X-PulpWebhook-Token)
WEBHOOK_SECRET = "your-secret-token"
```

## Usage

### RPM
1. Create an RPM repository:
```bash
pulp rpm repository create --name my-rpm-repo
```
2. Create a distribution:
```bash
pulp rpm distribution create --name my-dist --base-path my-dist --repository my-rpm-repo
```
3. Upload or sync RPM packages to the repository. The plugin will automatically trigger webhooks when packages are published.

### File
1. Create a file repository:
```bash
pulp file repository create --name my-file-repo --autopublish
```
2. Create a distribution:
```bash
pulp file distribution create --name my-dist --base-path my-dist --repository my-file-repo
```
3. Upload or sync files to the repository. The plugin will automatically trigger webhooks when packages are published.

## Webhook Payload Structure
The webhook payload includes:
- Event type ("rpm.published")
- Repository name
- Publication details
- List of added packages with:
  - Package metadata (name, version, release, etc.)
  - Distribution URLs
  - Upstream URLs (if synced from a remote)

## Contributing
Contributions are welcome! Please follow these steps:

1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Submit a pull request

## License
This project is licensed under the GNU General Public License v2.0 - see the [LICENSE](LICENSE) file for details.

## Links
* [https://github.com/cz-guardian/pulp_webhook](https://github.com/cz-guardian/pulp_webhook)
* [https://pypi.org/project/pulp-webhook/](https://pypi.org/project/pulp-webhook/)
quick-vantage 0.0.2
Linux port of Lenovo Vantage
Requires Python: >=3.7

 Quick-Vantage-Python-flavour
******************************
Usage - Run the Quick-Vantage.py file with elevated privileges
eg : sudo python3 Quick-Vantage.py

P.S : Add this to your ".zshrc" or ".bash_aliases" file for convenience - alias vantage="sudo python3 quick-vantage.py"