CapData provider extension for CapInvest
Project description
CapInvest CapData Provider
This extension integrates the CapData data provider into the CapInvest Platform.
Installation
To install the extension, run the following command in this folder:
pip install capinvest-capdata
例如新添加一个provider(capdata)
- 在capinvest_capdata下的_init_.py中添加Provider,特别注意fetcher_dict,这个对应对应的路由
- 在capinvest_platform下的dev_install.py中添加capinvest-capdata = { path = "./providers/capdata", develop = true }
- 在capinvest_platform下的pyproject.toml添加对应的依赖,修改三处地方
- 如果只是在现有的路由中添加一个新的路由,只需要在第一步中修改特别注意fetcher_dict,并编写对应的models
- 在当前目录下执行pip install . (poetry lock 命令用于生成poetry.lock文件)
- 在capinvest_platform下运行python dev_install.py
- 启动capinvest-api 或者在capinvest_platform/core/capinvest_core/api下执行 python rest_api.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file capinvest_capdata-1.0.4.tar.gz.
File metadata
- Download URL: capinvest_capdata-1.0.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.11.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e6057da99422e7961d6803e4bb5a95ad6ecf7b0a014f8a0974924d2807efe19
|
|
| MD5 |
8e7ea0a61af0661a82a26d9189b11e9a
|
|
| BLAKE2b-256 |
6196dcc3157c2db39c22b6135687cb0e673352cf8371594b67da30e0d4448e50
|
File details
Details for the file capinvest_capdata-1.0.4-py3-none-any.whl.
File metadata
- Download URL: capinvest_capdata-1.0.4-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.11.4 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fee36380c4601187f8ac65d280ba15f9fe7afaaaefc966f326db00e27feebb0
|
|
| MD5 |
350048749399ca7aa0803b84ab3ebbfa
|
|
| BLAKE2b-256 |
f6a2681bd478fb95757b3dfc4a068fe7cf843c702f3d425368c2409f8cf70c99
|