semvec/pypi-packages huggingface dataset:
file-dir-backup 0.1.4
A file and directory backup tool
License: MIT
Requires Python: >=3.6
Keywords: backup file directory rsync

# file_dir_backup
        
        `file_dir_backup` 是一个用于文件和目录备份的 Python 第三方库，支持全量备份和增量备份，同时支持 `rsync` 和 `shutil` 两种备份方法。
        
        ## 安装
        
        ```bash
        pip install file_dir_backup
        ```
        
        ## 使用方法
        ### 命令行使用
        ```bash
        #  查看帮助
        $ file_dir_backup -h
        usage: file_dir_backup [-h] [--backup-type {full,incremental}] [--method {rsync,shutil}] [--compress] [--bandwidth-limit BANDWIDTH_LIMIT] source destination
        
        File and directory backup tool
        
        positional arguments:
          source                Source directory to backup
          destination           Destination directory for backup
        
        optional arguments:
          -h, --help            show this help message and exit
          --backup-type {full,incremental}
                                Backup type: full or incremental
          --method {rsync,shutil}
                                Backup method: rsync or shutil
          --compress            Compress data during transfer
          --bandwidth-limit BANDWIDTH_LIMIT
                                Limit the bandwidth in KB/s
        
        
        
        $ file_dir_backup /path/to/source /path/to/destination --backup-type full --method rsync --compress --bandwidth-limit 1000
        # 全量同步示例：
        #$ file_dir_backup /home/hujianli/test/ /home/hujianli/backup/ --backup-type full --method rsync --compress --bandwidth-limit 1000
        
        # 或者
        $ python -m file_dir_backup /path/to/source /path/to/destination --backup-type full --method rsync --compress --bandwidth-limit 1000
        
        # 增量同步示例：
        #$ python -m file_dir_backup /home/hujianli/test/ /home/hujianli/backup/ --backup-type incremental --method rsync --compress --bandwidth-limit 1000
        ```
        
        ### 使用配置文件
        
        支持的配置文件查找规则：
        
        1. 环境变量 `FILE_DIR_BACKUP_CONFIG`
        2. `~/.file_dir_backup.cfg`
        3. `./etc/file_dir_backup.cfg`
        4. `/etc/file_dir_backup.cfg`
        
        
        配置文件格式,以`/etc/file_dir_backup.cfg`为示例：
        ```bash
        [backup]
        source = /home/hujianli/test
        destination =/home/hujianli/backup
        # 备份类型
        backup_type = full
        # 备份方法
        method = rsync
        # 是否传输过程中压缩数据
        compress = true
        # 传输限速
        bandwidth_limit = 1000
        ```
        ### Python 代码使用
        
        ```bash
        from file_dir_backup import BackupManager
        # 示例用法
        backup_manager = BackupManager(
            source="/path/to/source",
            destination="/path/to/destination",
            backup_type="full",
            method="rsync"
        )
        backup_manager.backup()
        ```
        
        
        ## 测试
        
        测试代码在 `tests` 目录下，使用  `unittest` 模块进行测试。
        
        ```bash
        python -m unittest tests.test_file_dir_backup
        ```
code-comments 0.4.0
Tool to report on comments such as TODO
License: MIT
Requires Python: <4.0,>=3.9

# code-comments

This project was created as a way of creating a central "annotation" file of all the useful
notes that might be created in a code base such as `todo` or `trivy` comments.

## Configuration

The project can be configured via a TOML file which by default is called `.code-annotations.toml` but can be override with the `--config` flag.

Below is an example which can be found at `.code-annotations.toml`

```TOML
file_suffix=[".tf"]
output_file="ANNOTATIONS.md"
comment_syntax = ["#"]

[[headers]]
comment = "tfsec"
table_headers = "File:Line|Type|Comment"
[[headers]]
comment = "todo"
table_headers = "File:Line|Date|Comment"

```
JsonDot 0.9.0
Load JSON files and use the data with dot notation then dump to the file
License: MIT

# JsonDot
Python library for loading JSON files and use them with dot notation then dump to the file again

## Description
JsonDot is a lightweight and intuitive Python library designed to simplify working with JSON data. It allows you to load JSON files and access their contents using dot notation, providing a more natural and readable way to interact with nested JSON structures. The library also supports saving modifications back to the original file, ensuring seamless data manipulation and persistence.

Key Features:
- Access JSON data using dot notation.
- Modify and update JSON content with ease.
- Save changes back to the original file.
- Simple and user-friendly API for developers.
- Ideal for projects requiring frequent JSON data manipulation.
- Compatible with Python 3.x.

JsonDot is perfect for developers looking for a straightforward solution to handle JSON data in their Python projects.