2022年github上star过万的热门项目:Python篇

img

1. superset

地址: https://github.com/apache/superset

  • star: 45500
  • watch: 1400
  • fork: 8900

企业级的数据探索和显示平台。功能强大,可用于数据分析和显示。如下图所示:

img

2. fastapi

地址: https://github.com/tiangolo/fastapi

  • star: 43900
  • watch: 583
  • fork: 3400

基于 Python 3.6 高性能 Web 框架。人如其名用 FastAPI 写接口快,调试方便,Python 在这些进步的基础上进步Web 开发变得更快更强。示例代码:

from fastapi import FastAPI

app = FastAPI()

@app.get("/")
async def read_root():
    return {"Hello": "World"}

@app.get("/items/{item_id}")
async def read_item(item_id: int, q: str = None):
    return {"item_id": item_id, "q": q}

# 启动命令:uvicorn main:app --reload

img

3. manim

地址: https://github.com/3b1b/manim

  • star: 43800
  • watch: 824
  • fork: 4800

一个数学教学视频的动画引擎。它通过编程创建精美的数学动画,使数学更容易理解。效果如 3Blue1Brown 视频中显示的效果很酷。但是学习和使用这个工具需要一些精力

img

4. wtfpython

地址: https://github.com/satwikkansal/wtfpython

  • star: 28500
  • watch: 755
  • fork: 2400

有趣,令人惊讶(坑爹),鲜为人知的 Python 代码片段集合。

img

5. dash

地址: https://github.com/plotly/dash

  • star: 16200
  • watch: 400
  • fork: 1700

一个只有几百行 Python 代码可以很容易地实现数据分析的可视化工具Python 社区数据可视化的主要工具之一。具有使用简单、扩展方便、开发团队活跃等特点

img

6. wagtail

地址: https://github.com/wagtail/wagtail

  • star: 11900
  • watch: 332
  • fork: 2600

目前最强大的开源 Django CMS(内容管理系统)之一。我很少用最多这个词来节省时间。让我们谈谈它对我来说太棒了。首先,项目更新活跃,迭代活跃。其次,项目主页提到的功能是免费的,没有付费解锁。wagtail 专注于内容管理,不限制前端实现。有趣的 StreamField 技术使您的内容灵活,不失结构,甚至支持 A/B 测试,最后 Google、NASA 他们都在使用这个项目

img

7. cutter

地址: https://github.com/rizinorg/cutter

  • star: 11200
  • watch: 290
  • fork: 912

免费开源逆向工程平台。Rizin 作为核心引擎,集成 Ghidra 反编译器界面简单,功能强大,深受逆向工程师的喜爱。> 支持各种语言和主题> 二进制搜索> 16进制编辑> Python 脚本和插件> 支持 Linux、macOS、Windows

img

8. pyxel

地址: https://github.com/kitao/pyxel

  • star: 9700
  • watch: 227
  • fork: 643

基于 Python 复古游戏引擎实现编程语言。示例代码:

# 代码中导入 Pyxel 模块后
import pyxel
# 首先使用 init 函数指定窗口大小
pyxel.init(160, 120)

def update():
    if pyxel.btnp(pyxel.KEY_Q):
        pyxel.quit()

def draw():
    pyxel.cls(0)
    pyxel.rect(10, 10, 20, 20, 11)
# 最后然后使用 run 函数启动 Pyxel 应用程序
pyxel.run(update, draw)

在这里插入图片描述

9. handcalcs

地址: https://github.com/connorferster/handcalcs

  • star: 3500
  • watch: 62
  • fork: 248

通过简单的 Python 代码,生成复杂公式的工具。还记得写论文算法时被一行公式控制的恐惧吗?这个库可以 Python 写的公式,展示为 LaTeX 格式,效果如下:

img

10. scikit-opt

地址: https://github.com/guofei9987/scikit-opt

  • star: 3100
  • watch: 39
  • fork: 738

包装了 7 启发算法Python 代码库。例代码:差分进化算法、遗传算法、粒子群算法、模拟退火算法、蚁群算法、鱼群算法、免疫优化算法:

from sko.GA import GA_TSP

ga_tsp = GA_TSP(func=cal_total_distance, n_dim=num_points, size_pop=50, max_iter=500, prob_mut=1)
best_points, best_distance = ga_tsp.run()

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/libaiup/article/details/131472265