semvec/pypi-packages huggingface dataset:
cv2box 0.6.0
cv toolbox
Requires Python: >=3.10

## cv2box - cv toolbox

```shell
# RECOMMEND - inclue cv2/numpy/tqdm
pip install cv2box

# clean install - no other dependencies
pip install cv2box --no-dependencies

# full install - referring requirements.txt
pip install cv2box[full]

# clone codes to your project without install
git clone git@github.com:ykk648/cv2box.git --depth 1
```

```python
# Example
from cv2box import CVImage
img_in = 'img path' # or img_in = cv2.imread('img path')
img_bgr = CVImage(img_in).bgr
CVImage(img_in).resize(256,256).show()
```

A gather of tools or funcs frequently using in my work.

Now including these functions:

### cv ops
- [CVBbox](./cv_ops#cvbox) , different bbox filter.
- [CVCamera](./cv_ops#cvcamera) , load [multical](https://github.com/makerdao/multicall) calibrate result and give any format of camera matrix.
- [CVExcel](./cv_ops#cvexcel) , basic ops for insert data to excel file.
- [CVFile](./cv_ops#cvfile) , for multi-class file io.
- [CVFolder](./cv_ops) , higher level folder op to do batch file operate.
- [CVImage](./cv_ops#cvimage) , a image class support multi format convert.
- [CVQueue](./cv_ops#cvqueue) , queue-like high-level class which can be used for two different python projects communicate on same host machine.
- [CVRotate](./cv_ops) , under dev.
- [CVVideo](./cv_ops#cvvideo), a video class support multi kinds of ops.


### cv gears

Now supports mode switch from multi-thread/multi-process/torch-process. 

- [CV threads base](./cv_gears#CV-Threads-Base) , fast construct your multithread AI program.
- [CV video thread](./cv_gears#CV-Video-Thread) , give a video path to get a frame thread.
- [CV multi video thread](./cv_gears#CV-Multi-Video-Thread) , give multical video path to get a multi frame thread.


### shell scripts

- batch uncompress script support different types(zip tar 7z etc.)

### utils

- fps counter
- apscheduler
- math (cal distances

### AI power (moved to [AI_power](https://github.com/ykk648/AI_power))
pro-craft 0.2.70
Add your description here
Requires Python: >=3.12

uv run mcp dev src/prompt_writing_assistant/mcp.py

python -m pro_craft.code.debug_agent



```python


@mcp.tool()
async def my_tool(x: int, ctx: Context) -> str:
    """Tool that uses context capabilities.
    
    The Context object provides the following capabilities:

ctx.request_id - Unique ID for the current request
ctx.client_id - Client ID if available
ctx.fastmcp - Access to the FastMCP server instance (see FastMCP Properties)
ctx.session - Access to the underlying session for advanced communication (see Session Properties and Methods)
ctx.request_context - Access to request-specific data and lifespan resources (see Request Context Properties)
await ctx.debug(message) - Send debug log message
await ctx.info(message) - Send info log message
await ctx.warning(message) - Send warning log message
await ctx.error(message) - Send error log message
await ctx.log(level, message, logger_name=None) - Send log with custom level
await ctx.report_progress(progress, total=None, message=None) - Report operation progress
await ctx.read_resource(uri) - Read a resource by URI
await ctx.elicit(message, schema) - Request additional information from user with validation
    
    """
    # The context parameter can have any name as long as it's type-annotated
    return ctx.client_id

```



## 做到prompt_writing_herper 中 目标是, 无论什么, 随便扔进去, 然后取的时候直接取即可

## 然后做code自动化编写的coder 写完之后写豆包语音智能体的链接, mcp协议 然后重构一些, obsidian 的SDK

python -m pro_craft.code.debug_agent