semvec/pypi-packages huggingface dataset:
compyner 0.3.1
A small tool to bundle a python file and all its imports into a single file.
Requires Python: <4.0,>=3.13.1

# compyner

ComPYner is a small tool to bundle a python file and all its imports into a single file.
This was created due to the limitations of the micropython implementation on the spike prime, where there is no filesystem to store multiple files.
We are aware that there are better ways to implement what we have done, but this is the least ugly code that will run on spike primes micropython.

## Installation

Install `compyner` with pip, or another tool using PyPI:
```bash
pip install compyner
```

## Usage

> [!WARNING]
> This tool is not extensively tested and may not work as expected. Use at your own risk.
> Feel free to open an issue if you encounter any problems.

```bash
compyner <input> -o <output>
```

This command will read the file at `<input>`, "compyne" it and writes the result to `<output>`

If the `-o/--output` argument is not used, the result will be saved with the same name as the input file but with the suffix `.cpyd.py`.

### Excluding modules
If any modules are imported that are in the standard library, these need to be excluded.
Normally, the script detects these imports and excludes them automatically, but this does not work for some, like the `collections` module.
Modules that are only availible in the standard library of the target environment should be excluded as well.

Modules that should be excluded should be passed as a space-seperated list to the `--exclude` argument.

#### Example

```bash
compyner main.py --exclude math -o output.py
```

This will combine the file `main.py` with all the files it imports, except for `math`, and output the result to `output.py`.

## Known issues

None at the moment.

## Authors

- [J0J0HA](https://github.com/J0J0HA)
zut-mcp 0.1.14
修改餐饮为df获取, 关键词匹配算法.
Requires Python: >=3.8

一个自用的mcp工具包, 用于百科搜索或信息查询.

- 0.1.2-0,1,4
修改多输入为单输入, 适配单输入智能体.
behoof 1.2
A general-purpose utility library offering a wide range of functions
Requires Python: >=3.10

Useful utilities

Copyright (C) 2020-2025 Sergey V. Pakhtusov aka pascal65536

```
                           _  __  ____ ____ _____  __   
 _ __   __ _ ___  ___ __ _| |/ /_| ___| ___|___ / / /_  
| '_ \ / _` / __|/ __/ _` | | '_ \___ \___ \ |_ \| '_ \ 
| |_) | (_| \__ \ (_| (_| | | (_) |__) |__) |__) | (_) |
| .__/ \__,_|___/\___\__,_|_|\___/____/____/____/ \___/ 
|_|                                                     

```

A general-purpose utility library offering a wide range of functions

`pip install behoof`

This Python project to be a versatile utility library offering a wide range of functionalities, including:

1. String and Text Manipulation:

   - vowel, consonant, rus_alphabet, transliteration, is_palindrome - Functions related to character analysis, alphabet manipulation, and palindrome detection.

   - generate_alternating_name, generate_fake_name - Functions for generating names, potentially for testing or data generation purposes.

2. Mathematical Operations:

   - is_prime, get_divisors, gcd, lcm - Functions for prime number detection, divisor finding, and calculation of greatest common divisor and least common multiple.

   - euclidean_distance - Functions for calculates the Euclidean distance between two points given as tuples of two numbers (e.g. (x, y)).

3. Data Handling and I/O:

   - generate_name, name_to_hex_color, load_json, save_json, upload_file - Functions for color generation, JSON file handling, and file uploading.

   - log_action, logging_to_csv - Function for logging messages to a CSV file.

4. Text Similarity and Distance:

   - hamming_distance, similarity, calculate_jaccard_similarity - Functions for calculating text similarity and distance metrics.

5. File Management and Manipulation:

   - collect_files_lst, moves_file, generate_random_code_string - Functions for collecting files, moving files, and generating random code strings.

   - calculate_md5, find_duplicate_files, delete_files, remove_empty_directories, move_file_to_folder_with_limit - Functions specifically focused on duplicate file management, including MD5 hashing, duplicate file detection, deletion, and organization into folders with limited file counts.

6. Working with matrices. Matrix transformation of 2D space.
 
   - rotate_ccw, rotate_cw, copy, create, flip_diagonal_main, flip_diagonal_second, flip_horizontal, flip_vertical, mirror, show

   - set_cx, set_sx, set_tx, base_create, get_new_coords matrix_calc