Skip to main content

nginq common lib

Project description

nginq-common

quant/nginq 的公共模块整理出来,独立做个源码仓库 nginq-common

后续 quant/nginq 拆分, 每个策略独立一个原编码仓库 strategy-18、strategy-6、strategy-b 等

安装工具

# pip install twine 

pypi账号

  • 在 pypi 注册账号

  • 编辑 ~/.pypirc

# cd  ~
# cat .pypirc

[distutils]
index-servers=pypi

[pypi]
repository =  https://upload.pypi.org/legacy/
username = [pypiUserName]
password = [pypiPasswd]

项目打包

# 打包检查
# python setup.py check

# 打包
# python setup.py sdist build

# 上传
# twine upload dist/*

另, 不推荐的上传方式如下(密码容易被劫持)


# 打包
# python setup.py sdist

# 上传
# python setup.py upload  

安装本项目的包(最好指定版本)

## 手工导入 
# pip install nginqcomm==0.2.2


## requirements.txt 文件
#  cat requirements.txt
...
nginqcomm==0.2.5
...


## 安装后的查看
# pip list | grep -i nginqcomm

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

nginqcomm-0.2.9.tar.gz (15.6 kB view hashes)

Uploaded Source

Supported by

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