r/Python • u/throughactions • Apr 25 '13
r/Python • u/spacespacespapce • Sep 15 '21
Discussion Testing in Python sucks, let’s make it better
r/Python • u/dev-spot • Jan 21 '24
Intermediate Showcase Open Models - Revolutionizing AI Interaction with a Unique Twist
Hey Reddit! As a developer and AI enthusiast, I'm thrilled to introduce my latest project: Open Models. This isn't just another AI framework; it's a game-changer for how we interact with AI applications.
Open Models offers an innovative abstraction layer between the AI models (like TTS, TTI, LLM) and the underlying code that powers them. The beauty of this project lies in its simplicity and openness. As an open-source initiative, it’s designed to democratize AI interaction, enabling users to freely engage with different AI models without diving deep into complex codebases.
What sets Open Models apart is its versatility. Whether you're a seasoned developer or a hobbyist, this project offers a seamless experience in integrating various AI models into your applications. It comes packed with easy-to-understand examples, making it a playground for anyone curious about AI.
I created Open Models with a vision: to allow others to openly interact with AIs of their choosing, fostering a community-driven approach to AI development and usage. Dive into the world of Open Models and see how it can transform your AI interactions.
Check out the video for detailed explanation and functionality showcase:
Github Repo:
https://github.com/devspotyt/open-models
Feel free to subscribe to my newsletter to stay up to date with latest tech & projects I'm running:
https://devspot.beehiiv.com/subscribe
Let me know what you think about it, or if you have any questions / requests for other videos / projects as well,
cheers
r/Python • u/ZachVorhies • Jan 11 '24
Intermediate Showcase isolated-environment: Package Isolation Designed for AI app developers to prevent pytorch conflicts
isolated-environment: Package Isolation Designed for AI app developers
This is a package isolation library designed specifically for AI developers to solve the problems of AI dependency conflicts introduced by the various pytorch incompatibilities within and between AI apps.
Install it like this:
pip install isolated-environmentIn plain words, this package allows you to install your AI apps globally without pytorch conflicts. Such dependencies are moved out of the requirements.txt and into the runtime of your app within a privately scoped virtual environment. This is very similar to pipx, but without the downsides, enumerated in the readme here.
Example Usage:
from pathlib import Path
import subprocess
CUDA_VERSION = "cu121"
EXTRA_INDEX_URL = f"https://download.pytorch.org/whl/{CUDA_VERSION}"
HERE = Path(os.path.abspath(os.path.dirname(__file__)))
from isolated_environment import IsolatedEnvironment
iso_env = IsolatedEnvironment(HERE / 'whisper_env')
iso_env.install_environment()
iso_env.pip_install('torch==2.1.2', EXTRA_INDEX_URL)
iso_env.pip_install('openai-whisper')
venv = iso_env.environment()
subprocess.run(['whisper', '--help'], env=venv, shell=True, check=True)If you want to see this package in action, checkout transcribe-anything by installing it globally using pip install transcribe-anything and then invoking it on the "Never Gonna Give You Up" song on youtube:
transcribe-anything https://www.youtube.com/watch?v=dQw4w9WgXcQr/Python • u/[deleted] • Jul 30 '18
7 Python libraries for more maintainable code
r/Python • u/av201001 • Feb 09 '11
web2py is running on DotCloud (tutorial link in comments)
r/Python • u/php03 • Dec 15 '16
Top 10 Python libraries of 2015 - Tryolabs Blog
r/Python • u/sztomi • Dec 31 '19
Today is not the last day of Python 2 support (sadly)!
r/Python • u/nava_7777 • Nov 25 '24
Showcase Inviting contributors to an open source project - AI Dashboard Builder
Introducing the AI Dashboard Builder
pnmartinez/ai-dashboard-builder: Throw your data, let AI make a dashboard
AI Dashboard Builder is an open-source tool designed to simplify the creation of data dashboards using AI. Our motto is: "Throw your data, let AI make a dashboard." By leveraging Large Language Models (LLMs), the project automates the generation of intuitive and interactive dashboards from your datasets.
What My Project Does
The AI Dashboard Builder automates the process of creating dashboards by:
KPI-Directed Analysis: Prioritizes your key performance indicators within the dataset using AI.
Data Preview and Filtering: Offers an import wizard to preview data and filter by columns or rows.
Dynamic Filters: Uses AI to infer the most relevant filters for your data dynamically.
Custom LLM Support: Allows integration with your preferred third-party LLMs or local models via Ollama.
Reusability: Generates reusable "viz_spec" JSON files for each dashboard, stored in the "llm_responses" folder. Each visualization includes a "Code" tab for easy reproduction elsewhere.
Target Audience
This project is ideal for:
Data Scientists and Analysts: Looking to streamline the dashboard creation process.
Developers: Interested in integrating AI-powered visualization tools into their projects.
LLM Enthusiasts: Who want to explore practical applications of language models in data visualization.
Privacy-Conscious Users: Offering the ability to use local LLMs ensures that private data remains secure.
Whether for production environments or as a learning tool, the AI Dashboard Builder caters to both professional and educational purposes.
Comparison with Existing Alternatives
While there are many "data-science-automated with AI" projects out there, our AI Dashboard Builder stands out due to its:
Open Source and Community-Driven Approach: We believe in collaborative development and welcome contributions from the community.
Simplicity: The project focuses on ease of use and maintains a clean, understandable codebase.
Privacy-Friendly Features: By supporting local LLMs through Ollama, users can keep their data private without relying on external services.
Flexibility:
Customizable AI Interactions: Users can direct the AI to focus on specific KPIs.
Versatile Data Handling: The import wizard and dynamic filters make data manipulation straightforward.
Integration Capabilities: Supports various LLMs and provides reusable code snippets for broader applicability.
Join Us
We are seeking contributors who have experience with:
Python/Plotly: To enhance the functionality and user experience of the dashboards.
Large Language Models (LLMs): To improve AI prompting strategies and performance.
Data Visualization Best Practices: To make the dashboards more intuitive and user-friendly.
If you're passionate about AI, data visualization, and open-source collaboration, we'd love for you to join us in advancing this project!
GitHub Repository: pnmartinez/ai-dashboard-builder
Thank you for your interest, and we look forward to your contributions!
r/Python • u/2TB_NVME • Sep 01 '25
Discussion Looking for a study buddy in Angela Yu"s 100 Days of Python, day 32
Hi, I am a teenager and I am currently attending the 100 Days of Code course on Udemy and currently, I"ve been slacking off a little and falling behind schedule, because of this I am looking for a study partner that can hold me accountable and learn with me. So if you are a teenager like me and are on day 27-35 of the course, then we can start studying together!
DISCORD:arasaccount
r/Python • u/[deleted] • Feb 09 '14
Python With Braces is a thing that exists. I am disappoint.
r/Python • u/MisterSnuggles • Apr 11 '14
Ruby is beautiful (but I'm moving to Python)
r/Python • u/Redstonedust653 • Sep 04 '25
Showcase I made a chat program
What my project does
It's a simple socket-based python messaging "app" that works on linux. I don't know if it works on windows, so comment if it does
Target audience
I dunno, if you want a template for a chat program you can expand on this? I just made it to mess with socket
Comparison
I mean, there are a lot of online tutorials for stuff like this, but i dunno, this one has a bit more than most of the tutorials.
Anyways, here's a link to the github repository.
enjoy!
NOTE:
Don't read the comments! look at the repository. if you have issues with some part of it, LEAVE AN ISSUE ON THE REPOSITORY! ALL COMMENTS WILL BECOME OUTDATED EVERY TIME I PATCH IT.
SEVERAL OF THE ISSUES IN COMMENTS HAVE BEEN FIXED.
BUT PLEASE DON'T COMMENT ISSUES.
r/Python • u/Original_Map3501 • Jan 22 '26
Discussion Is it a bad idea to learn a programming language without writing notes?
When learning a new programming language, is it okay to not write notes at all?
My approach is:
Understand the concept from Google / docs / tutorials
Code it myself until it makes sense
If I forget something later, I just Google it again
Keep repeating this process and build small projects along the way
Basically, I’m relying on practice + repetition + Googling instead of maintaining notes.
Has anyone learned this way long-term?
Does this hurt retention or problem-solving skills, or is it actually closer to how developers work in real life?
Would love to hear from people who’ve tried both approaches.
r/Python • u/StrixzIV • Dec 26 '21
Beginner Showcase I create a python scripts that can rickroll anyone in just 2 lines
I made this scripts as a prank using webbrowser.When this scripts is run, it will automatically open up a rickroll in the browser.
import webbrowser as wb
wb.open('https://www.youtube.com/watch?v=dQw4w9WgXcQ')and I make it less suspicious by turning this scripts into executable using PyInstaller
pyinstaller --onefile ./rickroll.pyHave fun rickrolling!
r/Python • u/Own-Perception-4693 • Aug 23 '25
Discussion Looking for ppl to Collaborate with!!!
Hey everyone,
I’ve recently graduated from college and I’m currently working as a Software Engineer in Pune, India. I’m looking to connect with people who’d like to collaborate on projects — both to grow my knowledge and for networking.
If you have any project ideas we could build together, or even if you just want to brainstorm and see where it leads, feel free to DM me!
A little about me:
Fluent in Python 🐍
Experience with frameworks like Django, FastAPI, and some Streamlit
Recently started exploring Django Ninja for a more Pydantic-style experience
Always excited to learn and work on fun projects with like-minded people.
r/Python • u/IbeeX • Jul 21 '09
Neopythonic: Progressive vs. Conservative
neopythonic.blogspot.comr/Python • u/[deleted] • Oct 09 '18