semvec/pypi-packages huggingface dataset:
filecryptor-hp 1.0.0
Encrypt/decrypt files using key-based hexadecimal conversion
Requires Python: >=3.6

# FileCryptor

A Python library for encrypting files to hexadecimal format and decrypting them back using a secret key.

## Features

- Encrypt any file to hexadecimal format
- Decrypt hex files back to original format
- Uses SHA-256 key hashing for security
- Simple XOR encryption with key cycling
- Works with any file type

## Installation

No installation required. Just include the `src/file_cryptor` folder in your project.

## Usage

### Basic Usage

```python
from file_cryptor import encrypt_file, decrypt_file

# Encrypt a file
encrypt_file("document.txt", "encrypted.hex", "my_secret_key")

# Decrypt the file
decrypt_file("encrypted.hex", "restored.txt", "my_secret_key")
ebpfcat 1.0.0
An EtherCAT master written in Python using EBPF and XDP

************************************************
EPBFCat -- an EtherCAT master using EBPF and XDP
************************************************

EBPFCat is an EtherCAT master written entirely in Python, that uses EPBF and
XDP to achieve real-time response times. As a corollary, it contains a
Python based EBPF code generator.

The documentation lives on `readthedocs <https://ebpfcat.readthedocs.io/>`_.
kerliix-oauth 1.0.2
Kerliix OAuth 2.0 SDK for Python
Requires Python: >=3.9

# Kerliix OAuth Python SDK

> Official Kerliix OAuth 2.0 SDK for Python

