Skip to main content

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)

  1. 在capinvest_capdata下的_init_.py中添加Provider,特别注意fetcher_dict,这个对应对应的路由
  2. 在capinvest_platform下的dev_install.py中添加capinvest-capdata = { path = "./providers/capdata", develop = true }
  3. 在capinvest_platform下的pyproject.toml添加对应的依赖,修改三处地方
  4. 如果只是在现有的路由中添加一个新的路由,只需要在第一步中修改特别注意fetcher_dict,并编写对应的models
  5. 在当前目录下执行pip install . (poetry lock 命令用于生成poetry.lock文件)
  6. 在capinvest_platform下运行python dev_install.py
  7. 启动capinvest-api 或者在capinvest_platform/core/capinvest_core/api下执行 python rest_api.py

Metadata

Release files for capinvest-capdata 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for capinvest-capdata 1.0.5
File Size Uploaded
capinvest_capdata-1.0.5.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for capinvest-capdata 1.0.5
File Interpreter ABI Platform
capinvest_capdata-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / capinvest_capdata-1.0.5.tar.gz

Download URL capinvest_capdata-1.0.5.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
81697f94778c2639f971aadd83b9099890e5637386becd8fafd0e252860b57b1
BLAKE2b-256 checksum
How to use checksums
d926e189bdef1835b8b12aa2d4479390f3081df83157905fc0e87e74be346b06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.4 Windows/10

Release files / capinvest_capdata-1.0.5-py3-none-any.whl

Download URL capinvest_capdata-1.0.5-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfd0bc5d60b52aab694b94e4b0021324f8f642ea9c836a5988468618edba52c4
BLAKE2b-256 checksum
How to use checksums
f5c4dd02c222287c1574987fe5e7d96e5ca68eacacc720f92158258170ce3b75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.4 Windows/10

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page