semvec/pypi-packages huggingface dataset:
BoXnLabelS 0.1.0
A customizable image augmentation tool for object detection
Requires Python: >=3.9.7

# BoXnLabelS

BoXnLabelS is a Python package for easy and customizable image augmentation, designed to generate augmented images and adjust their corresponding bounding box labels for deep learning models.

## Installation

Install via pip:

```bash
pip install BoXnLabelS
```

## Quick Start

```python
import BoXnLabelS as bls

# Initialize the augmentation object
augmentor = bls.Image_Custom_Augmentation(
    SP_intensity=0.2,  # Salt & Pepper noise intensity
    CWRO_Key=20,       # Clockwise rotation in degrees
    CCWRO_Key=20,      # Counterclockwise rotation in degrees
    Br_intensity=True, # Brightness adjustment
    H_Key=True,        # Horizontal flip
    V_Key=True,        # Vertical flip
    HE_Key=True,       # Histogram equalization
    GaussianBlur_KSize=5,  # Gaussian blur kernel size
    Random_Translation=True,  # Random translation
    Scaling_Range=(0.75, 1.25),  # Scaling range (min, max)
    Img_res=540  # Image resolution
)

# Apply augmentations to a dataset
augmentor.Generate_Data(input_path="input_directory", output_path="output_directory")
```

## Features

- **Noise Addition:** Salt & Pepper Noise
- **Image Enhancements:** Histogram Equalization, Brightness Adjustment
- **Transformations:** Rotation, Flipping, Translation, Scaling
- **Blurring:** Gaussian Blur
- **Bounding Box Handling:** Automatic YOLO format adjustment

More to come ...

<br>

<img width="1010" alt="Vis" src="https://github.com/user-attachments/assets/f21f386b-0782-473c-b5ad-edb6c6555ccc" />


## Notes

- The module is under active development.
- Accepts images in **JPG format** only.
- Handles both labeled images (with bounding boxes) and unlabeled background images.
EzQmt 2.1.1
Package for QMT

# QMT自动交易及监控脚本

# 快速开始

## 账户分析（需配置Summary.py导出策略运行文件）

根据持仓/交割单备注，分析策略持仓，各策略盈亏，分标的盈亏情况。

### 初始化配置

import EzQmt as qmt

'''
summary_loc: 策略运行文件目录， outcash_list: 外部转入转出资金情况（格式：[('20250124', -10000), ]），start_date/end_date: 开始/结束时间，benchmark: 业绩比较基准
conv_stk: 转债转股条款（格式：{转债代码:(股票代码，转股价), ...}），if_hide: 是否隐藏具体金额
renamestrat: 策略合并（{订单备注1：合并后策略名称a，...}）， accnum: 资金账号
'''

acct0 = qmt.smy.account(summary_loc, outcash_list=[], start_date=None, end_date=None, benchmark=None,
conv_stk={}, if_hide=True, renamestrat={}, accnum='')

### 总账户

'''
总组合净值，月度收益，收益的标的贡献
'''

acct0.pnl()

