Skip to main content

A collection of useful tools!

Project description

A collection of useful tools!

Publish

quant2 · PyPI

# https://github.com/pypa/flit
flit publish

Installation

pip install -U quant2
pip install -U quant2 -i https://pypi.org/simple
pip install -U quant2 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install -U 'git+https://github.com/flystarhe/quant'

Environment

conda info -e
conda create -y -n myenv python=3.9
conda activate myenv

# pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install notebook

conda deactivate
conda remove -y -n myenv --all
conda info -e

Requirements

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install scikit-learn simplejson prettytable

Docs

首先安装Python文档生成工具Sphinx,安装指令为pip install -U sphinx

PDF文档依赖:apt-get update && apt-get install texlive-full。 PDF文档依赖:apt-get install texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra。 PDF文档依赖:apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic

  • cd docs进入文档目录
  • sphinx-quickstart初始化
  • docs/source/conf.py完善配置
  • sphinx-apidoc -o source -f -e ..生成API文档
  • make html/make help生成文档
  • make clean清空文档目录

在项目根目录执行时,需要修改文档输出路径及模块路径:

sphinx-apidoc -o docs/source -f -e .

目录结构如下:

.
├── Makefile
├── build  # 存放`make html`生成的文档的目录
├── make.bat
└── source  # 存放用于生成文档的源文件
    ├── _static
    ├── _templates
    ├── conf.py  # 配置文件
    └── index.rst

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

quant2-0.1.27.tar.gz (58.0 kB view details)

Uploaded Source

Built Distribution

quant2-0.1.27-py3-none-any.whl (73.6 kB view details)

Uploaded Python 3

File details

Details for the file quant2-0.1.27.tar.gz.

File metadata

  • Download URL: quant2-0.1.27.tar.gz
  • Upload date:
  • Size: 58.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for quant2-0.1.27.tar.gz
Algorithm Hash digest
SHA256 bae40817a6439a544934522d71ff2e2365addbc8967b474924284177b6db1688
MD5 4060f63c460225b2c5a178f63cec141e
BLAKE2b-256 03a6d3261a6087d5881f84ac4443364d434fb1690ef9b913b2947d7b7d0b0fe5

See more details on using hashes here.

File details

Details for the file quant2-0.1.27-py3-none-any.whl.

File metadata

  • Download URL: quant2-0.1.27-py3-none-any.whl
  • Upload date:
  • Size: 73.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for quant2-0.1.27-py3-none-any.whl
Algorithm Hash digest
SHA256 4111fffc1ba03733995f0611c104c0f65c44f5ed810a9a27c28d1ddaec694c54
MD5 646163a6ed390a4beeb3932362fd3973
BLAKE2b-256 9c99aac83d97d9a3e1a3248708b9dde38dec04ca074de4c82bd595e62849d71e

See more details on using hashes here.

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