長話短說

你正在學習Python嗎?這是一片叢林!

您可以擁有任何您能想到的庫 - 從建立遊戲到建立 Web 應用程式。

透過此列表,無論您是剛剛入門還是想要深化 Python 遊戲,都可以快速了解 50 個標準 Python 庫及其用途。

介紹


1.Taipy

Taipy 旨在加快應用程式開發,從最初的原型到生產就緒的應用程式。

這個開源 Python 函式庫專為輕鬆開發前端 (GUI) 和 ML/資料管道而設計。

它程式碼量低,專為任何 pythonista 設計。

口服

https://github.com/Avaiga/taipy Star ⭐ Taipy 儲存庫

您的支持意義重大🌱,並在許多方面幫助我們,例如寫文章! 🙏


2.NumPy

對於數值計算至關重要,支援大型多維陣列和矩陣。該函式庫是 Python 版稅的一部分。

https://github.com/numpy/numpy Star ⭐ Numpy 儲存庫


3.Pandas

資料操作和分析的基石,提供直覺的資料結構和操作來操作數值表和時間序列。又一個Python不可或缺的函式庫,必知的函式庫。

https://github.com/pandas-dev/pandas Star ⭐ Pandas 儲存庫


4.Matplotlib

一種多功能工具,用於建立各種靜態、最小和互動式視覺化。有很多參數可供使用,這個函式庫在繪製 ML 和 AI 圖表時非常有用。

https://github.com/matplotlib/matplotlib Star ⭐ Matplotlib 儲存庫


5.SciPy

專注於技術和科學計算,使用 Scipy,您可以進行最佳化、整合、插值等。

https://github.com/scipy/scipy Star ⭐ SciPy 儲存庫


6.Scikit-learn

機器學習的首選庫,提供廣泛的監督和無監督學習演算法。開始機器學習時您應該了解的唯一庫。

https://github.com/scikit-learn/scikit-learn Star ⭐ Scikit-learn 儲存庫


7.TensorFlow

機器學習的綜合框架提供了各種工具、庫和社區資源。學習曲線可能有點陡峭,但在 Python 和 ML 領域中了解 TF 很重要。

https://github.com/tensorflow/tensorflow Star ⭐ TensorFlow 儲存庫


8.PyTorch

由於其靈活性,提供動態神經網路建立和操作,因此受到學術研究和生產的青睞。

https://github.com/pytorch/pytorch Star ⭐ PyTorch 儲存庫


9.Keras

用於建立和訓練深度學習模型的高級 API,旨在促進神經網路的建構和使用。

https://github.com/keras-team/keras Star ⭐ Keras 儲存庫


10.requests

簡化了發出 HTTP 請求的過程,使 Web 抓取和 API 消費更容易存取。

https://github.com/psf/requests Star ⭐ 請求儲存庫


11.Beautiful Soup

一種網頁抓取工具,有助於從 HTML 和 XML 文件中提取資料。

https://github.com/waylan/beautifulsoup Star ⭐ Beautiful Soup 儲存庫


12.Flask

一個輕量級且可擴展的 Web 框架,非常適合建立中小型 Web 應用程式。

https://github.com/pallets/flask Star ⭐ Flask 儲存庫


13.Django

這個高級框架專為快速開發和簡潔、實用的設計而設計。

https://github.com/django/django Star ⭐ Django 儲存庫


14.Selenium

該程式庫使 Web 瀏覽器自動化,從而能夠模擬實際使用者操作以測試 Web 應用程式。

https://github.com/SeleniumHQ/selenium Star ⭐ Selenium 儲存庫


15.Pygame

提供用於編寫視訊遊戲的 Python 模組,包括圖形和聲音庫。

https://github.com/pygame/pygame Star ⭐ Pygame 儲存庫


16.Pillow

擴充Python圖像庫功能,支援各種圖像檔案格式。

https://github.com/python-pillow/Pillow Star ⭐ Pillow 儲存庫


17.SQLAlchemy

本函式庫提供了一整套透過 Python 處理資料庫的工具,提供了強大的 ORM 層和 SQL 表達式語言。

https://github.com/sqlalchemy/sqlalchemy Star ⭐ SQLAlchemy 儲存庫


18.PySpark

從名稱中可以看出,該程式庫將 Apache Spark 的強大功能引入了 Python,透過 Pythonic 方法促進大資料處理和分析。

https://github.com/apache/spark Star ⭐ PySpark 儲存庫


19.dash

允許直接在 Python 中建立分析 Web 應用程式,無需深入了解 Web 開發。

https://github.com/plotly/dash Star ⭐ dash 儲存庫


20.Plotly

專注於建立適合網路和行動應用程式的互動式且具有視覺吸引力的圖形和圖表。

https://github.com/plotly/plotly.py Star ⭐ Plotly 儲存庫


21. Nltk

該庫使自然語言處理變得易於存取且易於使用。

https://github.com/nltk/nltk Star ⭐ Nltk 儲存庫


22.SpaCy

提供工業級自然語言處理能力以及針對多種語言的預訓練模型。

https://github.com/explosion/spaCy Star ⭐ SpaCy 儲存庫


23.Gensim

