r/Python • • Oct 13 '14

Python: rich iterator

1 Upvotes

I could not find a library to fit my needs, so I decided to write one.. (standard story)

Just in case I'm not good at searching: is there a library providing something like what I'm trying to do, so that I don't waste my time?


r/Python • • Apr 25 '13

Git support for Visual Studio

Thumbnail
hanselman.com
0 Upvotes

r/Python • • Sep 15 '21

Discussion Testing in Python sucks, let’s make it better

Thumbnail
baetia.medium.com
1 Upvotes

r/Python • • Jan 21 '24

Intermediate Showcase Open Models - Revolutionizing AI Interaction with a Unique Twist

1 Upvotes

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:

https://youtu.be/AwlCiSkzIPc

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 • • Jan 11 '24

Intermediate Showcase isolated-environment: Package Isolation Designed for AI app developers to prevent pytorch conflicts

0 Upvotes

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-environment

In 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=dQw4w9WgXcQ

r/Python • • Jul 30 '18

7 Python libraries for more maintainable code

Thumbnail
opensource.com
1 Upvotes

r/Python • • Feb 09 '11

Beware of cPickle

Thumbnail heikkitoivonen.net
1 Upvotes

r/Python • • Oct 20 '16

Just finished this masterpiece.

Thumbnail
imgur.com
1 Upvotes

r/Python • • Feb 09 '11

web2py is running on DotCloud (tutorial link in comments)

Thumbnail
web2py.dotcloud.com
1 Upvotes

r/Python • • Mar 21 '18

Please don’t use Click

Thumbnail
xion.io
0 Upvotes

r/Python • • Dec 15 '16

Top 10 Python libraries of 2015 - Tryolabs Blog

Thumbnail
tryolabs.com
1 Upvotes

r/Python • • Dec 31 '19

Today is not the last day of Python 2 support (sadly)!

Thumbnail
python.org
1 Upvotes

r/Python • • Nov 25 '24

Showcase Inviting contributors to an open source project - AI Dashboard Builder

0 Upvotes

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 • • Sep 01 '25

Discussion Looking for a study buddy in Angela Yu"s 100 Days of Python, day 32

0 Upvotes

Help

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 • • Apr 29 '12

Python is Beautiful

Thumbnail
mahdiyusuf.com
47 Upvotes

r/Python • • Feb 09 '14

Python With Braces is a thing that exists. I am disappoint.

Thumbnail
pythonb.org
4 Upvotes

r/Python • • Jan 19 '12

PHP vs. Ruby vs. Python [infographic]

Thumbnail geekndev.com
4 Upvotes

r/Python • • Apr 11 '14

Ruby is beautiful (but I'm moving to Python)

Thumbnail
wit.io
4 Upvotes

r/Python • • Sep 04 '25

Showcase I made a chat program

4 Upvotes

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 • • Jan 22 '26

Discussion Is it a bad idea to learn a programming language without writing notes?

0 Upvotes

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 • • Dec 26 '21

Beginner Showcase I create a python scripts that can rickroll anyone in just 2 lines

14 Upvotes

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.py

Have fun rickrolling!


r/Python • • Aug 23 '25

Discussion Looking for ppl to Collaborate with!!!

0 Upvotes

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 • • Jul 21 '09

Neopythonic: Progressive vs. Conservative

Thumbnail neopythonic.blogspot.com
5 Upvotes

r/Python • • Oct 09 '18

Alright sticker's on the laptop so I have to commit to learning now, lest I become a poseur ;)

Post image
73 Upvotes