下拉刷新

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

Star 8.2k
Vol.115
a day ago

Open Source IaC Static Code Analysis Tool.This is a static code analysis tool for Infrastructure as Code (IaC), aiming to help developers detect and prevent cloud infrastructure configuration errors and security vulnerabilities during the construction phase. It supports static detection of IaC files for multiple cloud platforms such as AWS, Azure, GCP, and Kubernetes (such as Terraform, CloudFormation, Kubernetes YAML, etc.), and can also analyze security risks in container images and open source dependency packages.

checkov
Star 4.3w
Vol.115
20 hours ago

Multi-format Document Parsing and Export Tool.This is a Python tool open-sourced by IBM, specifically designed to convert various documents into formats suitable for generative AI. It can export multiple popular document formats such as PDF, DOCX, PPTX, images, HTML, and Markdown into Markdown and JSON formats. It supports multiple OCR engines (for PDF) and a unified document object (DoclingDocument), and can be easily integrated into retrieval-augmented generation (RAG) and question-answering applications. It is suitable for scenarios where documents need to be used as input for generative AI models.

from docling.document_converter import DocumentConverter

source = "https://arxiv.org/pdf/2408.09869"  # PDF path or URL
converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown())  # output: "### Docling Technical Report[...]"
docling
Star 851
Vol.115
9 days ago

Real-time NVIDIA GPU Web Monitoring Panel.This is a real-time NVIDIA GPU monitoring dashboard developed based on FastAPI, supporting multiple GPU indicators such as utilization, memory, temperature, power consumption, and fan speed. It pushes data in real-time through WebSocket and supports multi-GPU, single-machine, and GPU cluster environments. It can be deployed with one click through Docker.

gpu-hot
Star 660
Vol.115
a month ago

Cross-platform Borderless Window Based on PyQt5.This project is a cross-platform borderless window component based on PyQt/PySide. While achieving the borderless window effect, it retains the basic functions of the window and is compatible with Windows, Linux, and macOS. It also supports window effects such as Acrylic and Mica.

import sys

from PyQt5.QtWidgets import QApplication
from qframelesswindow import FramelessWindow


class Window(FramelessWindow):

    def __init__(self, parent=None):
        super().__init__(parent=parent)
        self.setWindowTitle("PyQt-Frameless-Window")
        self.titleBar.raise_()


if __name__ == '__main__':
    app = QApplication(sys.argv)
    demo = Window()
    demo.show()
    sys.exit(app.exec_())
PyQt-Frameless-Window
Star 2.2k
Vol.115
8 days ago

Quark Netdisk Auto Saving Tool.This is a Python-developed Quark Netdisk automation tool that supports functions such as netdisk sign-in, automatic saving, file naming and organizing, push reminders, and automatic refreshing of Emby media libraries.

quark-auto-save
6
lutris
Star 9.3k
Vol.114
a day ago

Open-Source Linux Gaming Platform.This is a game management platform designed specifically for Linux users, written in Python. It offers a user-friendly interface that greatly simplifies the process of game installation and configuration on Linux, allowing users to easily install and manage a variety of games. It supports connections to multiple gaming platforms such as Steam, GOG, Humble Bundle, and also has the capability to run Windows games.

lutris
Star 9.1k
Vol.114
4 days ago

Python Library for Easily Extracting PDF Text and Tables.This project is a Python-based PDF parsing and data extraction library that can easily extract text and tables. It is able to accurately obtain detailed positions, sizes and font information of each character, line, rectangle and other elements in the PDF document, and supports one-click generation of page snapshots for convenient debugging.

pdfplumber
8
pydoll
Star 6k
Vol.114
15 hours ago

WebDriver-Free Browser Automation Python Library.This is a Python library for automating Chromium-based browsers. It controls browsers directly through the native DevTools Protocol (CDP) without relying on WebDriver. It supports bypassing captchas and simulating human interactions.

import asyncio

from pydoll.browser import Chrome
from pydoll.constants import Key

async def baidu_search(query: str):
    async with Chrome() as browser:
        tab = await browser.start()
        await tab.go_to('https://www.baidu.com')
        search_box = await tab.find(tag_name='textarea', id='chat-textarea')
        await search_box.insert_text(query)
        await search_box.press_keyboard_key(Key.ENTER)
        await asyncio.sleep(5)

asyncio.run(baidu_search('HelloGitHub'))
Star 1.9w
Vol.114
2 days ago

Create Applications Directly in the Browser Using Python.This project allows developers to directly use the Python programming language within HTML files, similar to how JavaScript files are included and executed. It supports MicroPython, common third-party libraries, and manipulation of page elements, making it suitable for quickly creating interactive data visualizations, website prototypes, and web applications for online education.

<head>
    <link rel="stylesheet" href="./core.css"/>
    <script type="module" src="./core.js"></script>
</head>
<body>
    <script type="py" terminal>
        from pyscript import display
        display("HelloGitHub!") # this goes to the DOM
        print("Hello terminal") # this goes to the terminal
    </script>
</body>
pyscript
10
tinyio
Star 681
Vol.114
a month ago

Extremely Easy-to-Use Python Event Loop Library.This is a lightweight Python event loop library with approximately 300 lines of code, providing developers with a more concise and easy-to-use asynchronous programming experience than asyncio.

import tinyio

def slow_add_one(x: int):
    yield tinyio.sleep(1)
    return x + 1

def foo():
    four, five = yield [slow_add_one(3), slow_add_one(4)]
    return four, five

loop = tinyio.Loop()
out = loop.run(foo())
assert out == (4, 5)