پایتون ( Machine Learning | Data Science )
23.8K subscribers
488 photos
59 videos
103 files
347 links
◀️اینجا با تمرین و چالش با هم پایتون رو یاد می گیریم

بانک اطلاعاتی پایتون
پروژه / code/ cheat sheet
+ویدیوهای آموزشی

+کتابهای پایتون
تبلیغات:
@alloadv

🔁ادمین :
@maryam3771
Download Telegram
🖥 Python interpreter written in Python in 500 lines of code

Byterun is a Python interpreter. While working on Byterun, the author discovered that the fundamental structure of the Python interpreter easily fits within the 500-line size limit. This article examines the structure of the interpreter and provides context for further study.

 The goal is not to explain everything there is to know about interpreters - as in many other interesting areas of programming and computer science - you can spend years developing a deep understanding of this topic.

Byterun was written by Ned Batchelder, drawing on the work of Paul Schwartz. Its structure is similar to Python's main implementation, CPython, so understanding Byterun will help you understand interpreters in general and the CPython interpreter in particular.

Article: https://aosabook.org/en/500L/a-python-interpreter-written-in-python.html

Github: https://github.com/nedbat/byterun

🆔 @Python4all_pro
👍2🔥1
معرفی کتاب ترفندها و ابزارهای پایتون برای دانشمندان داده

با انجام پروژه های این کتاب می تونید پایتون رو بهتر یاد بگیرید و با دنیای علم داده بهتر آشنا شوید :

+۷۰۰ نکته برای کدنویسی بهتر در پایتون
+۱۵۰ مقاله علم داده
راهنمای کار با کتابخانه های محبوب دانشمندان داده

👉https://github.com/khuyentran1401/Efficient_Python_tricks_and_tools_for_data_scientists

📌https://codecut.ai/

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

🆔 @Python4all_pro
2
VizTracer: A tool to trace and visualize Python code execution, logging function entries/exits, arguments, return values, and variables, with support for threading, multiprocessing, and async operations

https://github.com/gaogaotiantian/viztracer

#python

🆔 @Python4all_pro
👍3
python-sortedcontainers - A library of Python collections that support automatic sorting: SortedList, SortedDict and SortedSet!

🌟 These data structures are implemented in pure Python but provide performance comparable to C libraries. The library stands out for its ease of use, no compilation required, and efficient operations such as insertion, deletion, and lookup that run faster than linear time.

🔐 License: Apache-2.0

🖥 Github


#python #library

🆔 @Python4all_pro
👍1
🖥 Githubkit

When you call the GitHub API, you manually process HTTP requests, tokens, and JSON responses, which is time-consuming and error-prone.


githubkit, a Python library, provides a clean, typed interface for interacting with the GitHub API


pip install githubkit
# or, use poetry
poetry add githubkit
# or, use pdm
pdm add githubkit
# or, use uv
uv add githubkit



Example:
from githubkit import Response
from githubkit.versions.latest.models import FullRepository

resp: Response[FullRepository] = github.rest.repos.get("owner", "repo")
repo: FullRepository = resp.parsed_data
print(repo.full_name)


Github
Documentation


🆔 @Python4all_pro
👍1
Ollama-OCR: A Python package and Streamlit app using Ollama's vision language models to extract text from images in various formats, with batch processing and local privacy

https://github.com/imanoop7/Ollama-OCR


#python

🆔 @Python4all_pro
🔥2
Learn Python and Machine Learning



#Python #Machine_Learning


🆔 @Python4all_pro
👍5🔥1
Python Cheat-Sheet - A Quick Reference Guide for Programmers



#cheat_sheet #Python


🆔 @Python4all_pro
👍3
Audio to Text using Python

#code #Python

🆔 @Python4all_pro
👍5🔥4
Screen recorder using Python



#code #Python

🆔 @Python4all_pro
👍52
Animated Scatter Plot using Python



#code #Python

🆔 @Python4all_pro
👍1🔥1🙏1
🖥 Magic Wormhole
Magic Wormhole is a library and command line utility for securely transferring files, folders or text between computers!

🌟 The transfer process is organized using unique “wormhole codes” that are easy to pronounce and entered manually or through auto-completion. These codes are one-time use, which ensures a high level of security.

🔐 License: MIT


🖥 Github


#library #Python

🆔 @Python4all_pro
3