專注於無監督主題建模和自然語言處理,您可以使用該程式庫來分析文件相似性。

https://github.com/RaRe-Technologies/gensim Star ⭐ Gensim 儲存庫


24.PyTest

一個強大的框架,用於編寫小型到複雜的功能測試,增強測試的可讀性和可維護性。

https://github.com/pytest-dev/pytest Star ⭐ PyTest 儲存庫


25.單元測試

用於建置和執行測試的內建框架,反映了其他語言中的 xUnit 架構。

Unitest 是內建的。


26.Fabric

簡化應用程式部署或系統管理任務的 SSH,自動執行遠端 shell 命令。

https://github.com/fabric/fabric Star ⭐ Fabric 儲存庫


27.Vizzu

Vizzu 旨在動畫資料視覺化和講故事,是建立動態和互動式圖表的首選庫。

https://github.com/vizzuhq/vizzu-lib Star ⭐ Vizzu 儲存庫


28.Polars

針對效能和效率進行最佳化的 DataFrame 庫,能夠輕鬆處理大型資料集。

https://github.com/pola-rs/polars Star ⭐ Polars 儲存庫


29.Docker -Py

提供對 Docker Remote API 的 Pythonic 存取,從而實現 Docker 容器管理的自動化。

https://github.com/docker/docker-py Star ⭐ Docker-Py 儲存庫


30.OpenCV

電腦視覺和影像處理的主要內容,提供一整套演算法和工具。

https://github.com/opencv/opencv Star ⭐ OpenCV 儲存庫


31.Scikit-image

它致力於影像處理,將 SciPy 和 NumPy 的功能擴展到視覺領域。

https://github.com/scikit-image/scikit-image Star ⭐ Scikit-image 儲存庫


32.SymPy

該庫專為符號計算而設計,提供從代數求解到微積分的各種功能。

https://github.com/sympy/sympy Star ⭐ SymPy 儲存庫


33.Virtualenv

對於建立隔離的 Python 環境和乾淨地管理專案依賴至關重要。

https://github.com/pypa/virtualenv Star ⭐ Virtualenv 儲存庫


34.Click

簡化命令列介面的建立,促進可組合且易於擴展的程式碼。

https://github.com/pallets/click 為 Click 儲存庫加註星標


35. argparse

促進命令列參數的解析,這對於 CLI 應用程式開發至關重要。

Argparse 是內建的。


36.日誌記錄

提供靈活的日誌記錄系統,從簡單的日誌記錄到複雜的每個模組配置。

日誌記錄是內建的。


37.PyYAML

處理 YAML 文件,支援 Python 物件與 YAML 之間的序列化和反序列化。

https://github.com/yaml/pyyaml Star ⭐ PyYAML 儲存庫


38.xlrd /xlwt

非常適合讀取和寫入 Excel 文件,彌補了 Python 和 Excel 文件之間的差距。

https://github.com/python-excel/xlrd Star ⭐ xlrd 儲存庫

https://github.com/python-excel/xlwt Star ⭐ xlwt 儲存庫


39. Pandas 分析

從 pandas 產生全面的配置文件報告

https://github.com/pandas-profiling/pandas-profiling Star ⭐ Pandas-Profiling 儲存庫


40.全面品質管理

Tqdm 是任何循環的包裝器,它將透過進度條追蹤進度。

https://github.com/tqdm/tqdm Star ⭐ TQDM 儲存庫


41.Faker

需要看起來真實的假資料嗎? Faker 為你提供支援。

https://github.com/joke2k/faker Star ⭐ Faker 儲存庫


42.Flake8

一個必備的庫,可以使您的程式碼保持簡潔,並輕鬆實現樣式檢查。

https://github.com/PyCQA/flake8 Star ⭐ Flake8 儲存庫


43.Black

將您的程式碼格式提升到一個新的水平。

https://github.com/psf/black Star ⭐ Black 儲存庫


44.Mypy

這就像有一位文法老師來教你的程式碼,但教你的類型。

https://github.com/python/mypy Star ⭐ Mypy 儲存庫


45.Pydantic

驗證 Python 腳本所需的函式庫。

https://github.com/samuelcolvin/pydantic Star ⭐ Pydantic 儲存庫


46.FastAPI

FastAPI 是一個用於建立 RESTful API 的 Web 框架。

https://github.com/tiangolo/fastapi Star ⭐ FastAPI 儲存庫


47.Catboost

為您的機器學習模型提供處理分類資料的方法。

https://github.com/catboost/catboost Star ⭐ Catboost 儲存庫


48.Seaborn

提高資料可視化水準。

https://github.com/mwaskom/seaborn Star ⭐ Seaborn 儲存庫


49.**Turtle graphics **

透過酷炫的圖形和動畫將程式設計帶入生活。學習並開始使用 Python 的好方法。

Turtle graphics 是內建的。


50.Asciimatics

Asciimatics 是一個可讓您建立全螢幕文字 UI 的程式庫。

https://github.com/peterbrittain/asciimatics Star ⭐ Asciimatics 儲存庫


原文出處:https://dev.to/taipy/python-libraries-you-need-to-know-in-2024-37ka


共有 0 則留言