![image](https://github.com/user-attachments/assets/f044754e-8e49-4145-8e16-c9f683650a2f)

![image](https://github.com/user-attachments/assets/5377d28a-f8be-4584-8677-fa6d7b5d5761)

acct0.pnl_monthly()

![image](https://github.com/user-attachments/assets/5ee0e60e-8ea2-476d-8079-ba9b2f088155)

acct0.contri['all']

![image](https://github.com/user-attachments/assets/04c8617a-4990-4e0a-a0cb-a5b2f706db57)


### 分策略

'''
策略仓位，各策略表现
'''

acct0.displaystrats_pos()

acct0.displaystrats_pnl()

![image](https://github.com/user-attachments/assets/385a996c-8d64-4ce6-b488-298251ae8d03)
![image](https://github.com/user-attachments/assets/b25c20d3-9071-4a10-8468-593d1258f9c6)
'''
查看具体某一策略
'''

strat = '策略0'

acct0.pnl(strat, benchmark=None)

acct0.contri[strat]

![image](https://github.com/user-attachments/assets/ed40a08e-5a8b-471c-8961-5680fbabba2e)

![image](https://github.com/user-attachments/assets/9041d466-2ddd-412f-9461-9d4ef0fc4b02)

![image](https://github.com/user-attachments/assets/71897e1e-6c0e-4f7f-b885-1752600a6431)

### 交易滑点分析（单边）
'''
需提供分钟线数据（开盘集合竞价时间戳为9：30，9：30~9：31时间戳为9：31）
'''

deal_comm = acct0.cal_deal_comm(min_data, acct0.deal[acct0.deal['strat']=='策略1'].copy())

deal_comm[['comm_close', 'comm_open', 'comm_mco', 'comm_avg']].mean()

![image](https://github.com/user-attachments/assets/2675f059-20b8-4efd-8550-ac9ac52d1fdb)


## 策略
### Rebalance.py 仓位再平衡策略

自动拆单、挂撤单，将持仓市值占比调整至目标值。

输入为lude（禄得）格式的策略篮子文件，支持阈值调仓。


# 安装/配置

## python库安装

pip install FreeBack

pip install EzQmt

## QMT 客户端 配置方法
![1731993271869](https://github.com/user-attachments/assets/d7852645-305f-4b93-ba9c-87d1a0643e9d)

在模型研究界面，使用策略文件中内容替换图示代码框中全部代码，调整代码中自定义参数，新建策略。
![1731993357372](https://github.com/user-attachments/assets/d7a5f601-cd73-4daa-a150-55ff65418a2f)
![1731993389345](https://github.com/user-attachments/assets/0481d6f8-5814-4b2a-b9b8-50345dd450f3)

在模型交易界面，找到刚刚新建的策略，新建策略交易，选择自己的账号和账号类型，运行。

# 备注


# -------------------- 联系作者 ---------------------
对于个性化程序交易策略代码需求，可以联系作者。
![cde0c826807b3836377d0e13cf4bbf4](https://github.com/user-attachments/assets/3954cec9-8d4e-481c-a014-2ec971ab7cb4)
easytest-zgys 1.0.1
xxx
Requires Python: >=3.6

# A sample Python project
        
        ![Python Logo](https://www.python.org/static/community_logos/python-logo.png "Sample inline image")
        
        A sample project that exists as an aid to the [Python Packaging User
        Guide][packaging guide]'s [Tutorial on Packaging and Distributing
        Projects][distribution tutorial].
        
        This project does not aim to cover best practices for Python project
        development as a whole. For example, it does not provide guidance or tool
        recommendations for version control, documentation, or testing.
        
        [The source for this project is available here][src].
        
        The metadata for a Python project is defined in the `pyproject.toml` file,
        an example of which is included in this project. You should edit this file
        accordingly to adapt this sample project to your needs.
        
        ----
        
        This is the README file for the project.
        
        The file should use UTF-8 encoding and can be written using
        [reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md
        use]. It will be used to generate the project webpage on PyPI and will be
        displayed as the project homepage on common code-hosting services, and should be
        written for that purpose.
        
        Typical contents for this file would include an overview of the project, basic
        usage examples, etc. Generally, including the project changelog in here is not a
        good idea, although a simple “What's New” section for the most recent version
        may be appropriate.
        
        [packaging guide]: https://packaging.python.org
        [distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/
        [src]: https://github.com/pypa/sampleproject
        [rst]: http://docutils.sourceforge.net/rst.html
        [md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant"
        [md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional
novoceed-test-package 0.1.1
A sample Python package
Requires Python: >=3.6

# test_package

这是一个示例Python包，用于演示如何创建和发布Python包到PyPI。

## 安装
```bash
pip install test-package
```

## 使用方法
```python
from test_package import example

# 使用包中的函数
result = example.hello_world()
print(result)
```

## 开发
1. 克隆仓库
2. 安装开发依赖：`pip install -e .`

## 许可证
MIT