marimo-team /
marimo
A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Loading repository data…
passthesh3ll / repository
A Python script to translate SubRip (.srt) subtitles using AI (g4f).
A Python script to translate SubRip (.srt) subtitles using AI (g4f).
The script takes an input .srt file and translates the subtitle text from a specified input language to a specified output language, using an AI model (GPT-4) from gpt4free. The translation consists of two steps: initial (direct) translation and final adaptation, correcting translation errors and gender mismatches (based on characters names and entire translated text). The final translated subtitles are saved to a new .srt file.
⚠️ No API/token is needed using gpt4free. If srt-ai-translator can't connect to api may be a gpt4free's provider problem, I'll update the provider ASAP.
python -m venv .venv
source .venv/bin/activate
pip install g4f\[all\] argparse pycountry tqdm colorama
(Available languages: ISO 639-2 Codes)
Help:
$ python srt-ai-translator.py -h
usage: srt-ai-translator.py [-h] [-o OUTPUT_FOLDER] [--demux [DEMUX]] [--delete]
input_path input_lang output_lang
translate SRT file(s) using gpt4free.
positional arguments:
input_path input path for the .srt file or folder containing .srt files
input_lang input language (iso639): eng,fre,ita,jpn..
output_lang output language (iso639): eng,fre,ita,jpn..
options:
-h, --help show this help message and exit
-o, --output_folder OUTPUT_FOLDER
custom output folder for the .srt file(s)
--demux [DEMUX] automatically demux .srt from file(s) (default stream index is 0)
--delete delete the source .srt file after processing
Translate a single subtitle:
python srt-ai-translator.py INPUT.srt eng ita
Translate all subtitles in a folder:
python srt-ai-translator.py . eng ita
Translate all subtitles in a folder auto-demuxing srt (stream index=0):
python srt-ai-translator.py . eng ita --demux 0

Selected from shared topics, language and repository description—not editorial ratings.
marimo-team /
A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
hardikvasa /
Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!
a1studmuffin /
A Blender script to procedurally generate 3D spaceships
infinition /
Bjorn is a powerful network scanning and offensive security tool for the Raspberry Pi with a 2.13-inch e-Paper HAT. It discovers network targets, identifies open ports, exposed services, and potential vulnerabilities. Bjorn can perform brute force attacks, file stealing, host zombification, and supports custom attack scripts.
pythonnet /
Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
CadQuery /
A python parametric CAD scripting framework based on OCCT