Popular projects with over 10,000 stars on github in 2022: Python

img

1. superset

Address: https://github.com/apache/superset

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

Enterprise-grade data exploration and display platform. Powerful for data analysis and display. As shown below:

img

2. fasting

Address: https://github.com/tiangolo/fastapi

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

A high-performance web framework based on Python 3.6. As the name suggests, FastAPI is used to write interfaces quickly and facilitate debugging. Python improves Web development on the basis of these advancements and becomes faster and stronger. Sample code:

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. in my opinion

Address: https://github.com/3b1b/manim

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

An animation engine for math instructional videos. It creates beautiful math animations programmatically to make math easier to understand. Effects like the one shown in the 3Blue1Brown video are cool. But learning and using this tool takes some effort

img

4. wtfpython

Address: https://github.com/satwikkansal/wtfpython

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

A collection of interesting, surprising (and cheating), little-known snippets of Python code.

img

5. dash

Address: https://github.com/plotly/dash

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

A visualization tool that can easily implement data analysis with only a few hundred lines of Python code. One of the main tools for data visualization in the Python community. It has the characteristics of simple use, convenient expansion, active development team, etc.

img

6. wagtail

Address: https://github.com/wagtail/wagtail

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

One of the most powerful open source Django CMS (Content Management System) out there. I rarely use the word most to save time. Let's talk about how awesome it is for me. First of all, the project is actively updated and iteratively active. Secondly, the functions mentioned on the project homepage are free and there is no paid unlock. wagtail focuses on content management and does not limit the front-end implementation. The interesting StreamField technology makes your content flexible without losing structure, and even supports A/B testing. Finally, Google, NASA, they are all using this project

img

7. cutter

Address: https://github.com/rizinorg/cutter

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

Free open source reverse engineering platform. As the core engine, Rizin integrates Ghidra decompiler with simple interface and powerful functions, and is deeply loved by reverse engineers. > Supports various languages ​​and themes > Binary search > Hex editing > Python scripts and plugins > Supports Linux, macOS, Windows

img

8. pyxel

Address: https://github.com/kitao/pyxel

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

Implemented programming language based on Python retro game engine. Sample code:

# 代码中导入 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)

insert image description here

9. handcalcs

Address: https://github.com/connorferster/handcalcs

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

A tool for generating complex formulas from simple Python code. Remember the fear of being controlled by a one-line formula when writing a paper algorithm? This library can display formulas written in Python in LaTeX format, the effect is as follows:

img

10. scikit-opt

Address: https://github.com/guofei9987/scikit-opt

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

A Python code library that wraps 7 heuristic algorithms. Example code: differential evolution algorithm, genetic algorithm, particle swarm algorithm, simulated annealing algorithm, ant colony algorithm, fish swarm algorithm, immune optimization algorithm:

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()

insert image description here

Guess you like

Origin blog.csdn.net/libaiup/article/details/131472265