TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #296 · 11.04

Паттерн Декоратор — специальный способ организации модулей в программе, который позволяет подставить какую-то новую функцию прямо в середину цепочки вызовов, тем самым чуть-чуть подкорректировав поведение. Например, в реальном мире очки для чтения это декоратор. Вы ставите их между вашими глазами и текстом. Глобально взаимодействие ваших глаз и текста не меняется: отражённые световые лучи от страницы книги попадают в ваши зрачки, что с очками, что без них. Но очки располагаются посередине: они принимают лучи на вход и преломляют их, передавая дальше вам в глаза уже изменёнными. Важной особенностью является тот факт, что очки можно снять. Они не требуют ни модификации вашего тела, ни модификации книги. Вообще никакие условия не нужны, кроме наличия самих очков. А если вы в линзах, то внешний наблюдатель может даже этого не знать. Класс-декоратор должен быть спроектирован так, чтобы не требовать никаких изменений в объектах, с которыми он работает. Его можно отключить, чаще всего буквально закомментировав одну строку. В примере ниже программа выведет текст "Привет, мир, в натуре.", и вот это дополнение в конце как раз дописано декоратором. Можно убрать или закомментировать подчёркнутую строчку, не трогая остальной код, для всех внешних вызовов сигнатуры останутся теми же самыми, но выводиться будет уже просто "Привет, мир". В декораторы можно прятать логику, которую буквально навешивают поверх основной функции программы. Например, проверку прав на выполнение операции. Перевод на другой язык, логирование, поддержку обратной совместимости при обновлении и так далее. #dev

Hashtags

Резултати

Намерени 9 подобни публикации

Търсене: #python3

当前筛选 #python3清除筛选
Data Science Jobs

@datasciencejobs · Post #1474 · 18.05.2023 г., 18:03

#job#remote#django4#python3 В IT стартап требуется Middle+ Python разработчик Формат работы: - удалённая Занятость: - фулл-тайм (удаленно) Компания: - CIAT International Ссылка на ресурс компании: - pick2me.com Зарплатная вилка: - $2000-$2500 Описание вакансии: Привет, мы – IT стартап Pick2Me. Сейчас мы в поисках коллеги, который станет частью нашей команды. Ищем человека, который всей душой любит свое дело. Если ты инициативный, амбициозный, открытый к новым знаниям и вызовам, то милости просим 😉 Стэк технологий python: - Python 3 и Django 4. - Django REST Framework. - Git, gitflow. - Redis , Celery, Centrifugo and Postgres. - Docker and Docker compose. Контакты: @mianastiia Гетьман Анастасия Не забудь уточнить, что ты из @datasciencejobs

djangoproject

@djangoproject · Post #582 · 17.03.2018 г., 05:18

http://www.paulbrownmagic.com/blog/vslambda Python has support for #lambda functions, Haskell is built upon lambda calculus. The two are not the same and this is the reason why lambda should have been removed in #Python3. This post examines the differences, reviews the use in Python, and offers a more pythonic, honest syntax. #learn

GitHub Trends

@githubtrending · Post #15221 · 14.10.2025 г., 13:30

#python#agent#context_engineering#electron#embedding_models#memory#proactive_ai#python#python3#rag#react#vector_database#vision_language_model MineContext is a special AI tool that helps you work more efficiently. It collects information from your computer screen and other sources, then uses this data to give you useful insights, summaries, and reminders. This helps you stay organized and focused on important tasks. MineContext is also very private because it stores all your data on your local device, not in the cloud. It's like having a personal assistant that helps you manage your digital life better. https://github.com/volcengine/MineContext

GitHub Trends

@githubtrending · Post #15254 · 31.10.2025 г., 11:30

#python#agent_framework#data_analysis#deep_research#deep_search#llms#multi_agent_system#nlp#public_opinion_analysis#python3#sentiment_analysis You can use the "Weibo Public Opinion Analysis System" (called "微舆") to automatically analyze public opinion from over 30 major social media platforms and millions of comments. It uses AI agents working together to monitor, search, analyze text and videos, and generate detailed reports based on real-time data. The system supports easy setup, custom models, and integration with your own databases, helping you understand public sentiment, trends, and make better decisions. It offers continuous monitoring, deep multi-angle analysis, and flexible report generation, all accessible by simply asking questions like chatting. This saves you time and gives clear insights into public opinion dynamics. https://github.com/666ghj/BettaFish

GitHub Trends

@githubtrending · Post #15547 · 07.03.2026 г., 13:30

#python#agent_memory#financial_forecasting#future_prediction#knowledge_graph#llms#multi_agent_simulation#public_opinion_analysis#python3#social_prediction#swarm_intelligence MiroFish is a simple AI tool that predicts anything by creating a digital world from your data like news, policies, or stories. Upload seed info and describe what you want to predict; it builds thousands of smart agents with personalities and memories to interact, simulate futures, and give you a detailed report plus chat access. You benefit by testing decisions risk-free—like policy impacts or story endings—making smart choices or fun ideas win through safe, accurate previews. https://github.com/666ghj/MiroFish

GitHub Trends

@githubtrending · Post #14721 · 19.05.2025 г., 12:01

#python#cli#cti#cybersecurity#forensics#hacktoberfest#information_gathering#infosec#linux#osint#pentesting#python#python3#reconnaissance#redteam#sherlock#tools Sherlock is a powerful tool that helps you find social media accounts by username across over 400 networks. It's easy to use and works on many operating systems like macOS, Linux, and Windows. You can install it using methods like `pipx` or Docker, and then simply type the username you want to search for. Sherlock will show you where that username is used on different social media platforms. This tool is useful for gathering information quickly and can be run locally or even online through services like Apify. It saves time and effort in finding accounts across many platforms. https://github.com/sherlock-project/sherlock

GitHub Trends

@githubtrending · Post #14761 · 29.05.2025 г., 13:00

#python#api#async#asyncio#fastapi#framework#json#json_schema#openapi#openapi3#pydantic#python#python_types#python3#redoc#rest#starlette#swagger#swagger_ui#uvicorn#web FastAPI is a modern Python web framework for building fast, reliable APIs that is easy to learn and quick to code, making it ready for production use right away. It uses standard Python type hints, which means you get automatic data validation, fewer bugs, and great editor support with code completion and type checks. FastAPI also generates interactive documentation automatically, so you and your team can understand and test your API easily. The main benefit is that you can develop robust, high-performance APIs much faster and with less effort, while reducing errors and making your code easier to maintain[1][2][3]. https://github.com/fastapi/fastapi

GitHub Trends

@githubtrending · Post #15436 · 25.01.2026 г., 12:00

#python#amd#anime#compression_artifact_reduction#deep_learning#directx_12#gui_application#intel#manga#noise_reduction#nvidia#onnx#onnxruntime#opencv#python#python3#pytorch#super_resolution#video#video_processing#windows QualityScaler is a free Windows AI app that upscales, enhances, and denoises your images and videos with a simple drag-and-drop GUI. It supports formats like JPG, PNG, MP4, MKV; works offline on any DirectX12 GPU (4GB+ VRAM, 8GB RAM); and offers features like multi-GPU use, resize, interpolation, and stop/resume. Download from itch.io, Steam, or GitHub. Benefit: Quickly turn low-quality photos/videos into sharp HD masterpieces privately on your PC, saving time and money vs. online tools. https://github.com/Djdefrag/QualityScaler