semvec/pypi-packages huggingface dataset:
kpii 0.1.0
한국어 개인정보 탐지 및 마스킹 라이브러리
Requires Python: >=3.9

# KPII (Korean Personal Information Identifier)

한국어 텍스트에서 개인정보를 탐지하고 마스킹 처리하는 Python 라이브러리입니다.

## 설치

```bash
pip install kpii
```

## 사용 예시

```python
from kpii import KoreanPIIDetector

# 감지기 초기화
detector = KoreanPIIDetector()

# 텍스트에서 개인정보 탐지
text = """
주민번호: 901231-2123456
전화번호: 010-1234-5678
이메일: hong@example.com
신용카드: 9430-8212-3456-2393
"""

# 모든 개인정보 마스킹
masked_text = detector.mask_text(text)

# 특정 유형만 마스킹
masked_text = detector.mask_text(text, mask_types=["rrn", "phone"])
```

## 지원하는 개인정보 유형

- 주민등록번호
- 전화번호
- 이메일
- 신용카드 번호

## 개발 환경 설정

1. 저장소 클론
```bash
git clone https://github.com/sotthang/kpii.git
cd kpii
```

2. Poetry를 사용한 의존성 설치
```bash
poetry install
```

3. 개발 의존성 설치 (테스트 도구 포함)
```bash
poetry install --with dev
```

## 테스트

### 테스트 실행

```bash
# 모든 테스트 실행
poetry run pytest

# 커버리지 리포트와 함께 테스트 실행
poetry run pytest --cov=kpii

# 특정 테스트 파일만 실행
poetry run pytest tests/test_detector.py

# 특정 테스트 함수만 실행
poetry run pytest tests/test_detector.py::test_detect_rrn
```

### 테스트 커버리지 확인

```bash
# HTML 형식의 커버리지 리포트 생성
poetry run pytest --cov=kpii --cov-report=html

# 터미널에서 커버리지 리포트 확인
poetry run pytest --cov=kpii --cov-report=term-missing
```

## 라이선스

MIT License
mcp-bugbot-gitlab 0.1.1
MCP server for GitLab merge request management
Requires Python: >=3.6

# MCP BugBot GitLab

## Installation (via PyPI)

Install the MCP BugBot GitLab package from PyPI:

```bash
pip install mcp-bugbot-gitlab
```

> If you use a virtual environment (recommended):
> ```bash
> python3 -m venv .venv
> source .venv/bin/activate
> pip install mcp-bugbot-gitlab
> ```

---

## Overview

MCP BugBot GitLab is a Python-based MCP server designed to automate and streamline AI-powered code review for GitLab Merge Requests (MRs). It enables Cursor AI to view code and MRs, facilitating AI-assisted code reviews, Jira cross-verification, and professional feedback.

---

## Configuration

You can configure MCP BugBot GitLab using environment variables, either directly or via your Cursor MCP configuration.

**Required:**
- `GITLAB_URL`: Your GitLab server URL (e.g., `https://gitlab.com`)
- `GITLAB_TOKEN`: Your GitLab Personal Access Token

**Optional:**
- `GITLAB_SSL_NO_VERIFY`: Set to `1` to disable SSL verification (for self-hosted GitLab)
- `GITLAB_USER`: The GitLab username (if needed for API calls)
- `JIRA_SERVER_URL`, `JIRA_TOKEN`, `JIRA_PROJECT_KEY`: For Jira integration/cross-verification

---

## Using with Cursor AI

1. **Register the MCP Server with Cursor**

   Add the following to your `~/.cursor/mcp.json`:

   ```json
   {
     "mcpServers": {
       "gitlab-bugbot": {
         "command": "/path/to/your/python",
         "args": ["-m", "mcp_bugbot_gitlab.server"],
         "description": "GitLab BugBot MCP server using venv Python",
         "env": {
           "GITLAB_URL": "https://gitlab.example.com",
           "GITLAB_TOKEN": "your_gitlab_token",
           "GITLAB_SSL_NO_VERIFY": "1",
           "GITLAB_USER": "your_gitlab_username",
           "JIRA_SERVER_URL": "https://jira.example.com",
           "JIRA_TOKEN": "your_jira_token",
           "JIRA_PROJECT_KEY": "YOURPROJECT"
         }
       }
     }
   }
   ```

   - Adjust the `"command"` path to your Python interpreter (e.g., from a virtualenv).
   - Set all environment variables as needed for your environment.

2. **Start Cursor**

   - Open Cursor and ensure the MCP server is registered.
   - GitLab BugBot tools will be available in the Cursor tool interface.

---

## Running the Server Manually

You can also start the server directly (for development):

```bash
python -m mcp_bugbot_gitlab.server
```

---

## Development

### Install dependencies

```bash
pip install -r requirements.txt
```

### Run tests

```bash
pytest
```

---

## Release & PyPI Publishing

- Releases are published to PyPI via GitHub Actions using OIDC (trusted publishing).
- To publish a new version, push a tag like `v1.2.3` to GitHub.
- See `.github/workflows/pypi-publish.yml` for details.

---

## License

MIT
django-uuid7 0.1.1
Django UUID7 field support for PostgreSQL, MariaDB, and MySQL
Requires Python: >=3.8

# Django UUID7

A Django package that provides UUID7 field support for PostgreSQL, MariaDB, and MySQL databases.

## Features

- UUID7 field type for Django models
- UUID7 serializer field for Django REST Framework
- UUID7 form field for Django forms
- Support for PostgreSQL, MariaDB, and MySQL databases
- Standalone UUID7 functionality

## Installation

```bash
pip install django-uuid7
```

## Usage

### Model Field

```python
from django.db import models
from django_uuid7 import UUID7Field

class MyModel(models.Model):
    id = UUID7Field(primary_key=True)
    # ... other fields
```

### Serializer Field

```python
from rest_framework import serializers
from django_uuid7 import UUID7SerializerField

class MySerializer(serializers.ModelSerializer):
    id = UUID7SerializerField()
    
    class Meta:
        model = MyModel
        fields = ['id', ...]
```

### Form Field

```python
from django import forms
from django_uuid7 import UUID7FormField

class MyForm(forms.Form):
    id = UUID7FormField()
```

### Standalone Usage

```python
from django_uuid7 import uuid7

# Generate a new UUID7
new_uuid = uuid7()
```

## Requirements

- Python 3.8+
- Django 3.2+
- PostgreSQL, MariaDB, or MySQL database

## License

MIT License