Skip to main content

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)

  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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capinvest_capdata-1.0.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capinvest_capdata-1.0.5-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file capinvest_capdata-1.0.5.tar.gz.

File metadata

  • Download URL: capinvest_capdata-1.0.5.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

Hashes for capinvest_capdata-1.0.5.tar.gz
Algorithm Hash digest
SHA256 81697f94778c2639f971aadd83b9099890e5637386becd8fafd0e252860b57b1
MD5 592938f065c4aac5aae56eb07cf6ea79
BLAKE2b-256 d926e189bdef1835b8b12aa2d4479390f3081df83157905fc0e87e74be346b06

See more details on using hashes here.

File details

Details for the file capinvest_capdata-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: capinvest_capdata-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.4 Windows/10

File hashes

Hashes for capinvest_capdata-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dfd0bc5d60b52aab694b94e4b0021324f8f642ea9c836a5988468618edba52c4
MD5 28548ef1fa3cad362ac6d9285ae43657
BLAKE2b-256 f5c4dd02c222287c1574987fe5e7d96e5ca68eacacc720f92158258170ce3b75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page