python中的经典计算机科学算法

algos-p的Python项目详细描述


https://travis-ci.org/alisianoi/algos-py.svg?branch=masterhttps://ci.appveyor.com/api/projects/status/j5ireye9mly39f9m/branch/master?svg=truehttps://coveralls.io/repos/github/alisianoi/algos-py/badge.svg?branch=masterhttps://img.shields.io/codecov/c/github/alisianoi/algos-py/master.svghttps://pyup.io/repos/github/alisianoi/algos-py/shield.svghttps://requires.io/github/alisianoi/algos-py/requirements.svg?branch=master

https://img.shields.io/pypi/format/algos-py.svghttps://img.shields.io/pypi/v/algos-py.svghttps://img.shields.io/github/license/alisianoi/algos-py.svg

什么是algos py?

这个包包含一些经典计算机的实现 科学算法。我的主要目标是了解这些算法 最好的办法就是自己去实现。

在我实践测试驱动开发(使用pytest)的过程中, 连续集成(带travisappveyor),覆盖 跟踪(使用coverallscodecov),版本控制(使用gitgithubgitlab),文档(带有sphinxreadthedocs) 还有更多。

如何测试?

运行所有单元测试:

$ pytest -n 2

为特定模块运行单元测试:

$ pytest ./tests/test_heap.py

运行所有单元测试并生成覆盖率报告:

$ pytest -n 2 --cov=src

哪里可以找到?

主存储库:

https://github.com/alisianoi/algos-py

辅助(镜像)存储库:

https://gitlab.com/alisianoi/algos-py

释放程序:

$ python setup.py check --restructuredtext
$ # change version in setup.py
$ git add setup.py
$ git commit -m "Bump version to 1.0.0"
$ git tag v1.0.0
$ git push origin master && git push origin --tags
$ git push gitlab master && git push gitlab --tags
$ python setup.py bdist_wheel
$ twine upload ./dist/algos_py-1.0.0-py3-none-any.whl

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
ArrayList中实体对象上的JAVA泛型   带Redis的爪哇芹菜vs单用Redis   java在设备面向横向时隐藏标题栏/通知栏   java JXTreeTable:如何使用ComponentProvider为一列设置渲染器   java创建异常的成本与记录异常的成本相比   java在方法参数中使用setter传递新对象   java在一个类中的方法与另一个类中的方法交互时遇到问题   java如何迭代2个大小相等的ArrayList   Java getDesktop()。open在Windows中工作,但在Mac中不工作   从tomcat切换到jetty后的java“无法启动嵌入式容器”,Spring引导   java如何使用void方法   java如何在解组时在JAXB的ValidationEventHandler中获取节点值?   如何使用Akka Java API创建不响应的TCP接收器   JavaScriptjQuery在java中将记录上传到数据库时的进度条   如何在重新绘制时在java小程序中显示上一个图像