What should I do next?
I want to ask you about what should I do now I want to learn backend using Python. I know python basics concepts as well some advance concepts like decorators and also OOP concepts inheritance and polymorphism I also know about basics of Django like I can create a simple to do application. I know about forms, models, urls, views and templates. But I recently I came to know that Django is used for making APIs. Now my question is what should be the next step how to learn about APIs please share any resources you know about.
/r/djangolearning
https://redd.it/1h6h8ro
I want to ask you about what should I do now I want to learn backend using Python. I know python basics concepts as well some advance concepts like decorators and also OOP concepts inheritance and polymorphism I also know about basics of Django like I can create a simple to do application. I know about forms, models, urls, views and templates. But I recently I came to know that Django is used for making APIs. Now my question is what should be the next step how to learn about APIs please share any resources you know about.
/r/djangolearning
https://redd.it/1h6h8ro
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Perplexity Pro 1 Year Vouchers (activate then pay)
Get a 1-Year Perplexity Pro Voucher for just $25 (regular price $200) through my service provider.
This includes access to advanced models like:
* Claude 3.5 Sonnet, Claude 3.5 Haiku (Opus Removed), Grok-2
* GPT-4o, o1 Mini for Reasoning & Llama 3.1
* Image generators: Flux.1, DALL-E 3, Playground v3 Stable Diffusion XL
Works globally as long as you don't have an active Pro subnoscription.
# How It Works:
1. Join the 👉[Discord](https://discord.gg/h2HUMpKxhn) of 240+ Members
2. Pay via PayPal for buyer protection.
3. I'll send you a link to redeem.
[Vouch from Buyers](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1gv38zi), [Feedback 2](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1gv3g3d), [Feedback 3](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1gu0bkm), [Feedback 4](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1g510cq), [Feedback 5](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1g6ilkh)
/r/flask
https://redd.it/1h74glb
Get a 1-Year Perplexity Pro Voucher for just $25 (regular price $200) through my service provider.
This includes access to advanced models like:
* Claude 3.5 Sonnet, Claude 3.5 Haiku (Opus Removed), Grok-2
* GPT-4o, o1 Mini for Reasoning & Llama 3.1
* Image generators: Flux.1, DALL-E 3, Playground v3 Stable Diffusion XL
Works globally as long as you don't have an active Pro subnoscription.
# How It Works:
1. Join the 👉[Discord](https://discord.gg/h2HUMpKxhn) of 240+ Members
2. Pay via PayPal for buyer protection.
3. I'll send you a link to redeem.
[Vouch from Buyers](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1gv38zi), [Feedback 2](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1gv3g3d), [Feedback 3](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1gu0bkm), [Feedback 4](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1g510cq), [Feedback 5](https://www.reddit.com/r/ChatGPTPromptGenius/comments/1g6ilkh)
/r/flask
https://redd.it/1h74glb
Discord
Join the GPT Code Shop™ Discord Server!
Welcome to GPT Code Shop! This server is your one-stop shop for Perplexity, LinkedIn & many other premium digital items. | 1011 members
What Libraries do you use for Censorship?
For example, for input open to the public such as comments, ratings, reviews etc...
What libraries, packages, and services do y'all use ? How effective were they? Any drawbacks?
/r/django
https://redd.it/1h709f8
For example, for input open to the public such as comments, ratings, reviews etc...
What libraries, packages, and services do y'all use ? How effective were they? Any drawbacks?
/r/django
https://redd.it/1h709f8
Reddit
From the django community on Reddit
Explore this post and more from the django community
💥 Tech Talks Weekly #40: newly uploaded videos from PyCon AU 2024
Hello again r/Python. I'm sharing an excerpt from the latest issue of Tech Talks Weekly with the newest PyCon AU 2024 talks, ordered by the view count for your convenience. Let me know what you think!
1. **""Switching to MongoDB: The challenges of translating database schemas" - Katie Bell (Pycon AU 2024)"** ⸱ +600 views ⸱ 28 Nov 2024 ⸱ 00h 29m 00s
2. **""How we used Python to try and save lives" - Anthony Baxter (Pycon AU 2024)"** ⸱ +300 views ⸱ 01 Dec 2024 ⸱ 00h 30m 56s
3. **""Time and Time Again" - Yaakov (Pycon AU 2024)"** ⸱ +300 views ⸱ 30 Nov 2024 ⸱ 00h 28m 10s
4. **""Student showcase" - Education Track (Pycon AU 2024)"** ⸱ +300 views ⸱ 29 Nov 2024 ⸱ 01h 40m 15s
5. **"Failsafes and Safety Fails: How to crash a train and other lessons for software engineers"** ⸱ +200 views ⸱ 29 Nov 2024 ⸱ 00h 31m 03s
6. **"Space Django: Migrating and Redesigning a Database while Hunting for Satellites."** ⸱ +200 views ⸱ 28 Nov 2024 ⸱ 00h 31m 16s
7. **"Where am I? What am I doing? Mobile App development in Python"** ⸱ +200 views ⸱ 30 Nov 2024 ⸱ 00h 29m 38s
8. **"How to
/r/Python
[https://redd.it/1h75wv7
Hello again r/Python. I'm sharing an excerpt from the latest issue of Tech Talks Weekly with the newest PyCon AU 2024 talks, ordered by the view count for your convenience. Let me know what you think!
1. **""Switching to MongoDB: The challenges of translating database schemas" - Katie Bell (Pycon AU 2024)"** ⸱ +600 views ⸱ 28 Nov 2024 ⸱ 00h 29m 00s
2. **""How we used Python to try and save lives" - Anthony Baxter (Pycon AU 2024)"** ⸱ +300 views ⸱ 01 Dec 2024 ⸱ 00h 30m 56s
3. **""Time and Time Again" - Yaakov (Pycon AU 2024)"** ⸱ +300 views ⸱ 30 Nov 2024 ⸱ 00h 28m 10s
4. **""Student showcase" - Education Track (Pycon AU 2024)"** ⸱ +300 views ⸱ 29 Nov 2024 ⸱ 01h 40m 15s
5. **"Failsafes and Safety Fails: How to crash a train and other lessons for software engineers"** ⸱ +200 views ⸱ 29 Nov 2024 ⸱ 00h 31m 03s
6. **"Space Django: Migrating and Redesigning a Database while Hunting for Satellites."** ⸱ +200 views ⸱ 28 Nov 2024 ⸱ 00h 31m 16s
7. **"Where am I? What am I doing? Mobile App development in Python"** ⸱ +200 views ⸱ 30 Nov 2024 ⸱ 00h 29m 38s
8. **"How to
/r/Python
[https://redd.it/1h75wv7
YouTube
"Switching to MongoDB: The challenges of translating database schemas" - Katie Bell (Pycon AU 2024)
(Katie Bell) So you’ve decided you want to use MongoDB!
https://pretalx.com/pycon-au-2024/talk/LGSHE8/
python, pycon, australia, programming, conference, technical, developers, panel, sessions, libraries, frameworks, community, sysadmins, students, education…
https://pretalx.com/pycon-au-2024/talk/LGSHE8/
python, pycon, australia, programming, conference, technical, developers, panel, sessions, libraries, frameworks, community, sysadmins, students, education…
How to run Flask app behind Traefik in subpath (domain.com/myapp)
Hi all,
How to run Flask app behind Traefik on subpath /myapp
I tried adding APPLICATION_ROOT=/myapp but it did not work.
/r/flask
https://redd.it/1h6x6ao
Hi all,
How to run Flask app behind Traefik on subpath /myapp
I tried adding APPLICATION_ROOT=/myapp but it did not work.
/r/flask
https://redd.it/1h6x6ao
(failed)net::ERRBLOCKEDBYORB
net::ERR\BLOCKED_BY_ORB(failed)
I am using django and fetching media files data from aws s3.
I am getting this failed network error for almost all video files(mp4, mov) but not for images in chrome when i reload page multiple time but not in mozilla firefox. but sometime(at first reload mostly) i dont get this error.
Does anbody know why this error is coming. Thanks in advance.
||
||
||
/r/django
https://redd.it/1h773yz
net::ERR\BLOCKED_BY_ORB(failed)
I am using django and fetching media files data from aws s3.
I am getting this failed network error for almost all video files(mp4, mov) but not for images in chrome when i reload page multiple time but not in mozilla firefox. but sometime(at first reload mostly) i dont get this error.
Does anbody know why this error is coming. Thanks in advance.
||
||
||
/r/django
https://redd.it/1h773yz
Reddit
From the django community on Reddit
Explore this post and more from the django community
Python binary which runs everwhere
I wanted to share some insights about an interesting project called [python-build-standalone](https://github.com/indygreg/python-build-standalone) that I've been exploring.
# What is python-build-standalone?
The **python-build-standalone** project produces fully usable Python installations that include most extension modules from the standard library. The key feature here is that it minimizes runtime dependencies.
# Why Use It?
1. **Portability**: The distributions are designed to work on any system for the targeted architecture, making it easier to deploy Python applications in diverse environments.
2. **Customizability**: Users can include build artifacts and rich metadata, which allows for downstream repackaging. This means you can create a custom Python distribution tailored to specific needs—great for embedding Python in larger binaries.
3. **Sister Project - PyOxy**: For those interested in enhancing their Python interpreter with Rust code, there's a related project called PyOxy that builds on these standalone distributions to create single-file executables.
# Getting Started
If you’re interested in trying out python-build-standalone, you can find the documentation [here](https://gregoryszorc.com/docs/python-build-standalone/main/). The documentation provides detailed instructions on how to build your own standalone Python distributions and includes examples of how to customize your builds.
# Use Cases
This tool is particularly beneficial for:
* Developers who need to distribute applications without requiring users to install Python or additional libraries.
* Projects that aim for a minimal footprint on user systems.
*
/r/Python
https://redd.it/1h78av5
I wanted to share some insights about an interesting project called [python-build-standalone](https://github.com/indygreg/python-build-standalone) that I've been exploring.
# What is python-build-standalone?
The **python-build-standalone** project produces fully usable Python installations that include most extension modules from the standard library. The key feature here is that it minimizes runtime dependencies.
# Why Use It?
1. **Portability**: The distributions are designed to work on any system for the targeted architecture, making it easier to deploy Python applications in diverse environments.
2. **Customizability**: Users can include build artifacts and rich metadata, which allows for downstream repackaging. This means you can create a custom Python distribution tailored to specific needs—great for embedding Python in larger binaries.
3. **Sister Project - PyOxy**: For those interested in enhancing their Python interpreter with Rust code, there's a related project called PyOxy that builds on these standalone distributions to create single-file executables.
# Getting Started
If you’re interested in trying out python-build-standalone, you can find the documentation [here](https://gregoryszorc.com/docs/python-build-standalone/main/). The documentation provides detailed instructions on how to build your own standalone Python distributions and includes examples of how to customize your builds.
# Use Cases
This tool is particularly beneficial for:
* Developers who need to distribute applications without requiring users to install Python or additional libraries.
* Projects that aim for a minimal footprint on user systems.
*
/r/Python
https://redd.it/1h78av5
GitHub
GitHub - astral-sh/python-build-standalone: Produce redistributable builds of Python
Produce redistributable builds of Python. Contribute to astral-sh/python-build-standalone development by creating an account on GitHub.
valkey support
Hi All, I'm thinking of moving from Redis to valkey (for a range of reasons: a) it has better thruput performance, b) it's cheaper on AWS)
Does anyone have any experience of this in Django? How seriously can I take the 'drop-in' replacement of valkey compared to redis?
/r/django
https://redd.it/1h7ash1
Hi All, I'm thinking of moving from Redis to valkey (for a range of reasons: a) it has better thruput performance, b) it's cheaper on AWS)
Does anyone have any experience of this in Django? How seriously can I take the 'drop-in' replacement of valkey compared to redis?
/r/django
https://redd.it/1h7ash1
Reddit
From the django community on Reddit
Explore this post and more from the django community
DRF + React Cookie issue
I'm trying to authenticate with DRF so the user has to be logged in to hit the API endpoints I've set up, however I'm having logistical issues with it not accurately saving the cookie I guess?
CORS_ALLOWED_ORIGINS = [
'http://localhost:3000', # If your WordPress is running on port 3000
'http://127.0.0.1:3000', # For local development
'http://127.0.0.1:8000', # For local development]
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = ['https://*.fly.dev','http://localhost:3000','localhost','localhost:3000'] # <-- Updated!
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SECURE = False # Set True for HTTPS
CSRF_COOKIE_HTTPONLY = False # Allows JavaScript access (needed if fetching manually)
CSRF_COOKIE_SAMESITE = 'None' # Adjust for your cross-origin setup
CSRF_COOKIE_DOMAIN = None # Matches the current domain (e.g., 127.0.0.1 or localhost)
SESSION_COOKIE_SECURE = False # Set True for HTTPS
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = 'Lax' # Adjust as needed for cross-origin setups
Those are my settings in settings.py.
Here is my serializer:
class UserLogin(APIView):
permission_classes = (permissions.AllowAny,)
authentication_classes = (SessionAuthentication,)
def post(self, request):
data = request.data
# Validate data using a serializer
serializer = UserLoginSerializer(data=data)
if serializer.is_valid(raise_exception=True):
email = serializer.validated_data.get('email')
password = serializer.validated_data.get('password')
# Authenticate the user
user = authenticate(request, email=email, password=password)
if user is not None:
login(request, user)
return Response(
{
"message": "Login successful",
"user": {
"username": user.username,
/r/django
https://redd.it/1h7kvbb
I'm trying to authenticate with DRF so the user has to be logged in to hit the API endpoints I've set up, however I'm having logistical issues with it not accurately saving the cookie I guess?
CORS_ALLOWED_ORIGINS = [
'http://localhost:3000', # If your WordPress is running on port 3000
'http://127.0.0.1:3000', # For local development
'http://127.0.0.1:8000', # For local development]
CORS_ALLOW_CREDENTIALS = True
CSRF_TRUSTED_ORIGINS = ['https://*.fly.dev','http://localhost:3000','localhost','localhost:3000'] # <-- Updated!
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SECURE = False # Set True for HTTPS
CSRF_COOKIE_HTTPONLY = False # Allows JavaScript access (needed if fetching manually)
CSRF_COOKIE_SAMESITE = 'None' # Adjust for your cross-origin setup
CSRF_COOKIE_DOMAIN = None # Matches the current domain (e.g., 127.0.0.1 or localhost)
SESSION_COOKIE_SECURE = False # Set True for HTTPS
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
SESSION_COOKIE_HTTPONLY = True
SESSION_COOKIE_SAMESITE = 'Lax' # Adjust as needed for cross-origin setups
Those are my settings in settings.py.
Here is my serializer:
class UserLogin(APIView):
permission_classes = (permissions.AllowAny,)
authentication_classes = (SessionAuthentication,)
def post(self, request):
data = request.data
# Validate data using a serializer
serializer = UserLoginSerializer(data=data)
if serializer.is_valid(raise_exception=True):
email = serializer.validated_data.get('email')
password = serializer.validated_data.get('password')
# Authenticate the user
user = authenticate(request, email=email, password=password)
if user is not None:
login(request, user)
return Response(
{
"message": "Login successful",
"user": {
"username": user.username,
/r/django
https://redd.it/1h7kvbb
Reddit
From the django community on Reddit
Explore this post and more from the django community
Friday Daily Thread: r/Python Meta and Free-Talk Fridays
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1h7nue4
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1h7nue4
Redditinc
Reddit Rules
Reddit Rules - Reddit
How Can Flask Help in Data-Related Roles?
Hi everyone,
I'm starting an internship in about three months as an Analytics Engineer. My mentor mentioned I'll be using Flask during the internship. I want to train and be fully prepared before I begin.
I have a few questions:
1. How does Flask help in data-related roles like mine?
2. What kind of resources should I explore to get better at Flask?
3. What types of projects should I try to build with Flask to improve my skills?
4. Do you have any ideas on where I can find project datasets or examples? I’ve checked Kaggle, but it doesn’t seem to have anything Flask-specific.
Thanks in advance for your suggestions and advice!
/r/flask
https://redd.it/1h5p7b9
Hi everyone,
I'm starting an internship in about three months as an Analytics Engineer. My mentor mentioned I'll be using Flask during the internship. I want to train and be fully prepared before I begin.
I have a few questions:
1. How does Flask help in data-related roles like mine?
2. What kind of resources should I explore to get better at Flask?
3. What types of projects should I try to build with Flask to improve my skills?
4. Do you have any ideas on where I can find project datasets or examples? I’ve checked Kaggle, but it doesn’t seem to have anything Flask-specific.
Thanks in advance for your suggestions and advice!
/r/flask
https://redd.it/1h5p7b9
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
JupyterLab 4.3 and Notebook 7.3 are available!
https://blog.jupyter.org/jupyterlab-4-3-and-notebook-7-3-are-available-eaaa7227d61b
/r/IPython
https://redd.it/1h7qu16
https://blog.jupyter.org/jupyterlab-4-3-and-notebook-7-3-are-available-eaaa7227d61b
/r/IPython
https://redd.it/1h7qu16
Medium
JupyterLab 4.3 and Notebook 7.3 are available!
JupyterLab 4.3.0 and Notebook 7.3.0 have been released! These new minor releases include many enhancements and bug fixes.
How we made Celery tasks bulletproof
Hey folks,
I just published a deep dive into how we handle task resilience at GitGuardian, where our Celery tasks scan GitHub PRs for secrets. Wanted to share some key learnings that might help others dealing with similar challenges.
**Key takeaways:**
1. Don’t just blindly retry tasks. Each type of failure (transient, resource limits, race conditions, code bugs ) needs its own handling strategy.
2. Crucial patterns we implemented:
- Ensure tasks are idempotent (may not be straightforward,
- Used `autoretry_for` with specific exceptions + backoff
- Implemented `acks_late` for process interruption protection
- Created separate queues for resource-heavy tasks
**Watch out for:**
1. Never set task_retry_on_worker_lost=True (can cause infinite retries)
2. With Redis, ensure tasks complete within visibility_timeout
3. Different behavior between prefork vs thread/gevent models for OOM handling
---
For those interested in the technical details: https://blog.gitguardian.com/celery-tasks-retries-errors/
What resilience patterns have you found effective in your Celery deployments? Any war stories about tasks going wrong in production?
/r/Python
https://redd.it/1h7xr6s
Hey folks,
I just published a deep dive into how we handle task resilience at GitGuardian, where our Celery tasks scan GitHub PRs for secrets. Wanted to share some key learnings that might help others dealing with similar challenges.
**Key takeaways:**
1. Don’t just blindly retry tasks. Each type of failure (transient, resource limits, race conditions, code bugs ) needs its own handling strategy.
2. Crucial patterns we implemented:
- Ensure tasks are idempotent (may not be straightforward,
- Used `autoretry_for` with specific exceptions + backoff
- Implemented `acks_late` for process interruption protection
- Created separate queues for resource-heavy tasks
**Watch out for:**
1. Never set task_retry_on_worker_lost=True (can cause infinite retries)
2. With Redis, ensure tasks complete within visibility_timeout
3. Different behavior between prefork vs thread/gevent models for OOM handling
---
For those interested in the technical details: https://blog.gitguardian.com/celery-tasks-retries-errors/
What resilience patterns have you found effective in your Celery deployments? Any war stories about tasks going wrong in production?
/r/Python
https://redd.it/1h7xr6s
GitGuardian Blog - Take Control of Your Secrets Security
A Deep Dive into Celery Task Resilience, Beyond Basic Retries
How to make your Celery tasks more resilient with best practices to prevent workflow interruptions and handle various failure scenarios.
pytest-fixture-forms - A new plugin to simplify testing parameter variations
Hey Python testing enthusiasts! I'm excited to share a pytest plugin I've been working on that makes testing different parameter variations much cleaner and more maintainable.
# What my project does
If you've ever found yourself writing lots of parametrized tests for different API inputs, credentials, or configuration combinations, you know it can get messy quickly. This plugin lets you organize these variations as fixture methods in a class, making your tests more structured and easier to maintain.
Here's a quick example:
class UserCredentials(FixtureForms):
@pytest.fixture
def valid_user(self):
return {"username": "john_doe", "password": "secure123"}
@pytest.fixture
def invalid_password(self):
return {"username": "john_doe", "password": "wrong"}
def test_login(user_credentials):
response = login_service.authenticate(**user_credentials.value)
if user_credentials.form == "valid_user":
assert response.status_code == 200
/r/Python
https://redd.it/1h7ztqd
Hey Python testing enthusiasts! I'm excited to share a pytest plugin I've been working on that makes testing different parameter variations much cleaner and more maintainable.
# What my project does
If you've ever found yourself writing lots of parametrized tests for different API inputs, credentials, or configuration combinations, you know it can get messy quickly. This plugin lets you organize these variations as fixture methods in a class, making your tests more structured and easier to maintain.
Here's a quick example:
class UserCredentials(FixtureForms):
@pytest.fixture
def valid_user(self):
return {"username": "john_doe", "password": "secure123"}
@pytest.fixture
def invalid_password(self):
return {"username": "john_doe", "password": "wrong"}
def test_login(user_credentials):
response = login_service.authenticate(**user_credentials.value)
if user_credentials.form == "valid_user":
assert response.status_code == 200
/r/Python
https://redd.it/1h7ztqd
Reddit
From the Python community on Reddit: pytest-fixture-forms - A new plugin to simplify testing parameter variations
Explore this post and more from the Python community
VCAT: Video Transcriber and Translator
# Have you ever wanted to share videos to your non bilingual friends? 🌎
Fear not because I (Claude) have made a noscript that does exactly that!
## What My Project Does ⚡
Type in a video URL along with the target language and the program will:
A) Download the media from the URL (Uses youtube-dlp so most websites are compatible)
B) Transcribe it (srt file output)
C) Translate it (srt file output)
D) Add subnoscripts using ffmpeg
All fully automated of course!
🔍 https://github.com/tikene/video-caption-and-translate - You can see some sample translations on my repo to get an idea of how the output video looks
## Target Audience 👥
If you have any friends who, for example, aren't fluent with English, you may have ran into some frustration when trying to share movies, videos or shows that you like. That's what motivated me to make this noscript, making it so you can easily share your interests and build human connections regardless of the language barrier (It's all about making the world a better place 💁♀️)
## Comparison 🔄
The projects I could find relating to this subject either:
- Don't accept URLs
- Don't work with long videos
- Don't add the subnoscripts directly to the video
-
/r/Python
https://redd.it/1h85e6v
# Have you ever wanted to share videos to your non bilingual friends? 🌎
Fear not because I (Claude) have made a noscript that does exactly that!
## What My Project Does ⚡
Type in a video URL along with the target language and the program will:
A) Download the media from the URL (Uses youtube-dlp so most websites are compatible)
B) Transcribe it (srt file output)
C) Translate it (srt file output)
D) Add subnoscripts using ffmpeg
All fully automated of course!
🔍 https://github.com/tikene/video-caption-and-translate - You can see some sample translations on my repo to get an idea of how the output video looks
## Target Audience 👥
If you have any friends who, for example, aren't fluent with English, you may have ran into some frustration when trying to share movies, videos or shows that you like. That's what motivated me to make this noscript, making it so you can easily share your interests and build human connections regardless of the language barrier (It's all about making the world a better place 💁♀️)
## Comparison 🔄
The projects I could find relating to this subject either:
- Don't accept URLs
- Don't work with long videos
- Don't add the subnoscripts directly to the video
-
/r/Python
https://redd.it/1h85e6v
GitHub
GitHub - tikene/video-caption-and-translate: Video URL transcriber and translator using AI. Download from Youtube and translate…
Video URL transcriber and translator using AI. Download from Youtube and translate automatically by adding subnoscripts to the video - tikene/video-caption-and-translate
ML Trading Bot that uses Ranked Ensemble Learning
I created a ML Trading Bot - trained it for a little over 3 years with 24 years of data and started it live on November 20, 2024. It's been going over a little more than 2 weeks, but it's been doing great so far - not indicative of how it will perform but it's had a great debut if you can say that.
GitHub Repo: https://github.com/yeonholee50/AmpyFin
Bot Website: https://ampyfin-website.onrender.com/
What My Project Does
In essence, the trading bot ranks the strategies and gives them weights based on their overall performance while giving slight bias to recent performance (this is so it is reactive to current market trends and adjusts accordingly). These weights determine how much influence they have on the trading strategy. That's the oversimplified explanation of how the bot works. A more denoscriptive explanation is done on the website as well as README
Target Audience
Reason why I'm posting here is because I'm currently looking for contributors who have some expertise in Python (maybe want to contribute or just interested) on the trading strategies side. The more trading and diverse strategies there are, the better the bot will perform. This project is aimed towards developers interested in contributing or just anyone interested in the
/r/Python
https://redd.it/1h7qtzs
I created a ML Trading Bot - trained it for a little over 3 years with 24 years of data and started it live on November 20, 2024. It's been going over a little more than 2 weeks, but it's been doing great so far - not indicative of how it will perform but it's had a great debut if you can say that.
GitHub Repo: https://github.com/yeonholee50/AmpyFin
Bot Website: https://ampyfin-website.onrender.com/
What My Project Does
In essence, the trading bot ranks the strategies and gives them weights based on their overall performance while giving slight bias to recent performance (this is so it is reactive to current market trends and adjusts accordingly). These weights determine how much influence they have on the trading strategy. That's the oversimplified explanation of how the bot works. A more denoscriptive explanation is done on the website as well as README
Target Audience
Reason why I'm posting here is because I'm currently looking for contributors who have some expertise in Python (maybe want to contribute or just interested) on the trading strategies side. The more trading and diverse strategies there are, the better the bot will perform. This project is aimed towards developers interested in contributing or just anyone interested in the
/r/Python
https://redd.it/1h7qtzs
GitHub
GitHub - yeonholee50/AmpyFin: Machine learning trading system that trades while also training.
Machine learning trading system that trades while also training. - yeonholee50/AmpyFin
Does Flask Support Async? When Should It Be Used?
I've been learning Flask and came across the concept of async in web frameworks. Does Flask support async functions?
If it does what are some practical scenarios where async would be useful in a Flask application? Are there any specific limitations or things to keep in mind when using it?
Would appreciate any guidance or examples to understand this better
/r/flask
https://redd.it/1h81041
I've been learning Flask and came across the concept of async in web frameworks. Does Flask support async functions?
If it does what are some practical scenarios where async would be useful in a Flask application? Are there any specific limitations or things to keep in mind when using it?
Would appreciate any guidance or examples to understand this better
/r/flask
https://redd.it/1h81041
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
PyCon US 2025 Registration Opens
Howdy Pythonistas :)
PyCon US 2025 registration and Travel Grant applications are officially open!
Early bird tickets are available until the first 500 tickets are sold or until January 6, 2025 (whichever comes first). Register today to get your discounted tickets and help us spread the word!
P.S. You can also Submit a Talk for the next 2 weeks!
- Blog Announcement
- Travel Grants
/r/Python
https://redd.it/1h89mmg
Howdy Pythonistas :)
PyCon US 2025 registration and Travel Grant applications are officially open!
Early bird tickets are available until the first 500 tickets are sold or until January 6, 2025 (whichever comes first). Register today to get your discounted tickets and help us spread the word!
P.S. You can also Submit a Talk for the next 2 weeks!
- Blog Announcement
- Travel Grants
/r/Python
https://redd.it/1h89mmg
Blogspot
PyCon US 2025 Registration Launch!
The news you’ve been waiting for is finally here - registration for PyCon US 2025 is officially open! PyCon US will take place May 14 - May ...
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1h8fj53
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1h8fj53
YouTube
Data Structures and Algorithms in Python - Full Course for Beginners
A beginner-friendly introduction to common data structures (linked lists, stacks, queues, graphs) and algorithms (search, sorting, recursion, dynamic programming) in Python. This course will help you prepare for coding interviews and assessments.
🔗 Course…
🔗 Course…
Question about route decorators
Do I have to specify the methods in both route decorators or is it okay to do it in just one of the two of my choice?
@app.route('/', methods='GET', 'POST')
@app.route('/index', methods='GET', 'POST')
@loginrequired
def index():
return rendertemplate('index.html', noscript='Home')
/r/flask
https://redd.it/1h5snak
Do I have to specify the methods in both route decorators or is it okay to do it in just one of the two of my choice?
@app.route('/', methods='GET', 'POST')
@app.route('/index', methods='GET', 'POST')
@loginrequired
def index():
return rendertemplate('index.html', noscript='Home')
/r/flask
https://redd.it/1h5snak
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Accenture interview experience 2024 | I got selected | I used to python to ace the coding round
I am a computer science student and I have multiple offeres. I have recently attended accenture interview and got selected. I have made a video on my interview experience : https://youtu.be/bq3FrksBpwc?si=3tv\_QZNOhy4yhRLy . I will share my amazon interview experience and other experiences (like Tredence) in the follow videos.
/r/Python
https://redd.it/1h8jkfc
I am a computer science student and I have multiple offeres. I have recently attended accenture interview and got selected. I have made a video on my interview experience : https://youtu.be/bq3FrksBpwc?si=3tv\_QZNOhy4yhRLy . I will share my amazon interview experience and other experiences (like Tredence) in the follow videos.
/r/Python
https://redd.it/1h8jkfc
YouTube
Accenture interview experience 2024 | Accenture interview process and questions | How I got selected
Wondering how to crack the Accenture interview. In this video, I share my Accenture interview experience, including the selection process, and tips that helped me get selected! I hope this video helps you in your placement journey.
Accenture interview 2024…
Accenture interview 2024…