A collection of useful tools!
Project description
A collection of useful tools!
Publish
# 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quant2-0.0.10.tar.gz.
File metadata
- Download URL: quant2-0.0.10.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b301ef79288bab6a06dc092346134d55e4546e51ccc312c6c19bb96b2e8d39a6
|
|
| MD5 |
f0da499554d14df04eb1797124e507a1
|
|
| BLAKE2b-256 |
0cd7c49daa486a35f1c7ca8ef59d773d2d16d37b1413c48d3af1472e9a9af3b4
|
File details
Details for the file quant2-0.0.10-py3-none-any.whl.
File metadata
- Download URL: quant2-0.0.10-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0b78bffc76286f170db9d04c0914ad9d2113fa4a76688b6b871486778f78b3b
|
|
| MD5 |
309e66f6486369d49ce63e6f198c848a
|
|
| BLAKE2b-256 |
f8b2f30e0473c8b9d1ee3c1f334456ebc118fca6e2f9479d5da95b70973fdbf2
|