semvec/pypi-packages huggingface dataset:
p8 0.1.3
The Python ultimate meta linter
License: MIT

# P8 - The Python ultimate meta linter

## Why?
To easily ensuring modern Python code quality in multiple projects.

A new Python developer on Windows may not know:

- How to set PATH
- How to invoke command installed via pip: e.g flake8
- How to install make and write Makefile
- How to setup git precommit

This program helps ensuring code quality without above hassle, it runs commands
by default includes:

- `black`
- `flake8`
- `mypy` - it not only work when type annotation exists, it can detect type by
itself for some cases, and detect error like `print("%s %s", missing_one_arg)`.

## Install

`pip install p8`

## Usage
- `p8 init` creates a config file `p8.ini`
- `p8` runs all commands defined in `p8.ini`, order matters.
- Installing those commands are users responsibility.
- On Windows, use `py -m p8 init` and `py -m p8` instead.

## TODO
- Test and fully support Windows
- Add option to install default suite `flake8 black mypy`
- Generate Makefile

# Authors
- Viet Hung Nguyen <hvn@familug.org>
StrategiesManager 1.0.1
StrategiesManager
License: MIT

**StrategiesManager**

# 这是一个策略回测库，支持内外盘期货历史回测跟实时回测两种模式

# 例子：
```python
from strategies_manager import StrategiesManager

# 自定义操作函数
def myAction(data):
    """
    自定义操作
    实现自己的策略
    :param data: 行情数据，字典类型
    :return:
    """
    print(data)

# 创建实例
manager = StrategiesManager()
# 注册自定义函数
manager.registAction(myAction)

# 实时数据使用
manager.runRealTime(stock_code='NYMEX_F_CL_2010', ktype='1Min')

# 历史数据回测使用
manager.runHistory(stock_code='NYMEX_F_CL_2010', startTime='2020-06-07', endTime='2020-08-17', ktype='1Min')
```