Media is too big
VIEW IN TELEGRAM
#AI #LLM #Prompt #Prompt_Engineering #POML #Microsoft
🆔 @LLM_Ops
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤39👍6
This media is not supported in your browser
VIEW IN TELEGRAM
#AI #Site #STT #Transcribe
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤22👍5
Media is too big
VIEW IN TELEGRAM
DT Protect PDF
#pdf #python
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤30👍8
the_war_of_the_worlds_protected.pdf
921.6 KB
The War of the Worlds
〰️ داریوش تصدیقی
〰️ حسین روزبهانی
#pdf #python #llm #llmops #lmops #ebook #e_book
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤25👍13
Media is too big
VIEW IN TELEGRAM
#AI #Movie
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤32👍10
با احترام
داریوش تصدیقی
#LM #LLM #LMOps #LLMOps
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤49👍13
Install_4_5.bat
33.6 KB
یک یادگاری ارزشمند، تقدیم به همه عزیزان ایرانی...
#WinGet #Install
🆔 @Dariush_Tasdighi
🆔 @LLM_Ops
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤28👍7
Media is too big
VIEW IN TELEGRAM
https://news.1rj.ru/str/IranianExperts/1048
اولین فیلم آموزشی، در خصوص فلسفه و نحوه تولید صفحات Markdown تقدیم حضور میگردد.
#LM #LLM #LMOps #LLMOps
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤29👍2
... و فقط خدا میداند که برای تولید تصاویری، بسیار بسیار سادهتر از این تصویر، به چه میزان، طراحان و گرافیستهای عزیز و گرامی، مرا در طی این سالها، حرص دادهاند!
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤47👍13
Media is too big
VIEW IN TELEGRAM
#python #free #application #source_code #movie
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤24👍5
This media is not supported in your browser
VIEW IN TELEGRAM
#python #free #application #source_code #password #password_manager #cyber_security
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤22👍8
the_willows_protected.pdf
8.9 MB
〰️ نام کتاب: The Willows
〰️ نویسنده: Algernon Blackwood
〰️ یه رمان در سبک گوتیک
#python #book #ebook #ai #translate #LM #LMOps #LLM #LLMOps
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤15👍4
Audio
#ai #agent #ai_agent #mcp #mcp_server #mcp_client #LM #LMOps #LLM #LLMOps
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤31👍10
#python #free #application #source_code #password #password_manager #cyber_security
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤19👍3
Audio
#python #free #source_code #lm #lmops #llm #llmops #tts #text_to_speech
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤15👍3
زمانی که ذهنهای خلاق، هوش مصنوعی خلق میکنند، متاسفانه، ذهنهای کودن و متوهم، ذهنهای مستعد را مایوس کرده، و ذهنهای خلاق را فراری میدهند!
〰️ داریوش تصدیقی - هفتم / بهمنماه / ۱۴۰۴
python -m pip install -U pip
python -m pip install -U yt-dlp
python ./app.py
import os
from pathlib import Path
from yt_dlp import YoutubeDL
BASE_DOWNLOAD_PATH: str = "./downloads"
def download_playlist(
base_dir: str,
playlist_id: str,
):
"""
Download a YouTube playlist in order, up to 1080p, with English subnoscripts
if available. Creator ID is automatically extracted from playlist metadata.
"""
playlist_url: str = f"https://www.youtube.com/playlist?list={playlist_id}"
# Step 1: Extract playlist metadata (without downloading)
with YoutubeDL(params={"quiet": True}) as ydl:
info = ydl.extract_info(url=playlist_url, download=False)
# Extract creator/uploader identifier safely
creator_id = (
info.get("uploader_id")
or info.get("uploader")
or "unknown_creator"
)
# Step 2: Build directory structure
# base_dir / creator_id / playlist_id
playlist_path = Path(base_dir) / creator_id / playlist_id
playlist_path.mkdir(parents=True, exist_ok=True)
# Archive file to track downloaded videos
archive_file = playlist_path / "downloaded.txt"
ydl_opts = {
# Best video up to 1080p + best audio, then merge
"format": "bestvideo[height<=1080]+bestaudio/best[height<=1080]",
# Preserve playlist order in filenames
"outtmpl": str(
playlist_path / "%(playlist_index)02d - %(noscript)s.%(ext)s"
),
# Playlist handling
"noplaylist": False,
"yesplaylist": True,
# Merge output format
"merge_output_format": "mp4",
# Error handling
"ignoreerrors": True,
"retries": 3,
# Archive to avoid re-downloading videos
"download_archive": str(archive_file),
# Subnoscript settings
"writesubnoscripts": True,
"writeautomaticsub": True,
"subnoscriptslangs": ["en"],
"subnoscriptsformat": "vtt",
}
with YoutubeDL(ydl_opts) as ydl:
ydl.download([playlist_url])
def main() -> None:
"""
The main of program
"""
os.system(command="cls" if os.name == "nt" else "clear")
playlist_ids: list[str] = [
"PLNJUbRWljtkb0AzjG0s78goCg0xOaI9KK",
"PLgt_9NUA44-Xu6-IbAE9DDti53hhx2ltM",
]
for playlist_id in playlist_ids:
download_playlist(
playlist_id=playlist_id,
base_dir=BASE_DOWNLOAD_PATH,
)
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
pass
except Exception as error:
print(f"\n[-] {error}!")
print()
#python #download #source_code #youtube #playlist
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤87👍8
گاهی ممکن است که بخواهید یک فایل PowerShell، با پسوند ps1. را (مانند فایلهای Batch File با پسوند bat.) اجرا نمایید.
به عنوان مثال، زمانی که میخواهید محیط Virtual Environment را با دستور Windows PowerShell ذیل، فعال نمایید:
.\.venv\Scripts\activate
اگر تنظیمات Windows خودتان را قبلا تغییر نداده باشید، احتمالا با خطای ذیل مواجه خواهید شد:
... .ps1 cannot be loaded because running noscripts is disabled on this system. ...
برای حل این مشکل، ابتدا محیط Windows PowerShell را در حالت Run as Administrator باز کرده و دستور ذیل را بنویسید، تا وضعیت سیستم شما مشخص شود:
Get-ExecutionPolicy
به احتمال زیاد، با پیغام Restricted مواجه خواهید شد!
برای حل مشکل مذکور، دستور ذیل را بنویسید:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
حال اگر مجددا دستور Get-ExecutionPolicy را اجرا نمایید، پیغام RemoteSigned را خواهید دید و انشاءالله مشکلتان برطرف شده است.
#VSCode #PowerShell #Security #Cyber_Security
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤17👍6
〰️ نسخه مقاله: ۱.۲
عزیزانی که در حوزه وب (Frontend / Backend) کار میکنند و یا دوستانی که در حوزه امنیت سایبری (Cyber Security) مشغول هستند، معمولا در خصوص یک سری از اصطلاحات، دچار اشتباه و یا بیدقتی میشوند. حتی در بعضی از فیلمها و یا حتی مستندات آموزشی نیز بیدقتیهای زیادی در خصوص بعضی از نکات و اصطلاحات فنی دیده میشود!
# URL: Uniform Resource Locator
# - Sample: https://api.iranianexperts.ir:8080/users/list?name=dariush&age=53#History
#
# Scheme (Protocol) : https
# - Common schemes: http, https, ftp, mailto, file, ...
# - Note: Not all schemes use "://host" (e.g., mailto)
#
# Domain : iranianexperts.ir
#
# Sub Domain : api
#
# Host / Host Name / FQDN : api.iranianexperts.ir
#
# Port : 8080
# - Port Range : 1-65535
# - Default port for HTTP : 80
# - Default port for HTTPS : 443
# - Non-default port must be explicitly specified in the URL
#
# Path : /users/list
# - Logical path, not necessarily a real file!
#
# Query String : name=dariush&age=30
# - Key-value pairs, URL-encoded: key1=value1&key2=value2&...
# - Example of URL encoding : name=dariush%20ahmadi
#
# Fragment : History
# - It is used only on the client side and is not sent to the server!
# - It is used to identify a section within a web page, or for single-page
# applications (SPAs) to manage navigation (routing) without reloading the page.
#URL #Web #Cyber_Security #Backend #Frontend #Network
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤21👍11
#python #free #application #source_code #check_internet #check_internet_status #cyber_security
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - Dariush-Tasdighi/DT_APP_Python_Check_Internet_Status: DT APP Python Check Internet Status
DT APP Python Check Internet Status. Contribute to Dariush-Tasdighi/DT_APP_Python_Check_Internet_Status development by creating an account on GitHub.
❤28👍6
〰️ نسخه مقاله: ۱.۲
python app.py
import os
import shutil
from typing import Final
PATH: Final[str] = "./data"
NO_EXTENSION_NAME: Final[str] = "no_extension"
def main() -> None:
"""Program entry point."""
os.system(command="cls" if os.name == "nt" else "clear")
if not os.path.exists(path=PATH):
print(f"[-] The directory '{PATH}' does not exist!")
return
items: list[str] = os.listdir(path=PATH)
for item in items:
source_file_path: str = f"{PATH}/{item}"
if not os.path.isfile(path=source_file_path):
continue
_, extension = os.path.splitext(p=source_file_path)
extension = extension[1:].strip().lower()
if not extension:
extension = NO_EXTENSION_NAME
destination_path = f"{PATH}/{extension}"
os.makedirs(name=destination_path, exist_ok=True)
shutil.move(src=source_file_path, dst=destination_path)
print("Done!")
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
pass
except Exception as exception:
print(f"[-] {exception}!")
#python #source_code #file_organizer
🆔 @Dariush_Tasdighi
🆔 @LLM_OPS
🆔 @IranianExperts
🆔 @DT_PYTHON_LEARNING
.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤15👍4