[![PyPI version](https://img.shields.io/pypi/v/kerliix-oauth.svg)](https://pypi.org/project/kerliix-oauth/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)

---

## Overview

**Kerliix OAuth Python SDK** provides a simple and secure way to integrate Kerliix authentication into your Python applications. It handles the full OAuth 2.0 flow including:

* Generating authorization URLs
* Exchanging authorization codes for tokens
* Token caching and auto-refresh
* Fetching user profile data
* Revoking tokens

---

## Installation

```bash
pip install kerliix-oauth
```

---

## Quick Start

```python
from kerliix_oauth import KerliixOAuth

client = KerliixOAuth(
    client_id="YOUR_CLIENT_ID",
    client_secret="YOUR_CLIENT_SECRET",
    redirect_uri="http://localhost:5175/callback",
    base_url="http://localhost:4000"
)

# Step 1: Generate auth URL
print("Login at:", client.get_auth_url())

# Step 2: Exchange code for tokens
# code = input("Enter code from redirect URL: ")
# tokens = client.exchange_code_for_token(code)
# print("Tokens:", tokens)

# Step 3: Fetch user info
# user = client.get_user_info(tokens.access_token)
# print("User:", user)
```

---

## Configuration Options

| Option          | Required | Description                                        |
| --------------- | -------- | -------------------------------------------------- |
| `client_id`     | ✅        | Your app’s client ID from Kerliix developer portal |
| `client_secret` | ⚙️       | Required for server-side (authorization code flow) |
| `redirect_uri`  | ✅        | The callback URI registered in your app            |
| `base_url`      | ✅        | Your Kerliix OAuth server URL                      |

---

## OAuth Flow

1. **User clicks login** → Redirect to Kerliix via `get_auth_url()`
2. **Kerliix authenticates** → Redirects back with `?code=XYZ`
3. **Your app exchanges code** → `exchange_code_for_token(code)`
4. **Use token** → Access user data via `get_user_info()`
5. **Optional** → Automatically refresh expired tokens using `refresh_token_if_needed()`

---

## API Reference

### `KerliixOAuth` Class

```python
client = KerliixOAuth(client_id, client_secret, redirect_uri, base_url)
```

### `get_auth_url(scopes=None, state="")`

Generates an OAuth authorization URL.

### `exchange_code_for_token(code)`

Exchanges an authorization code for access and refresh tokens.

### `refresh_token_if_needed()`

Refreshes the access token if it is expired or near expiry.

### `get_user_info(access_token=None)`

Fetches user profile data. Uses cached token if access_token is not provided.

### `revoke_token(token)`

Revokes an access or refresh token and clears cache.

---

## Token Caching

* Tokens are cached in memory with automatic refresh 30 seconds before expiry.
* Works seamlessly for long-running Python applications.

---

## License

MIT © Kerliix Corporation
calp 0.2.3
Calamars et Pythons, le jeu de la PyConFR 2025
Requires Python: >=3.10

# calp

Calamars et Pythons, le jeu de la PyConFR 2025

Origine du nom **calp** : **CAL**amars et **P**ythons

Apprenez à le coder : [article de blog](https://www.lecalamar.fr/posts/2025-11-02-pyconfr-calamars-et-pythons/)

![screenshot](./screenshot.png)

On est un calamar au centre de l'écran. Des icônes arrivent vers nous. Il faut attrapper les icônes Python, et repousser les autres.

- au clavier
  - flèches gauche/droite : tourner le viseur
  - flèche bas : attraper
  - flèche haut : repousser
- à la souris
  - viser au pointeur
  - clic gauche pour attraper
  - clic droit pour repousser

On doit attraper le maximum d'icônes Python, en le minimum de temps. Dès qu'une icône touche le calamar, elle est attrapée. Si on l'attrape volontairement, cela fait gagner du temps. Une nouvelle icône apparaît dès qu'une icône a été attrapée ou repoussée. Une icône Python apporte des points, une icône non Python fait perdre des points.
pangea-anthropic 0.2.0
A wrapper around the Anthropic Python library
Requires Python: >=3.10

# Pangea + Anthropic Python API library

A wrapper around the Anthropic Python library that wraps the Messages API with
Pangea AI Guard. Supports Python v3.10 and greater.

## Installation

```bash
pip install -U pangea-anthropic
```

## Usage

```python
import os
from pangea_anthropic import PangeaAnthropic

client = PangeaAnthropic(
    pangea_api_key=os.environ.get("PANGEA_API_KEY"),
    pangea_input_recipe="pangea_prompt_guard",
    pangea_output_recipe="pangea_llm_response_guard",
    api_key=os.environ.get("ANTHROPIC_API_KEY"),
)

message = client.messages.create(
    max_tokens=1024,
    messages=[
        {
            "role": "user",
            "content": "Hello, Claude",
        }
    ],
    model="claude-sonnet-4-20250514",
)
print(message.content)
```
quiz-solver-tool 1.0.0
Automated quiz solver using web scraping and search
Requires Python: >=3.7
Keywords: quiz, solver, web scraping, education, automation, mcq, questions

# Quiz Solver 🎯

A Python library that automatically extracts questions from educational websites and finds answers using web search.

## Features

- 🔍 **Web Scraping**: Extracts questions and options from quiz pages
- 🤖 **Auto-Search**: Automatically searches for answers online
- 📊 **Multiple Formats**: Supports multiple choice and open-ended questions
- 💾 **Local Database**: Caches answers for faster retrieval
- ⚡ **Easy to Use**: Simple API and command-line interface

## Installation

```bash
pip install quiz-solver
quiz-solver-jammad 1.0.0
Automated quiz solver using web scraping and search
Requires Python: >=3.7
Keywords: quiz, solver, web scraping, education, automation, mcq, questions

# Quiz Solver 🎯

A Python library that automatically extracts questions from educational websites and finds answers using web search.

## Features

- 🔍 **Web Scraping**: Extracts questions and options from quiz pages
- 🤖 **Auto-Search**: Automatically searches for answers online
- 📊 **Multiple Formats**: Supports multiple choice and open-ended questions
- 💾 **Local Database**: Caches answers for faster retrieval
- ⚡ **Easy to Use**: Simple API and command-line interface

## Installation

```bash
pip install quiz-solver
quiz-solver 1.0.0
Automated quiz solver using web scraping and search
Requires Python: >=3.7
Keywords: quiz, solver, web scraping, education, automation, mcq, questions

# Quiz Solver 🎯

A Python library that automatically extracts questions from educational websites and finds answers using web search.

## Features

- 🔍 **Web Scraping**: Extracts questions and options from quiz pages
- 🤖 **Auto-Search**: Automatically searches for answers online
- 📊 **Multiple Formats**: Supports multiple choice and open-ended questions
- 💾 **Local Database**: Caches answers for faster retrieval
- ⚡ **Easy to Use**: Simple API and command-line interface

## Installation

```bash
pip install quiz-solver