Tools for leetcode,kaggle...
Project description
jshen
Tools
jtorch
d2l.py
使用的是 https://github.com/d2l-ai/d2l-en/blob/master/d2l/torch.py
没有设置环境要求,若缺失哪个包,进行安装即可
参考资料
setup.py:
- https://blog.csdn.net/coolcooljob/article/details/80082907
- https://blog.csdn.net/weixin_43964444/article/details/108414571
setup.py参数介绍:https://www.cnblogs.com/maociping/p/6633948.html
官方文档:https://packaging.python.org/en/latest/tutorials/packaging-projects/
python setup.py build
python setup.py sdist (推荐 source distribute)
python setup.py install
twine upload dist/* 更新:
pip install git+https://github.com/JieShenAI/jshen.git --upgrade
国内源下载:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jshen
rst
rst官方语法格式:https://zh-sphinx-doc.readthedocs.io/en/latest/rest.html
本地rst语法检测
因为pypi的解析器不是sphinx,有些语法会有问题
安装库rst:
- pip install readme_renderer
- 执行命令:python setup.py check -r -s
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
File details
Details for the file jshen-0.0.18.tar.gz.
File metadata
- Download URL: jshen-0.0.18.tar.gz
- Upload date:
- Size: 40.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5eb115b048504f6228f026f0c6877de323df5fa550cb2c1ba69b2a15ffed51e
|
|
| MD5 |
17b1dd086ace63dc2b68fa3580875333
|
|
| BLAKE2b-256 |
3aa1d0be2a7fdfe871c386a2bfb016804d81b24433c0fa31bb7c6b6f262db08f
|