semvec/pypi-packages huggingface dataset:
rust-cankaoshouce-fix1 2025.3.25.0
Rust 参考手册
Requires Python: >=3.6

# Rust 参考手册

## 下载

### Docker

```
docker pull apachecn0/rust-cankaoshouce
docker run -tid -p <port>:80 apachecn0/rust-cankaoshouce
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install rust-cankaoshouce
rust-cankaoshouce <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g rust-cankaoshouce
rust-cankaoshouce <port>
# 访问 http://localhost:{port} 查看文档
```
renji-bianjie-zhonggou-gongye-zhineng-maixiang-guimohua-de-yinbao-dian-fix1 2025.3.25.0
人机边界重构——工业智能迈向规模化的引爆点
Requires Python: >=3.6

# 人机边界重构——工业智能迈向规模化的引爆点

## 下载

### Docker

```
docker pull apachecn0/renji-bianjie-zhonggou-gongye-zhineng-maixiang-guimohua-de-yinbao-dian
docker run -tid -p <port>:80 apachecn0/renji-bianjie-zhonggou-gongye-zhineng-maixiang-guimohua-de-yinbao-dian
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install renji-bianjie-zhonggou-gongye-zhineng-maixiang-guimohua-de-yinbao-dian
renji-bianjie-zhonggou-gongye-zhineng-maixiang-guimohua-de-yinbao-dian <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g renji-bianjie-zhonggou-gongye-zhineng-maixiang-guimohua-de-yinbao-dian
renji-bianjie-zhonggou-gongye-zhineng-maixiang-guimohua-de-yinbao-dian <port>
# 访问 http://localhost:{port} 查看文档
```
pathkit 0.1.4
Easy way to handle File

# pathkit文件操作

## 简介

pathkit 是一个用于文件操作的 Python 包，提供一个易于使用的接口来操作文件。

## 依赖性

##### 基础依赖（安装pathkit时将自动安装）：

- portalocker
- cryptography

##### 操作具体文件系统需要额外依赖（根据需求手动安装）：

| 文件系统 | 依赖  |
| -------- | ----- |
| HDFS     | hdfs  |
| MinIO    | minio |

## 安装

```shell
# 通过 pip 安装：
pip install pathkit
```

## 初始化连接配置

1. #### 配置文件的写入

```python
from pathkit.config import EnvConfig

# 示例：
# 配置名为 'hdfs' 的连接信息
EnvConfig.write("hdfs", url=url)
# 配置名为 'minio' 的连接信息
EnvConfig.write("minio", endpoint=endpoint, access_key=access_key, secret_key=secret_key,
                bucket_name=bucket_name, secure=secure)
# 配置名为 'ftp' 的连接信息
EnvConfig.write("ftp", host=host, user=user, passwd=passwd, pasv=pasv)
```

## 文件操作

```python
from pathkit import MinIOPath


p = MinIOPath("/xxx/yyy")

# 判断是否存在
p.exists

# 判断是否为目录
p.is_dir()

# 读取文件内容
p.read()

# 写入文件
p.write(b'xxx')

# 上传文件
p.upload("/xxx/zzz")

# 删除文件
p.delete()

# 创建目录
p.mkdir()

# 遍历目录
p.glob()

# 文件修改时间
p.mtime

# 递归遍历目录
p.rglob()
```

## 功能

- 支持多种文件系统（如 HDFS、MinIO、FTP、Local）
- 简洁的 API
configcalc 0.1.3
TOML config files which can be merged and have calculated values.
Requires Python: >=3.11

# configcalc

[![PyPI - Version](https://img.shields.io/pypi/v/configcalc.svg)](https://pypi.org/project/configcalc)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/configcalc.svg)](https://pypi.org/project/configcalc)

-----

Configcalc is a library to handle TOML configuration files with formulas. Formulas can make simple operations between variables contained in other parts of the configuration or given by the user at runtime. 

[Documentation](https://raphaelproux.github.io/configcalc/)


**Table of Contents**

- [configcalc](#configcalc)
  - [Installation](#installation)
  - [Usage](#usage)
  - [License](#license)

## Installation

```console
pip install configcalc
```


## Usage

```python
import configcalc as cc
config1 = cc.read_config_file(Path(r"path/to/config_file1.toml"))
config2 = cc.read_config_file(Path(r"path/to/config_file2.toml"))
merged_config = cc.merge_configs(config1, config2)
calculated_config = cc.perform_calculations(
        config=config,
    )
```

## License

`configcalc` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
fast-license 0.1.2
Easy way to handle License

# 项目License

## 简介

fast-license 是一个用于项目快速添加License功能的Python包，提供License生成、License更新、中间件等功能。

## 依赖性

##### 基础依赖（安装fast-license时将自动安装）：

- cryptography

##### 额外依赖（根据需求手动安装）：

| 功能       | 依赖            |
| ---------- | --------------- |
| 中间件 | fastapi、starlette |
| License更新接口 | fastapi、starlette、pydantic、requests |

## 安装

```shell
# 通过 pip 安装：
pip install fast-license
```

## License生成

#### 1. RSA生成

   ```shell
   python -m fast_license generate-keys
   ```

#### 2. 私钥输出

```shell
python -m fast_license print-key
```

#### 3. License生成

```shell
python -m fast_license generate YYYY-mm-dd_HH:MM:SS
```

#### 4. 打印License内容

```shell
python -m fast_license decrypt
```

## 中间件应用

```python
from fast_license.middleware import LicenseMiddleware

app = FastAPI()
app.add_middleware(LicenseMiddleware, license_path={License路径}, private_key={私钥输出内容})
```

## 装饰器应用

```python
from fast_license.license import LicenseDecorator

add_license = LicenseDecorator(license_path={License路径}, private_key={私钥输出内容})

@add_license
def func():
    pass
```

## License接口

```python
from fast_license.api_manager import APILicense

app = FastAPI()
api_license = APILicense(license_path={License路径}, private_key={私钥输出内容})

# 多机
api_license.register(hosts=[{ip1}, {ip2}], port={服务端口})

app.include_router(api_license.router)
```