下拉刷新
Python
Category

Here you can read past volumes of HelloGitHub Monthly by category. You are currently viewing the HelloGitHub Python collection.

11
Box
Star 2.6k
Fork 106
2 months ago

Advanced Dictionary Manipulation Library for Python. This is a Python library that enhances the usability of dictionaries, which is compatible with native dictionaries. It supports dot notation (dict.user.name) for easy access and assignment of values, and can automatically create missing keys to avoid KeyError exceptions.

from box import Box hg_box = Box({ "HelloGitHub": { "star": "89k", "fork": "9.5k" } }) hg_box.HelloGitHub.star # 89k hg_box.to_json(filename="hg.json") new_box = Box.from_json(filename="hg.json") new_box.keys() # dict_keys(['HelloGitHub'])
Star 4.9k
Fork 174
2 months ago

Game Modifier Management Tool. This is a powerful game modifier management tool that supports functionalities such as searching, downloading, launching, importing, and updating game modifiers.

Game-Cheats-Manager
Star 6.6k
Fork 312
2 months ago

Minimalist Bookmark Management Platform for Browsers. This project is a browser bookmark management platform built with Django, offering a clean and user-friendly web interface along with robust search capabilities. It supports tag-based categorization, batch editing, and reading it later functionalities. Additionally, it comes with Chrome and Firefox extensions, making it convenient for users to save and access bookmarks anytime, anywhere.

linkding
Star 2.1w
Fork 3.5k
2 months ago

Quickly Generate a Material-Style Documentation Site. This project is an aesthetically pleasing and feature-rich documentation site generator built on MkDocs, supporting Markdown, search, mobile adaptation, multilingualism, and other functions. It is suitable for quickly creating technical documentation, product manuals, and tutorial-style websites.

mkdocs-material
Star 5.3k
Fork 973
2 months ago

Comprehensive Browser Automation Framework. This project is a Python automation testing framework based on Selenium, integrating multiple functionalities such as web crawling, automated testing, and report generation. It provides a wealth of examples and a unique UC (User-Centric) model to help developers avoid detection when performing browser automation operations.

from seleniumbase import BaseCase BaseCase.main(__name__, __file__) class TestSimpleLogin(BaseCase): def test_simple_login(self): self.open("seleniumbase.io/simple/login") self.type("#username", "demo_user") self.type("#password", "secret_pass") self.click('a:contains("Sign in")') self.assert_exact_text("Welcome!", "h1") self.assert_element("img#image1") self.highlight("#image1") self.click_link("Sign out") self.assert_text("signed out", "#top_message")
SeleniumBase
16
buzz
Star 1.2w
Fork 934
3 months ago

Audio Transcription and Translation Tool. This project is a Whisper-based audio transcription and translation tool that is ready to use and easy to operate, supporting speech to text, audio translation, multiple languages, and offline use, suitable for macOS, Windows, and Linux platforms.

buzz
17
helium
Star 4.9k
Fork 373
3 months ago

A Python Library for Simplifying Browser Automation. This project is a lightweight Python library based on Selenium, which makes writing browser automation scripts in Python easier and more convenient by providing a higher-level and more user-friendly API, supporting Chrome and Firefox browsers.

helium
Star 1.4k
Fork 43
3 months ago

Python Hot Reloading Tool. This is a library specifically designed to provide hot reloading functionality for Python, allowing modifications and updates to Python code during runtime without the need to restart the program.

# Loop over a function jurigged --loop function_name script.py jurigged --loop module_name:function_name script.py # Only stop on exceptions jurigged --xloop function_name script.py
jurigged
Star 3.5k
Fork 205
3 months ago

Enhanced Python Sorting Collection Library. This project offers three data structures: SortedList, SortedDict, and SortedSet, which are fully compatible with the APIs of the built-in List, Dict, and Set data types in Python. Despite being written purely in Python, their performance rivals that of Python libraries implemented with C extensions.

from sortedcontainers import SortedList sl = SortedList(['e', 'a', 'c', 'd', 'b']) # sl: SortedList(['a', 'b', 'c', 'd', 'e']) sl *= 10_000_000 sl.count('c') # 10000000 sl[-3:] # ['e', 'e', 'e'] from sortedcontainers import SortedDict sd = SortedDict({'c': -3, 'a': 1, 'b': 2}) # sd: SortedDict({'a': 1, 'b': 2, 'c': -3}) sd.popitem(index=-1) # ('c', -3) from sortedcontainers import SortedSet ss = SortedSet('abracadabra') # ss: SortedSet(['a', 'b', 'c', 'd', 'r']) ss.bisect_left('c') # 2
20
radon
Star 1.7k
Fork 117
3 months ago

Python Code Quality Analysis Tool. This is a powerful Python code measurement tool that can calculate a variety of code metrics, including McCabe complexity, Halstead metrics, and maintainability index, suitable for Python code quality assessment and continuous integration scenarios.

$ radon cc sympy/solvers/solvers.py -a -nc sympy/solvers/solvers.py F 346:0 solve - F F 1093:0 _solve - F F 1434:0 _solve_system - F F 2647:0 unrad - F F 110:0 checksol - F F 2238:0 _tsolve - F F 2482:0 _invert - F F 1862:0 solve_linear_system - E F 1781:0 minsolve_linear_system - D F 1636:0 solve_linear - D F 2382:0 nsolve - C 11 blocks (classes, functions, methods) analyzed. Average complexity: F (61.0)