程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

A collection of Python practical and interesting projects on GitHub (I) - the last one I dont believe you dont love

編輯:Python

rembg

Star 3.1k Watch 58 Fork 518

https://github.com/danielgatis/rembg

Six lines of code to achieve matting , Simple and easy to understand

Simple and practical delete image background / Corel Knockout

# Mode one :Input and output as bytes
from rembg import remove
input_path = 'input.png'
output_path = 'output.png'
with open(input_path, 'rb') as i:
with open(output_path, 'wb') as o:
input = i.read()
output = remove(input)
o.write(output)
# Mode two :Input and output as a PIL image
from rembg import remove
from PIL import Image
input_path = 'input.png'
output_path = 'output.png'
input = Image.open(input_path)
output = remove(input)
output.save(output_path)
# Mode three :Input and output as a numpy array
from rembg import remove
import cv2
input_path = 'input.png'
output_path = 'output.png'
input = cv2.imread(input_path)
output = remove(input)
cv2.imwrite(output_path, output)

Python

Star 134.9k Watch 6.0k Fork 35.4k

https://github.com/TheAlgorithms/Python

use Python Implement all algorithms

This project uses Python Language to implement a collection of various algorithms , Mainly used for education and learning . Include search 、 Sort 、 data structure 、 machine learning 、 password 、 Neural network and so on

Hitomi-Downloader

Star 7.9k Watch 142 Fork 943 chinese

https://github.com/KurtBestor/Hitomi-Downloader

Python Write a desktop download tool

The interface is simple and easy to use , Have a download speed limit 、BT seeds 、 Automatically extract web video and other functions , Support downloading the contents of multiple domestic video websites

30-Days-Of-Python

Star 9.4k Watch 483 Fork 2.2k

https://github.com/Asabeneh/30-Days-Of-Python

free 、 Zero based Python course .

Nanny level Python Although the course content is in English , But it's not a big problem. Please rest assured

Tkinter-Designer

Star 3.9k Watch 46 Fork 335

https://github.com/ParthJadhav/Tkinter-Designer

Create beautiful desktop software by dragging

Its operation is very simple , First, in the Figma Websites build applications by dragging and dropping , Then the designed application address and token Input to Tkinter-Designer Automatic generation Python Code , Finally, you can get a desktop application with a simple and generous interface . No code based tkinter Desktop applications

moviepy

Star 9.2k Watch 243 Fork 1.2k

https://github.com/Zulko/moviepy

For processing video Python library

It supports video editing 、 Custom effects 、 Video synthesis 、 Format conversion 、 Insert text and other functions . Focus on video, but not limited to this , It also supports processing audio and video GIF picture . Although there are many tools for video editing now , But if you want to batch process video , use Python+moviepy Writing a script should be done once and for all , Save time

bigdata_analyse

Star 1.7k Watch 33 Fork 338 chinese

https://github.com/TurboWay/bigdata_analyse

Collection of big data analysis practical projects

The project includes Taobao 、 Rent a house 、 Recruitment and other data analysis examples , It's not just Python、SQL、HQL Instance code , The data set download address is also attached . Students who want to learn big data , If everything is ready, I'll send you to learn

Pillow

Star 9.7k Watch 211 Fork 1.8k

https://github.com/python-pillow/Pillow

One of the most popular Python Image processing library

It was born because PIL In disrepair , Now in 2011 Maintenance stopped in , So open source enthusiasts are PIL On the basis of Pillow. The library supports rich image formats and powerful image processing functions , If you want to use Python Process images , It's definitely the best choice

from PIL import Image
# open jpg image file 
im = Image.open('hellogithub.jpg')
# Convert to black and white image 
grayscale = tatras.convert('L')
# Show the image 
grayscale.show()

guietta

Star 1.9k Watch 31 Fork 92

https://github.com/alfiopuglisi/guietta

For making simple GUI programmatic Python library

Write in a simpler way GUI( Graphical user interface ) Program

from guietta import _, Gui, Quit
gui = Gui(
[ "Enter numbers:", "__a__", "+", "__b__", ["Calculate"] ],
[ "Result: -->", "result", _, _, _ ],
[ _, _, _, _, Quit ]
)
with gui.Calculate:
gui.result = float(gui.a) + float(gui.b)
gui.run()

magic-wormhole

Star 14.5k Watch 217 Fork 529

https://github.com/magic-wormhole/magic-wormhole

A tool that can safely transfer files to another computer with a single command

be based on PAKE(Password-Authenticated Key Exchange) The protocol realizes the encrypted transmission of files in the public network , Only one command is needed to send and receive

BaoTa

Star 3.4k Watch 99 Fork 840 chinese

https://github.com/aaPanel/BaoTa

pagoda Linux Server operation and maintenance management platform

Simple and easy to use server operation and maintenance platform , One click support LNMP install 、 Management cluster 、 Website 、 Database and other functions , It can effectively improve the standardization and security of operation , Reduce the probability of error . This open source project is a free version , There is also a paid professional version
# pygame

Star 4.7k Watch 158 Fork 2.1k

https://github.com/pygame/pygame

Used to develop games Python library

Pygame It's been updated for years , There are plenty of tutorials and materials on the Internet , Although in the field of game development Python Just a little brother , But if you just use this library to develop a 2D Small game is very easy . Recommend to want to use Python Friends who write a little game

Airtest

Star 6.1k Watch 213 Fork 989 chinese

https://github.com/AirtestProject/Airtest

Cross platform for mobile applications UI Automation framework

Positioning elements based on image recognition , It may be easy to test without a single line of code APP Or brush the game


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved