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.4.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.4-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

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

Hashes for capinvest_capdata-1.0.4.tar.gz
Algorithm Hash digest
SHA256 0e6057da99422e7961d6803e4bb5a95ad6ecf7b0a014f8a0974924d2807efe19
MD5 8e7ea0a61af0661a82a26d9189b11e9a
BLAKE2b-256 6196dcc3157c2db39c22b6135687cb0e673352cf8371594b67da30e0d4448e50

See more details on using hashes here.

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

Hashes for capinvest_capdata-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3fee36380c4601187f8ac65d280ba15f9fe7afaaaefc966f326db00e27feebb0
MD5 350048749399ca7aa0803b84ab3ebbfa
BLAKE2b-256 f6a2681bd478fb95757b3dfc4a068fe7cf843c702f3d425368c2409f8cf70c99

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