semvec/pypi-packages huggingface dataset:
pconf 1.12.0
Hierarchical python configuration with files, environment variables, command-line arguments.
License: MIT
Keywords: configuration hierarchical

pconf
=====

Hierarchical python configuration with files, environment variables,
command-line arguments.

See `GitHub <https://github.com/andrasmaroy/pconf>`__ for detailed documentation.

Example
-------

.. code:: python

    from pconf import Pconf
    import json

    """
    Setup pconf config source hierarchy as:
      1. Environment variables
      2. A JSON file located at 'path/to/config.json'
    """
    Pconf.env()
    Pconf.file('path/to/config.json', encoding='json')

    # Get all the config values parsed from the sources
    config = Pconf.get()

    # Just print everything nicely
    print json.dumps(config, sort_keys=True, indent=4)

Run the above script:

.. code:: bash

    pip install pconf
    python example.py

The output should be something like this:

::

    {
        "HOSTNAME": "bb30700d22d8",
        "TERM": "xterm",
        "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "PWD": "/",
        "SHLVL": "1",
        "HOME": "/root",
        "no_proxy": "*.local, 169.254/16",
        "_": "/usr/bin/env",
        "example": {
            "another": "stuff",
            "key": "value"
        }
    }
crawlerd-web 0.1.1
Crawlerd Web Dashboard
License: MIT
Requires Python: >=3.11

# Crawlerd Web

**Crawlerd Web** 是分布式 `crawlframe` 系统的“总控塔”。它提供了一个集中的管理界面和 API，用于编排爬虫节点、管理项目、调度任务以及监控系统状态。该项目基于 **FastAPI** 构建，既作为 RESTful API 后端，也作为 React 前端仪表盘的宿主。

## ✨ 功能特性

- **集中式仪表盘**：提供现代化的 React 前端界面，用于可视化和管理您的爬虫基础设施。
- **节点管理**：注册、监控和管理分布式的爬虫节点 (Agent)。
- **项目编排**：管理爬虫项目的上传、版本和部署。
- **任务调度**：使用 `APScheduler` 调度和分发爬虫任务。
- **系统监控**：实时检查系统健康状态和节点连通性。
- **RESTful API**：提供全面的 API 接口，便于自动化和集成。

## 📦 安装与构建

本项目已采用现代 Python 包结构，支持直接安装或打包分发。

### 1. 源码直接安装

在 `crawlerd_web` 目录下直接安装：

```bash
pip install .
```

### 2. 打包为 Wheel

如果您需要分发安装包，可以使用 `build` 或 `uv` 工具进行打包：

```bash
# 安装打包工具
pip install build

# 执行打包
python -m build
# 或者如果您使用 uv
uv build
```

打包完成后，`.whl` 文件将生成在 `dist/` 目录下，您可以将该文件分发到服务器上安装：

```bash
pip install dist/crawlerd_web-0.1.0-py3-none-any.whl
```

## 🚀 启动与使用

安装完成后，系统会自动注册 `crawlerd-web` 命令行工具。

### 基本启动

**注意**：启动时**必须**指定 SQLite 数据库的存储路径。程序会自动创建所需的目录和数据库文件。

```bash
crawlerd-web --db-path ./crawlerd_data.db
```

默认监听端口为 **80**，启动后直接访问：[http://localhost](http://localhost)

### 自定义端口与地址

```bash
# 绑定到 8080 端口，监听所有网卡
crawlerd-web --db-path ./data.db --port 8080 --host 0.0.0.0
```

### 参数说明

| 参数 | 说明 | 默认值 |
| :--- | :--- | :--- |
| `--db-path` | SQLite 数据库文件路径 (必须) | 无 |
| `--port` | 服务监听端口 | 80 |
| `--host` | 服务绑定地址 | 0.0.0.0 |


## 🛠️ 开发指南

### 开发模式安装

如果您正在开发此项目，建议使用“可编辑模式”安装，这样修改代码后无需重新安装：

```bash
pip install -e .
```


## 🔌 API 文档

- **详细设计文档** [项目详细文档](./document.md)

## 📂 项目结构

```
crawlerd_web/
├── src/
│   └── crawlerd_web/
│       ├── api/            # API 路由定义
│       ├── static/         # 编译后的 React 前端资源 (自动打包)
│       ├── main.py         # 程序入口与 CLI 定义
│       └── database.py     # 数据库连接与初始化
├── pyproject.toml          # 项目构建配置与依赖
├── MANIFEST.in             # 资源文件包含规则
└── README.md               # 说明文档
```
pulse-system-monitor 0.1.2
A cross-platform, TUI system monitor.
License: MIT
Requires Python: >=3.13

# Pulse

A TUI system monitor for Linux.

Built with:
- [Textual](https://github.com/textualize/textual/)
- [Plotext](https://github.com/piccolomo/plotext)
- [Psutil](https://github.com/giampaolo/psutil)

![Pulse Screenshot](https://raw.githubusercontent.com/harshdeep-rakkar/pulse/master/screenshot/pulse.png)

## Installation

Install Pulse using pip:

```bash
pip install pulse-system-monitor
```

## Usage

Run Pulse from your terminal:

```bash
pulse
```
simple-dmarc-parser 1.1.0
A Python script that processes DMARC reports from a mailbox and gives a basic summary.
License: MIT
Requires Python: >=3.9
Keywords: dmarc, rua

# simple-dmarc-parser

simple-dmarc-parser is a basic Python script that reads the contents of an IMAP mailbox, seeks out DMARC RUA reports, downloads and parses them in aggregate to provide a basic summary of passes and failures.

## Function
The script will print any DMARC reports which had a failed result, so that you can review them. A summary will also be printed at the end by default, which shows how many reports had a pass/fail result from each provider, how many pass/fail results were found for each IP address, and how many pass/fail results were found for each domain.

The summary can be disabled if you only want to see failures. See the usage section for appropriate options.

## Installation
It's recommended that you install simple-dmarc-parser via pip so that it is available on the system:

`pip install simple-dmarc-parser`

## Usage
The script reads all unread messages in the mailbox provided, so you should only use this with a dedicated DMARC RUA address. simple-dmarc-parser does not process RUF reports.

simple-dmarc-parser accepts command line arguments, a config file, or it can prompt you for the IMAP server information.

Run `simple-dmarc-parser -h` for command line argument options. Or, just run `simple-dmarc-parser` and you will be prompted for the appropriate information. Your password will not be shown as you enter it.

A config file option is recommended for any sort of automation so that your credentials aren't potentially exposed in process lists. See the [example config file](simple-dmarc-parser.conf.example), place it in an appropriate location with sensible permissions, and run using `simple-dmarc-parser --config /path/to/config`

**Use the delete messages option with caution.** Messages deleted with this option **are not** put in a deleted folder. They are immediately removed from the IMAP server with no option for recovery. 

## Automatic Reports
You can use cron to run simple-dmarc-parser regularly and send you its output via email, or whatever source you can send to via the command line.

For example, the following cron entry running on your mail server will result in nightly DMARC summaries being sent by cron to the user running the job:

`0 0 * * * simple-dmarc-parser --config /path/to/config`

If you prefer a version that only notifies you on errors, you can use [this example script](dmarc_report.sh). Make sure you have `mailutils` installed, put the script in root's home directory, and install the following cronjob as root:

`0 0 * * * /root/dmarc_report.sh`

The script assumes your configuration is in /etc/simple-dmarc-parser.conf (make sure silent is true), and it will send its report to the root user on the local system. If you wish to send to send the reports off-system, change "root" to a full email address.