semvec/pypi-packages huggingface dataset:
funsecret 1.4.64
funsecret
Requires Python: >=3.7

# funsecret

funsecret 是一个轻量级的 Python 密钥管理工具，用于安全地存储和访问敏感信息（如账号密码）。以下是它的主要功能和特点：

核心功能
* 本地密钥存储：将敏感信息保存在本地，避免在代码中使用明文凭证
* 结构化存储：使用多级路径（类似命名空间）组织密钥
* 读写 API：提供简洁的读写接口
* 快照功能：通过 funsecret_snapshot 扩展包支持某些平台的快照功能


## 安装

```bash
pip install funsecret
```

## 写入或者更新

```python
from funsecret import read_secret, write_secret

write_secret("your username", "wechat", "login", "username")
read_secret("wechat", "login", "username", value="your username")
```

## 读取

```python
from funsecret import read_secret

username = read_secret("wechat", "login", "username")
password = read_secret("wechat", "login", "password")
```

## 快照

快照功能需要单独安装

```bash
pip install funsecret_snapshot
```

目前只支持保存 lanzou

### 保存

```python
from funsecret_snapshot import save_snapshot

bin_id = '**'
cipher_key = '******'
security_key = "******"
save_snapshot(bin_id, cipher_key, security_key)
```

### 读取

```python
from funsecret_snapshot import load_snapshot

bin_id = '**'
cipher_key = '******'
security_key = "******"
load_snapshot(bin_id, cipher_key, security_key)
```
community-of-python-flake8-plugin 0.4.0
Community of Python flake8 plugin
Requires Python: >=3.10

# Community of Python Flake8 Plugin

A Flake8 plugin that enforces the Community of Python's custom code style rules. This plugin provides a set of checks designed to promote consistent and idiomatic Python code within the community.

## Features

This plugin implements the following code style checks:

- **COP001**: Use module import when importing more than two names
- **COP002**: Import standard library modules as whole modules
- **COP003**: Avoid explicit scalar type annotations
- **COP004**: Attribute name must be at least 8 characters
- **COP005**: Variable name must be at least 8 characters
- **COP006**: Argument name must be at least 8 characters
- **COP007**: Function name must be at least 8 characters
- **COP008**: Class name must be at least 8 characters
- **COP009**: Function identifier must be a verb
- **COP010**: Avoid `get_` prefix in async function names
- **COP011**: Avoid temporary variables used only once
- **COP012**: Classes should be marked `typing.final`
- **COP013**: Wrap module dictionaries with `types.MappingProxyType`
- **COP014**: Use dataclasses with `kw_only=True`, `slots=True`, `frozen=True`

## Installation

Install the plugin using `uv` (recommended):

```bash
uv add --dev community-of-python-flake8-plugin
```

Or install via pip:

```bash
pip install community-of-python-flake8-plugin
```

## Usage

Run Flake8 with the plugin enabled:

```bash
uv run flake8 --select COP --exclude .venv .
```

Or if installed globally:

```bash
flake8 --select COP --exclude .venv .
```

## Configuration

Add the following to your `pyproject.toml` when using https://pypi.org/project/Flake8-pyproject/:

```toml
[tool.flake8]
select = ["COP"]
exclude = [".venv"]
```