semvec/pypi-packages huggingface dataset:
django-ydb-backend 0.0.1b1
Django backend for YDB
Requires Python: <4,>=3.8

django-ydb-backend
===

Django YDB Backend
Overview
This is a Django database backend for [YDB](https://ydb.tech/), a distributed SQL database system.
The backend allows Django applications to use YDB as their primary database while maintaining compatibility with Django's ORM layer.

## Key Features
- Full Django ORM support for basic CRUD operations
- Compatible with Django migrations system (with YDB-specific adaptations)
- Supports most common field types and query operations
- Implements necessary Django database backend interfaces

## Underlying Technology

### DBAPI Layer.
This backend uses the official [YDB-DBAPI](https://github.com/ydb-platform/ydb-python-dbapi) interface. The SDK provides:
- Connection pooling
- Session management
- Native support for YDB's distributed transactions
- Efficient data type handling

### Supported YDB Features
**Table Operations**:
- CREATE/DROP/ALTER TABLE
- Secondary indexes (with some limitations)

**Data Types**:
- All primitive YDB types (Int32, Utf8, Bool, etc.)
- Optional types (NULL support)
- JSON support via JSONField

**Query Capabilities**:
- SELECT with WHERE, ORDER BY, LIMIT
- Basic aggregations (COUNT, SUM, etc.)
- INSERT/UPDATE/DELETE/UPSERT operations

**Requirements:**
- [Python](https://www.python.org/) >= 3.8
- [Django](https://docs.djangoproject.com/) >= 3.2.0
- [YDB-DBAPI](https://github.com/ydb-platform/ydb-python-dbapi) >= 0.1.8

Get started
---

```shell
$ pip install django-ydb-backend
```

Configurations
---

To set up your Django project to use a YDB backend, you only need to modify a few of Django's built-in configuration settings. This project does not require any additional custom configuration options.
(Summary: Just adjust standard Django settings for YDB—no extra YDB-specific configurations are needed.)

### DATABASES

- NAME (required): traditional Django databases use this as the database name.
- ENGINE (required): required, set to `ydb_backend.backend`.
- HOST (required): the hostname or IP address of the YDB server (e.g., "localhost").
- PORT (required): The gRPC port YDB is running on (default is 2136).
- DATABASE (required): The full path to your YDB database (e.g., "/local" for local testing or "/my_production_db").

 ```python
DATABASES = {
    "default": {
        "NAME": "ydb_db",
        "ENGINE": "ydb_backend.backend",
        "HOST": "localhost",
        "PORT": "2136",
        "DATABASE": "/local",
    }
}
 ```

Test
---

To run test for this project:

```shell
$ git clone https://github.com/ydb-platform/django-ydb-backend.git
$ cd django-ydb-backend
# docker and docker-compose are required.
$ docker-compose up
$ python tests/runtests.py
```
just-kit 0.2.3
江苏科技大学信息门户工具包

# just-kit

江苏科技大学信息门户工具包，用于获取和操作学校信息门户上的各种数据。

## 功能特性

- 宿舍电量查询
- 校园卡余额查询
- 校车信息查询
- 更多功能开发中...

## 安装

```bash
pip install just-kit
```

## 使用方法

### 登入
默认使用信息门户作为登入服务
```python
import os
from just_kit.auth import Authenticator

import dotenv
dotenv.load_dotenv()

auther = Authenticator(vpn=True,auto_login=False,debug=True)

auther.login(
    account=os.getenv("USER"),
    password=os.getenv("PASSWORD"))
```

### 过期与重新登入

```python
auther.expire()
if not auther.check():
    print("重新登入：",auther.relogin()==0)
else:
    print("已登录")   
```

### 服务:Epay
epay服务用于获取宿舍电费、用户校园卡余额和浴室专款
```python
from just_kit.services import EpayServiceProvider
epay = EpayServiceProvider(auther)
epay.login()
epay.query_electric_bill()
epay.query_account_bill()
```


### 服务:HealthCheck
宿舍卫生检查分数查询服务
```python
from just_kit.services import HealthCheckService
service = HealthCheckService(auther)
service.login()
# 获取最近宿舍卫生检查分数
service.get_health_check_data()
# 获取 [HealthCheckData]
# 包含socre和date属性
```

## 开发说明

本项目使用Python 3.11开发，主要依赖：
- requests：用于发送HTTP请求
- beautifulsoup4：用于解析HTML

## 许可证

本项目采用MIT许可证。
classmate 0.3.0
一个基于 Python 的助学web系统
Requires Python: >=3.8

# Classmate - 教室管理系统

一个基于 Python 的现代化教室管理系统，支持实时屏幕广播、文件共享和作业管理功能。专为教师和学生设计，提供流畅的课堂互动体验。
## 安装和使用

1. 安装：pip install classmate
2. 使用：classmate.run()

## 主要功能

### 教师端
- 实时屏幕广播
  - 支持屏幕共享和摄像头直播
  - 自动保存广播记录
  - 可重命名和删除历史广播
- 文件管理
  - 共享文件上传和分发
  - 作业发布和收集
  - 文件中转站功能
- 权限控制
  - 密码保护的教师模式
  - 文件访问权限管理

### 学生端
- 实时观看教师广播
- 查看历史广播记录
- 下载共享文件
- 提交作业

## 技术特点

- 基于 WebSocket 的实时通信
- 响应式 Web 界面
- 跨平台支持（Windows、Linux、macOS）
- 低延迟屏幕广播
- 安全的文件传输

## 系统要求

- Python 3.7+
- 现代浏览器（Chrome、Firefox、Edge 等）
- 摄像头（可选，用于视频直播）
arisdev 0.1.2
A simple web framework for Python
Requires Python: >=3.6

# ArisDev Framework Documentation

## Overview
ArisDev is a modern, lightweight Python web framework designed for building scalable web applications. It provides a robust set of features while maintaining simplicity and flexibility.

## Features
- 🚀 Fast and lightweight
- 🔒 Built-in authentication and authorization
- 📦 Database integration with SQLAlchemy
- 🔄 WebSocket support
- 📝 Template engine with Jinja2
- 🔄 Task queue system
- 🔒 Session management
- 📝 Form validation
- 🔒 CSRF protection
- 🔄 Middleware support

## Installation
```bash
pip install arisdev
```

## Quick Start
```python
from arisdev import ArisDev, Response

app = ArisDev()

@app.route("/")
def hello(request):
    return Response("Hello, World!")

if __name__ == "__main__":
    app.run(host="0.0.0.0", port=8000)
```

## Core Components

### Routing
```python
@app.route("/users/<int:user_id>")
def get_user(request, user_id):
    return Response(f"User ID: {user_id}")
```

### Templates
```python
@app.route("/")
def home(request):
    return render_template("home.html", title="Welcome")
```

### Database
```python
from arisdev.database import Model, Column, Integer, String

class User(Model):
    __tablename__ = "users"
    
    id = Column(Integer, primary_key=True)
    username = Column(String(50), unique=True)
```

### Authentication
```python
from arisdev.auth import login_required

@app.route("/protected")
@login_required
def protected_route(request):
    return Response("Protected Content")
```

### WebSocket
```python
@app.websocket("/ws")
async def websocket_handler(websocket):
    await websocket.send("Connected!")
```

## Advanced Features

### Middleware
```python
from arisdev.middleware import Middleware

class CustomMiddleware(Middleware):
    def process_request(self, request):
        # Process request
        pass

    def process_response(self, request, response):
        # Process response
        pass
```

### Task Queue
```python
from arisdev.tasks import task

@task
def process_data(data):
    # Process data asynchronously
    pass
```

### Form Validation
```python
from arisdev.forms import Form, StringField, validators

class LoginForm(Form):
    username = StringField("Username", [validators.Required()])
    password = StringField("Password", [validators.Required()])
```

## Configuration
```python
app.config.update(
    SECRET_KEY="your-secret-key",
    DATABASE_URL="sqlite:///app.db",
    REDIS_URL="redis://localhost:6379/0"
)
```

## Best Practices
1. Use environment variables for sensitive configuration
2. Implement proper error handling
3. Use middleware for cross-cutting concerns
4. Follow RESTful API design principles
5. Implement proper logging
6. Use type hints for better code maintainability

## Contributing
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
ai-xone-mcp-workflow 0.0.2a5
Workflow module for ai_xone_mcp
Requires Python: <4.0,>=3.10

# ai-xone-mcp-workflow

本模块是 AI Xone MCP 的工作流服务实现，基于 [fastmcp](https://pypi.org/project/fastmcp/) 框架，提供了调度大模型按指定工作流执行任务的能力。

## 主要功能

- 工作流的定义、执行、调度等

## 依赖

- Python >=3.10,<4.0
- fastmcp==2.3.5
- pyyaml==6.0.1

## 快速开始

1. 下载本模块
   ```bash
   git clone https://github.com/ai-xone/mcp
   ```

2. 安装依赖
   ```bash
   poetry install
   ```
3. 构建
   ```bash
    python -m build
   ```
4. 上传到pypi
   ```bash
   twine upload dist/*
   ```
5. 在 `mcp.json` 中添加以下配置

```json
{
  "mcpServers": {
    "ai-xone-mcp-workflow": {
      "command": "python",
      "args": ["server.py"]
    }
  }
}
```

## 参考

- [fastmcp 文档](https://pypi.org/project/fastmcp/)
- [awslabs/mcp 官方文档](https://github.com/awslabs/mcp/blob/main/src/amazon-kendra-index-mcp-server/README.md)