diff --git a/README.md b/README.md index 8750717..a5fad51 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,20 @@ ## 安装 +### 通过`pip`安装 + +```shell +pip install quanttide-data +``` + ### 通过`poetry`安装 ```shell -poetry add git+https://github.com/quanttide/quanttide-data-python.git +poetry add quanttide-data ``` +## 测试 + +```shell +poetry install +``` diff --git a/pyproject.toml b/pyproject.toml index 8bee35e..635ee17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "quanttide-data" -version = "0.1.0-alpha.1" +version = "0.1.0-beta.1" description = "量潮数据工程Python工具包" authors = ["QuantTide "] license = "Apache 2.0" @@ -13,9 +13,15 @@ packages = [{include = "quanttide_data"}] [tool.poetry.dependencies] python = "^3.7" +# logging logdecorator = "^2.4" +# crawler +requests = { version = "^2.31.0"} +beautifulsoup4 = { version = "^4.12.2"} -[tool.poetry.group.crawler.dependencies] + +[tool.poetry.group.dev.dependencies] +# bugfix for poetry urllib3 = "<2.0" -requests = "^2.31.0" -beautifulsoup4 = "^4.12.2" +pytest = "^7.3.1" +coverage = "^7.2.6"