python4all_pro | Unsorted

Telegram-канал python4all_pro - پایتون | Data Science | Machine Learning

24693

◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم ⏮بانک اطلاعاتی پایتون پروژه / code/ cheat sheet +ویدیوهای آموزشی +کتابهای پایتون تبلیغات: @alloadv 🔁ادمین : @maryam3771

Subscribe to a channel

پایتون | Data Science | Machine Learning

Cybersecurity using #Python

#پایتون
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

یک فانکشن کاربردی برای پاک‌سازی کامل RAM سیستم و GPU VRAM از آبجکت‌هایی که در ادامه‌ی کد بهشون نیازی ندارین و مشاهده‌ی فضای اشغال‌شده‌ی GPU.

import gc
import time


def clear_memory():
# Delete variables if they exist in the current global scope
if "inputs" in globals():
del globals()["inputs"]
if "model" in globals():
del globals()["model"]
if "processor" in globals():
del globals()["processor"]
if "trainer" in globals():
del globals()["trainer"]
if "peft_model" in globals():
del globals()["peft_model"]
if "bnb_config" in globals():
del globals()["bnb_config"]
time.sleep(2)

# Garbage collection and clearing CUDA memory
gc.collect()
time.sleep(2)
torch.cuda.empty_cache()
torch.cuda.synchronize()
time.sleep(2)
gc.collect()
time.sleep(2)

print(f"GPU allocated memory: {torch.cuda.memory_allocated() / 1024**3:.2f} GB")
print(f"GPU reserved memory: {torch.cuda.memory_reserved() / 1024**3:.2f} GB")


clear_memory()



🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Candlestick Chart Plot using #Python


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

A python tool that uses GPT-4, FFmpeg, and OpenCV to automatically analyze videos, extract the most interesting sections, and crop them for an improved viewing experience.

Helps you generate YouTube Shorts from long videos by leveraging Whisper for transcription and GPT-4 for highlight extraction and vertical cropping.

What it offers:

→ Downloads videos directly from YouTube URLs.

→ Transcribes video content using Whisper for accurate text representation.

→ Extracts engaging highlights from transcriptions using GPT-4, identifying key moments.

→ Detects speakers within the video content.

→ Crops video highlights vertically, optimizing them for YouTube Shorts format.

https://github. com/SamurAIGPT/AI-Youtube-Shorts-Generator



🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

برای آشنایی با الگوریتم های ساده و پیچیده پایتون این ریپو را ببینید هر الگوریتمی بخواهید اینجا هست

https://github.com/TheAlgorithms/Python


#Python #DataScience
#MachineLearning #AI


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Auto copy paste using Python

#Python #DataScience
#MachineLearning #AI


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

25 Github Repositories Every #Python Developer Should Know

https://www.clcoding.com/2025/02/25-github-repositories-every-python.html


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

100 Python Programs for Beginner with explanation

https://pythonclcoding.gumroad.com/l/qijrws


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Learn how to secure your Wi-Fi like a pro with Python! This script helps you list connected devices, change your Wi-Fi password, and block unwanted devices using their MAC addresses.


#پایتون #python
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

🖥 DrawDB

DRAWDB is a database management system focused on visualization and data modeling!

🌟 It allows users to create databases using a graphic interface, which makes the design and interaction process more intuitively understandable. DRAWDB can be useful for developers who need to quickly create or visualize the structure of the database without in -depth knowledge #SQL.



🖥 Github




#پایتون #علم_داده
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

🖥 Ollama Python

Olma Python is a library designed to integrate projects on the Python version 3.8 and higher with the Ollama platform!

🌟 It provides a simple interface for interacting with language models, such as Llama 3.2, allowing developers to easily integrate the ability to process a natural language into their applications.

🔐 License: MIT


🖥 Github



#پایتون #python
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

4 Easy Methods for Multiplication Tables!

#پایتون #python
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

MicroPie

🖥 Micropie is an ultra-micro web frame in Python, designed to create web applications with minimal efforts!

🌟 He supports asynchronous web applications due to the implementation of the ASGI specification and provides high performance and flexibility. Among the key features of Micropie are an automatic comparison of the URL with functions, control sessions using cookies, support for templates via Jinja2 (if installed), as well as minimal dependencies, which simplifies the development and deployment of applications.

🔐 License: BSD-3-CLAUSE

🖥 Github


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Create table using Python


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

🖥 vanna

This is an open source python frame, which uses LLM to create SQL-based SQL-based language.

✔️ Everything is simple: first, teach the model on your data, and then you can ask questions in the usual language.

In response, the model gives ready-made SQL questions that can be immediately launched in your database.

⚡️ Installation:
pip install vanna

▪GitHub: https://github.com/vanna-ai/vanna


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Python Program to Check Whether a Given Number is Even or Odd using Recursion


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Jupyter Notebooks to visualize various topics in Linear Algebra

https://github.com/fastai/numerical-linear-algebra?tab=readme-ov-file



🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Checking Stocks Price Using #Python


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Automatically Generate Image CAPTCHAs with Python for Enhanced Security



#Python #DataScience
#MachineLearning #AI


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Download a File


#Python #DataScience
#MachineLearning #AI


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

3D contour plot using #Python


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Cartoonized Images using #Python


#پایتون
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

🖥 NocoDB

NoCodb is a database without an open source with an open source, which turns any relational database (MySQL, PostgreSQL, SQLITE, MSSQL, etc.) into a flexible table similar to airtable!

🌟 It allows users to manage data using a convenient web interface, create a REST API, configure representations (tables, calendars, kanban dosks) and integrate with external services.

🔐 License: AGPL-3.0


🖥 Github

#علم_داده
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

GPU-accelerated NumPy/SciPy library

🔗 https://github.com/cupy/cupy




#پایتون #علم_داده
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Python data processing framework for analytics and AI pipelines

🔗 https://github.com/pathwaycom/pathway




#پایتون #هوش_مصنوعی #علم_داده

🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Trend chart plot using Python


#پایتون #python
🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

draw a butterfly in a console using #Python



🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Free 100 Python Programs for Beginner with explanation


https://bit.ly/4gEE6gh


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

Use this prompt with Deepseek R1.

Accelerate your Python programming 10X.


🆔 @Python4all_pro

Читать полностью…

پایتون | Data Science | Machine Learning

IronCalc — is a engine for working with spreadsheets!

🌟 It includes tools for reading and writing .xlsx format files, with the possibility of integration with various programming languages, such as Python and JavaScript. The project is aimed at creating a more open and functional infrastructure for working with tables, offering developers flexibility in use both in web applications and in desktop applications.

🔐 License: Apache-2.0

🖥 Github


🆔 @Python4all_pro

Читать полностью…
Subscribe to a channel