Browse Source

增加依赖

fish 1 year ago
parent
commit
46b9d7be8d
3 changed files with 17 additions and 0 deletions
  1. 9 0
      README.md
  2. 4 0
      pyproject.toml
  3. 4 0
      requirements.txt

+ 9 - 0
README.md

@@ -8,6 +8,15 @@
 
 
 ![](https://file.yoqi.me/Develop/Python/crawl_beian/BaiduHi_2024-7-15_10-57-18.jpg)
 ![](https://file.yoqi.me/Develop/Python/crawl_beian/BaiduHi_2024-7-15_10-57-18.jpg)
 
 
+## Develop
+
+```
+virtualenv .venv
+source .venv/bin/activate
+pip install -r requirements.txt
+python main.py
+```
+
 ## License
 ## License
 
 
 [Apache 2.0](LICENSE)
 [Apache 2.0](LICENSE)

+ 4 - 0
pyproject.toml

@@ -7,6 +7,10 @@ readme = "README.md"
 
 
 [tool.poetry.dependencies]
 [tool.poetry.dependencies]
 python = "^3.11"
 python = "^3.11"
+requests = "^2.32.3"
+pandas = "^2.2.2"
+lxml = "^5.3.0"
+openpyxl = "^3.1.5"
 
 
 
 
 [build-system]
 [build-system]

+ 4 - 0
requirements.txt

@@ -0,0 +1,4 @@
+requests>=2.32.3,<2.33.0
+pandas>=2.2.2,<2.3.0
+lxml>=5.3.0,<5.4.0
+openpyxl>=3.1.5,<3.2.0