Skip to main content

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:

  1. https://blog.csdn.net/coolcooljob/article/details/80082907
  2. 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

发布包

参考:https://blog.csdn.net/mouday/article/details/80736312

python3 setup.py sdist bdist_wheel

twine upload dist/*

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

jshen-0.0.21.tar.gz (45.2 kB view details)

Uploaded Source

File details

Details for the file jshen-0.0.21.tar.gz.

File metadata

  • Download URL: jshen-0.0.21.tar.gz
  • Upload date:
  • Size: 45.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for jshen-0.0.21.tar.gz
Algorithm Hash digest
SHA256 789cfbe7d92d50fb96f1870e362ba4e15dcd22fe5f269c4d11683ec6d46566ff
MD5 87bfe2a3b41a54c7e2281f1499f8c442
BLAKE2b-256 f2da8cca242be4b79f93f8e459c5039015dd365899b1b958be26378c15f4790d

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