r/Python 3d ago

Daily Thread Wednesday Daily Thread: Beginner questions

3 Upvotes

Weekly Thread: Beginner Questions 🐍

Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.

How it Works:

  1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
  2. Community Support: Get answers and advice from the community.
  3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.

Guidelines:

Recommended Resources:

Example Questions:

  1. What is the difference between a list and a tuple?
  2. How do I read a CSV file in Python?
  3. What are Python decorators and how do I use them?
  4. How do I install a Python package using pip?
  5. What is a virtual environment and why should I use one?

Let's help each other learn Python! 🌟


r/Python 4d ago

Showcase ☕ BeatPrints, create eye-catching, pinterest-style music posters effortlessly

48 Upvotes

Github | Documentation | PyPi

Hey r/Python !

I just released a project called BeatPrints, a tool for creating pinterest-style music posters for your favorite tracks. It pulls data from Spotify, grabs lyrics using lrclib’s API, and lets you generate posters that really stand out.

What My Project Does

BeatPrints makes it simple to generate beautiful music posters for free. It fetches songs or albums from Spotify and lets you create custom lyric-based or album-themed posters.

Target Audience

This is for anyone who loves collecting song posters as keepsakes or wants unique music art to decorate their room. It's a very niche project, as you can see.

Comparison

Unlike paid services like Etsy, BeatPrints is completely free, open-source :>

I made this tool so people can easily create music posters without spending money. Check it out and let me know what you think!


r/Python 4d ago

Showcase A smart dollhouse that understands natural language commands and uses MicroPython, REST, LLMs

34 Upvotes

What My Project Does: I created a smart dollhouse that can understand commands in any language and control IoT devices through natural conversation. Using a Raspberry Pi Pico W running MicroPython, I implemented a REST API server that controls LEDs, motors, and sensors. The system uses LLMs to translate natural language commands (in any language!) into API calls. For example, you can say "turn on the yellow LED" in English, "ĐČыĐșлючО жДлтыĐč led" in Russian, or "Apaga la led amarilla" in Spanish, and the system will understand and execute the command.

Target Audience: This is primarily an educational/demonstration project aimed at:

  • Python developers interested in IoT and LLMs
  • Makers and hobbyists looking to experiment with natural language interfaces
  • Anyone learning about REST APIs and microcontrollers
  • Students and educators exploring practical applications of LLMs

Comparison: While there are many IoT projects using voice assistants like Alexa (which I started with), my approach differs in several ways:

  1. Language Flexibility: Unlike Alexa, which requires exact phrases, this system understands natural language in any language
  2. Lightweight Implementation: Uses Microdot instead of Flask, making it suitable for microcontrollers
  3. HATEOAS Implementation: Implements proper REST API design principles for better discoverability
  4. Open Architecture: Unlike commercial solutions, this is fully open-source and customizable
  5. Educational Value: Demonstrates the integration of multiple technologies (IoT, LLMs, REST) in a comprehensible way

The project is open-source and available on GitHub. I've documented the full journey and implementation details in an article.

Would love to hear your thoughts and suggestions for improvements!


r/Python 4d ago

Showcase Hi guys! Today I am releasing my first project and wanted some reviews on it.

32 Upvotes

What My Project Does:

My project is a simple but useful life manager, some of the things that you can do on it are:

ADD TASKS: You can add some task with a time limit and coin reward, ex: "Study for the finals, 2 days, 50 coins".

CREATE REWARDS: Also, you can create buyable rewards in the shop, example: "Watch a movie, cost: 40 coins".

KEEP TRACK OF YOUR PRODUCTIVITY: The system automatically keep track of the amount of tasks completed by day and plot them at a graph.

Target Audience:

Its meant for anyone that struggles with procrastination and productivity.

Comparison:

I wanted to create my own to make it as simple as possible to use, at the same time of maintaing the important features, tasks tracking and a clear UI

If you have some suggestion I would love to hear it and I really hope that this project helps someone out there.

So, if you want to take a look at it, its in my github at this link: https://github.com/Gabriel-Dalmolin/life_manager


r/Python 3d ago

Discussion Constructors: __init__, __new__, both, neither?

0 Upvotes

Hi all, I'm doing some research on what programmers believe is the class constructor in Python. I made a poll here: https://strawpoll.com/05ZdzVzdmn6 and would appreciate all responses, thanks!


r/Python 4d ago

Resource Experiments in scaling RAPIDS GPU libraries with Ray

26 Upvotes

Experimental work scaling RAPIDS GPU Python libraries with Ray:
https://developer.nvidia.com/blog/accelerating-gpu-analytics-using-rapids-and-ray/


r/Python 4d ago

Showcase Sec Bot: Configurable Discord Bot that notifies you of new filings

11 Upvotes

What my project does:

Discord Bot that monitors the SEC for new filings, and pushes it to the discord channel(s) of your choice.

Features:

  • Filter by submission type (e.g. form 3,4,5, 10-K, etc.)
  • Filter by company (e.g. Apple, META,...)

Target Audience:

People interested in finance, stocks, investing, who want a free (open-source) way to keep track of regulatory disclosures.

Comparison:

I'm not aware of other open source solutions. There is a free solution provided by CapEdge, but they limit how many companies / form types you can keep track of.

Links: GitHub


r/Python 4d ago

Daily Thread Tuesday Daily Thread: Advanced questions

3 Upvotes

Weekly Wednesday Thread: Advanced Questions 🐍

Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.

How it Works:

  1. Ask Away: Post your advanced Python questions here.
  2. Expert Insights: Get answers from experienced developers.
  3. Resource Pool: Share or discover tutorials, articles, and tips.

Guidelines:

  • This thread is for advanced questions only. Beginner questions are welcome in our Daily Beginner Thread every Thursday.
  • Questions that are not advanced may be removed and redirected to the appropriate thread.

Recommended Resources:

Example Questions:

  1. How can you implement a custom memory allocator in Python?
  2. What are the best practices for optimizing Cython code for heavy numerical computations?
  3. How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?
  4. Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?
  5. How would you go about implementing a distributed task queue using Celery and RabbitMQ?
  6. What are some advanced use-cases for Python's decorators?
  7. How can you achieve real-time data streaming in Python with WebSockets?
  8. What are the performance implications of using native Python data structures vs NumPy arrays for large-scale data?
  9. Best practices for securing a Flask (or similar) REST API with OAuth 2.0?
  10. What are the best practices for using Python in a microservices architecture? (..and more generally, should I even use microservices?)

Let's deepen our Python knowledge together. Happy coding! 🌟


r/Python 5d ago

Showcase PipeFunc: Build Lightning-Fast Pipelines with Python - DAGs Made Easy

108 Upvotes

Hey r/Python!

I'm excited to share pipefunc (github.com/pipefunc/pipefunc), a Python library designed to make building and running complex computational workflows incredibly fast and easy. If you've ever dealt with intricate dependencies between functions, struggled with parallelization, or wished for a simpler way to create and manage DAG pipelines, pipefunc is here to help.

What My Project Does:

pipefunc empowers you to easily construct Directed Acyclic Graph (DAG) pipelines in Python. It handles:

  1. Automatic Dependency Resolution: pipefunc intelligently determines the correct execution order of your functions, eliminating manual dependency management.
  2. Lightning-Fast Execution: With minimal overhead (around 15 ”s per function call), pipefunc ensures your pipelines run blazingly fast.
  3. Effortless Parallelization: pipefunc automatically parallelizes independent tasks, whether on your local machine or a SLURM cluster. It supports any concurrent.futures.Executor!
  4. Intuitive Visualization: Generate interactive graphs to visualize your pipeline's structure and understand data flow.
  5. Simplified Parameter Sweeps: pipefunc's mapspec feature lets you easily define and run N-dimensional parameter sweeps, which is perfect for scientific computing, simulations, and hyperparameter tuning.
  6. Resource Profiling: Gain insights into your pipeline's performance with detailed CPU, memory, and timing reports.
  7. Caching: Avoid redundant computations with multiple caching backends.
  8. Type Annotation Validation: Ensures type consistency across your pipeline to catch errors early.
  9. Error Handling: Includes an ErrorSnapshot feature to capture detailed information about errors, making debugging easier.

Target Audience:

pipefunc is ideal for:

  • Scientific Computing: Streamline simulations, data analysis, and complex computational workflows.
  • Machine Learning: Build robust and reproducible ML pipelines, including data preprocessing, model training, and evaluation.
  • Data Engineering: Create efficient ETL processes with automatic dependency management and parallel execution.
  • HPC: Run pipefunc on a SLURM cluster with minimal changes to your code.
  • Anyone working with interconnected functions who wants to improve code organization, performance, and maintainability.

pipefunc is designed for production use, but it's also a great tool for prototyping and experimentation.

Comparison:

  • vs. Dask: pipefunc offers a higher-level, more declarative way to define pipelines. It automatically manages task scheduling and execution based on your function definitions and mapspecs, without requiring you to write explicit parallel code.
  • vs. Luigi/Airflow/Prefect/Kedro: While those tools excel at ETL and event-driven workflows, pipefunc focuses on scientific computing, simulations, and computational workflows where fine-grained control over execution and resource allocation is crucial. Also, it's way easier to setup and develop with, with minimal dependencies!
  • vs. Pandas: You can easily combine pipefunc with Pandas! Use pipefunc to manage the execution of Pandas operations and parallelize your data processing pipelines. But it also works well with Polars, Xarray, and other libraries!
  • vs. Joblib: pipefunc offers several advantages over Joblib. pipefunc automatically determines the execution order of your functions, generates interactive visualizations of your pipeline, profiles resource usage, and supports multiple caching backends. Also, pipefunc allows you to specify the mapping between inputs and outputs using mapspecs, which enables complex map-reduce operations.

Examples:

Simple Example:

```python from pipefunc import pipefunc, Pipeline

@pipefunc(output_name="c") def add(a, b): return a + b

@pipefunc(output_name="d") def multiply(b, c): return b * c

pipeline = Pipeline([add, multiply]) result = pipeline("d", a=2, b=3) # Automatically executes 'add' first print(result) # Output: 15

pipeline.visualize() # Visualize the pipeline ```

Parallel Example with mapspec:

```python import numpy as np from pipefunc import pipefunc, Pipeline from pipefunc.map import load_outputs

@pipefunc(output_name="c", mapspec="a[i], b[j] -> c[i, j]") def f(a: int, b: int): return a + b

@pipefunc(output_name="mean") # no mapspec, so receives 2D c[:, :] def g(c: np.ndarray): return np.mean(c)

pipeline = Pipeline([f, g]) inputs = {"a": [1, 2, 3], "b": [4, 5, 6]} result_dict = pipeline.map(inputs, run_folder="my_run_folder", parallel=True) result = load_outputs("mean", run_folder="my_run_folder") # can load now too print(result) # Output: 7.0 ```

Getting Started:

I'm eager to hear your feedback and answer any questions you have. Give pipefunc a try and let me know how it can improve your workflows!


r/Python 4d ago

Resource Interstice Python package

0 Upvotes

Hey everyone,
I’m thrilled to announce the release of a Python package for Interstice! This package allows you to input a seed and get the turn count as output. It’s perfect for anyone participating in the Interstice Challenge currently running at bananajump.com/interstice.

Whether you're strategizing, analyzing, or just having fun experimenting with different seeds, this tool is designed to make things easier and more efficient.

You can find the package https://pypi.org/project/interstice/, and I’d love to hear your feedback or see how you’re using it!

Good luck in the competition, and happy coding!


r/Python 5d ago

Daily Thread Monday Daily Thread: Project ideas!

11 Upvotes

Weekly Thread: Project Ideas 💡

Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.

How it Works:

  1. Suggest a Project: Comment your project idea—be it beginner-friendly or advanced.
  2. Build & Share: If you complete a project, reply to the original comment, share your experience, and attach your source code.
  3. Explore: Looking for ideas? Check out Al Sweigart's "The Big Book of Small Python Projects" for inspiration.

Guidelines:

  • Clearly state the difficulty level.
  • Provide a brief description and, if possible, outline the tech stack.
  • Feel free to link to tutorials or resources that might help.

Example Submissions:

Project Idea: Chatbot

Difficulty: Intermediate

Tech Stack: Python, NLP, Flask/FastAPI/Litestar

Description: Create a chatbot that can answer FAQs for a website.

Resources: Building a Chatbot with Python

Project Idea: Weather Dashboard

Difficulty: Beginner

Tech Stack: HTML, CSS, JavaScript, API

Description: Build a dashboard that displays real-time weather information using a weather API.

Resources: Weather API Tutorial

Project Idea: File Organizer

Difficulty: Beginner

Tech Stack: Python, File I/O

Description: Create a script that organizes files in a directory into sub-folders based on file type.

Resources: Automate the Boring Stuff: Organizing Files

Let's help each other grow. Happy coding! 🌟


r/Python 5d ago

Showcase Python Youtube album downloader (Downloads video and splits it up into songs based on timestamps)

7 Upvotes

Purpose: Chrome fuckin sucks with memory so listening to music on YouTube uses so much ram. During exams, it gets kinda long and the amount by which it heats up gets me scared. BUTTTTT, Spotify is much better at playing music, so if only there was a way to listen to videos only on YouTube but on Spotify instead????? (there probably is but I couldn't find one that did it my way).

What My Project Does: A Python script that allows you to download an album from YouTube and split it up into songs, using a timestamps file as a reference. Note the "album" must be a YouTube video and not a playlist unfortunately :(

Target Audience: This is for anyone willing to use it. I kinda created it for myself but thought to post it here anyways

Comparison: Uses a lot of ffmpeg, so I guess that's the similar program? It's not exactly on par with any crazy video editing software but it does the job.

The only thing that kinda sucks is that the timestamps have to be in a certain format otherwise it wont work, I couldn't be asked/ couldn't think of a way to make a REGEX for it. But yh check it out here. It's a lot of chatGPT and hella shody coding but it does the job. I made it for myself but thought I'd share it in the hopes that it could help someone. So check it out, let me know if there are any immediate improvements that make it 10x better.


r/Python 4d ago

Discussion Python broke my system update today.

0 Upvotes

I really don't have this problem with any other language. Just Python. Always breaking, not pulling all dependencies. Etc.

I'm on Arch Linux and do rolling updates all the time. Looks like Python 3.13 was just pushed out and my update could not complete until I fixed the Python breakages. Not too hard to do -- just manually include the dependencies it missed. Still...!

It also tripped up over my early playing around with Python 3.13. I had to uninstall that before the normal Python updates could proceed at all.

What is it about the Python ecosystem that makes it so fragilistic? Python has been around for a long time for these snafus to be addressed.

I don't have problems like this with Haskell, Ruby, C++... just Python.


r/Python 6d ago

Resource Effective Python Developer Tooling in December 2024

198 Upvotes

I wrote a post of developer tooling I like at the moment: https://pydevtools.com/blog/effective-python-developer-tooling-in-december-2024/


r/Python 5d ago

Showcase AndroidSecretary - Your personal, context-aware AI SMS secretary for Android

0 Upvotes

Hello!

I just released a new project of mine, AndroidSecretary. It uses Flask for its backend, so Python was yet again of great use for this!

What My Project Does

This project provides you with an AI assistant that responds to your SMS messages contextually. It is customizable and can respond for you when you are not available.

Target Audience

Anyone with an Android device supported by the Automate app can have fun and utilize Android Secretary.

Also, this is not meant to be used by the average person. It is meant for developers to use for educational purposes only.

Comparison So far, there are not many (if any) projects that do what AndroidSecretary does. For reference of features:

  1. Ollama & OpenAI Support (with ollama, an external computer more powerful than the phone is likely needed to run more context-wise LLM's, unless you have a phone at least 12 GB of RAM)
  2. Context-based assistant responses to messages received.
  3. Customization:
    1. Name your assistant
    2. Limit the max amount of messages per hour per user
    3. Blacklist and allowlist features (allowlist overrides blacklist)
    4. Block spam feature (provided you give phone contact permissions to Automate)
    5. Optional reason why you are not available, to let senders briefly know what you are doing.
    6. Possibility of doing much more as well!

Setup and Usage

Here is the project link on Github:

AndroidSecretary

For setup and usage, you can head directly to the SETUP.md file, also on the Github, of course.

Demo

If you would like to see a demo of the project and what it can do, head over to the demo video that can be found directly on the README file.

Many Thanks

Thank you to Automate for making Android APIs very simple to make use of. Very convenient application!

Also, thanks to all of you for your interest in AndroidSecretary!


r/Python 6d ago

Discussion Spotipy - has anyone used it before?

10 Upvotes

Hi all -

Has anyone used Spotipy? I'm just a bit concerned that I'd be giving my username and password to something I haven't wrote myself - I'm used to using random scripts off github, but it gives me pause to hand over my details

am I just being silly?


r/Python 6d ago

Showcase PyMo - Python Motion Visualizer CLI

8 Upvotes

Hello, I have build a motion visualizer in python as a CLI script.

What My Project Does: It extracts frames from a video, offsets them and blends them using difference (blend mode from Image and Video Editing Software), applies a few filters and exports a new video.

Target Audience: This is for anyone willing to use it, mostly for fun. If you are comfortable with running scripts in a terminal, you are the target audience. I have mostly created it to see the movement of my vape clouds and that is fun and interesting.

Comparison: As this process can be achieved in any video editing software, even blender, there is not much of a comparison. The only thing that my project does, is the post processing. It just runs contrast and denoise, but that brings out details, which video editing software mostly won't give you (At least from my experience).

This was just a fun project for me which got me to learn and understand tqdm and opencv2.

Check it out at my Github Repo: https://github.com/TheElevatedOne/pymo


r/Python 6d ago

News [Release 0.4.0] TSignal: A Flexible Python Signal/Slot System for Async and Threaded Python—Now with

29 Upvotes

Hey everyone!

I’m thrilled to announce TSignal 0.4.0, a pure-Python signal/slot library that helps you build event-driven applications with ease. TSignal integrates smoothly with async/await, handles thread safety for you, and doesn’t force you to install heavy frameworks.

What’s New in 0.4.0

Weak Reference Support

You can now connect a slot with weak=True. If the receiver object is garbage-collected, TSignal automatically removes the connection, preventing memory leaks or stale slots in long-lived applications:

```python

Set weak=True for individual connections

sender.event.connect(receiver, receiver.on_event, weak=True)

Or, set weak_default=True at class level (default is True)

@t_with_signals(weak_default=True) class WeakRefSender: @t_signal def event(self): pass

Now all connections from this sender will use weak references by default

No need to specify weak=True for each connect call

sender = WeakRefSender() sender.event.connect(receiver, receiver.on_event) # Uses weak reference

Once receiver is GC’d, TSignal cleans up automatically.

```

One-Shot Connections (Optional)

A new connection parameter, one_shot=True, lets you disconnect a slot right after its first call. It’s handy for “listen-once” or “single handshake” scenarios. Just set:

python signal.connect(receiver, receiver.handler, one_shot=True)

The slot automatically goes away after the first emit.

Thread-Safety Improvements

TSignal’s internal locking and scheduling mechanisms have been refined to further reduce race conditions in high-concurrency environments. This ensures more robust behavior under demanding multi-thread loads.

From Basics to Practical Use Cases

We’ve expanded TSignal’s examples to guide you from simple demos to full-fledged applications. Each example has its own GitHub link with fully commented code.

For detailed explanations, code walkthroughs, and architecture diagrams of these examples, check out our Examples Documentation.

Basic Signal/Slot Examples

Multi-Threading and Workers

  • thread_basic.py and thread_worker.py
    • walk you through multi-threaded setups, including background tasks and worker loops.
    • You’ll see how signals emitted from a background thread are properly handled in the main event loop or another thread’s loop.

Stock Monitor (Console & GUI)

  • stock_monitor_simple.py

    • A minimal stock monitor that periodically updates a display. Perfect for learning how TSignal can orchestrate real-time updates without blocking.
  • stock_monitor_console.py

    • A CLI-based interface that lets you type commands to set alerts, list them, and watch stock data update in real time.
  • stock_monitor_ui.py

    • A more elaborate Kivy-based UI example showcasing real-time stock monitoring. You'll see how TSignal updates the interface instantly without freezing the GUI. This example underscores how TSignal’s thread and event-loop management keeps your UI responsive and your background tasks humming.

Together, these examples highlight TSignal’s versatility—covering everything from quick demos to production-like patterns with threads, queues, and reactive UI updates.

Why TSignal?

Pure Python, No Heavy Frameworks TSignal imposes no large dependencies; it’s a clean library you can drop into your existing code.

Async-Ready

Built for modern asyncio workflows; you can define async slots that are invoked without blocking your event loop.

Thread-Safe by Design

Signals are dispatched to the correct thread or event loop behind the scenes, so you don’t have to manage locks.

Flexible Slots

Connect to class methods, standalone functions, or lambdas. Use strong references (the usual approach) or weak=True.

Robust Testing & Examples

We’ve invested heavily in test coverage, plus we have real-world examples (including a GUI!) to showcase best practices.

Quick Example

```python from tsignal import t_with_signals, t_signal, t_slot

@twith_signals class Counter: def __init_(self): self.count = 0

@t_signal
def count_changed(self):
    pass

def increment(self):
    self.count += 1
    self.count_changed.emit(self.count)

@t_with_signals class Display: @t_slot def on_count_changed(self, value): print(f"Count is now: {value}")

counter = Counter() display = Display() counter.count_changed.connect(display, display.on_count_changed) counter.increment()

Output: "Count is now: 1"

```

Get Started

  • GitHub Repo: TSignal on GitHub
  • Documentation & Examples: Explore how to define your own signals and slots, integrate with threads, or build a reactive UI.
  • Issues & PRs: We welcome feedback, bug reports, and contributions.

If you’re building async or threaded Python apps that could benefit from a robust event-driven approach, give TSignal a try. We’d love to know what you think—open an issue or share your experience!

Thanks for checking out TSignal 0.4.0, and happy coding!


r/Python 6d ago

Discussion Any tips to improve my simple "game"

9 Upvotes

hey, i did the ib diploma in highschool and for my computer science project i made a simple 2d game, but due to deadlines i kinda rushed it, (here is the github link) now that i finished highschool i have more time and id like to redo it from scratch and do something that im proud of, if you could give me any tips on what i could add and how to improve it it would be extremely helpful, thank you everyone and have a wonderful weekend.


r/Python 7d ago

Showcase Built my own link customization tool because paying $25/month wasn't my jam

182 Upvotes

Hey folks! I built shrlnk.icu, a free tool that lets you create and customize short links.

What My Project Does: You can tweak pretty much everything - from the actual short link to all the OG tags (image, title, description). Plus, you get to see live previews of how your link will look on WhatsApp, Facebook, and LinkedIn. Type customization is coming soon too!

Target Audience: This is mainly for developers and creators who need a simple link customization tool for personal projects or small-scale use. While it's running on SQLite (not the best for production), it's perfect for side projects or if you just want to try out link customization without breaking the bank.

Comparison: Most link customization services out there either charge around $25/month or miss key features. shrlnk.icu gives you the essential customization options for free. While it might not have all the bells and whistles of paid services (like analytics or team collaboration), it nails the basics of link and preview customization without any cost.

Tech Stack:

  • Flask + SQLite DB (keeping it simple!)
  • Gunicorn & Nginx for serving
  • Running on a free EC2 instance
  • Domain from Namecheap ($2 - not too shabby)

Want to try it out? Check it at shrlnk.icu

If you're feeling techy, you can build your own by following my README instructions.

GitHub repo: https://github.com/nizarhaider/shrlnk

Enjoy! 🚀

EDIT 1: This kinda blew up. Thank you all for trying it out but I have to answer some genuine questions.

EDIT 2: Added option to use original url image instead of mandatory custom image url. Also fixed reload issue.


r/Python 6d ago

Discussion Creating my own password manager bc I can

0 Upvotes

I started off with creating a CLI app and want to slowly move into making a desktop app, a web app, and a mobile app so I can just host my db and encryption key somewhere and be done with it. I was wondering if anyone can take a peek and give me some criticisms here and there since I don't normally create apps in python: https://github.com/mariaalexissales/password-manager


r/Python 7d ago

Showcase bnap4000 - A simple music player made in made with true randomness in mind.

19 Upvotes

I have been working on a terminal music player for Linux and Windows. Feel free to suggest or report bugs on GitHub.

What does my project do: It's meant to be a simple, lightweight music player that runs right in your terminal. It's main purpose is to play music randomly and stay out of your way, you just drop music into your music folder and let it play.

Target Audience: Mostly meant for slightly tech savvy people who want something that won't take up a ton of resources, it only uses ~60mb of RAM on my system.

Comparison: I'd compare it to VLC Media player, what I think bnap4000 does better is with simplicity. It has a very simple UI that shows what song is playing, a couple things like volume, a progress bar, and a queue.

GitHub page: https://github.com/0hStormy/bnap4000
bnap stands for Badass New Audio Player if you were wondering.


r/Python 6d ago

Discussion New Youtube Series: 1 Hour of Coding in 1 Minute - Feedback Welcomed!

0 Upvotes

Hey everyone im starting a new YouTube series where i condense an hour of coding into just one minute. The goal is to show the process of creating projects quickly and engagungly but without dragging things out.

Youtube Link: https://youtu.be/dXljs-eWn3E

The first video covers an hour of work on a Python project where i start and finish a program from scratch. My plan is to release more of these, gradually increasing the time spent coding, like "2 Hours of Coding in 2 Minutes", and so on.

So any and all feedback is appreciated as i also want this Youtube channel to serve as proof to potential employers that i know what im doing and im also very passionate about it in ways where im happy to learn to further increase my knowledge.

Thanks for checking it out if your reading this im looking forward to hearing your thouhgts


r/Python 7d ago

Showcase ShortMoji: Emoji Shortcuts Made Easy for Your Keyboard! đŸ§‘â€đŸ’»âœš

3 Upvotes

What My Project Does

ShortMoji is a lightweight, open-source program that lets you insert emojis anywhere using simple, intuitive keyboard shortcuts. Inspired by Discord's emoji system, it supports 89 unique emoji shortcuts (and counting!) to make your conversations and workflows more expressive.

Simply type a shortcut like :smi, and it transforms into 😃 instantly. ShortMoji runs in the background and is designed for speed and ease of use.

Features include:

  • Fast emoji insertion via shortcuts.
  • Low resource consumption.
  • Quick program termination by pressing Esc twice.
  • Free and fully customizable under the MIT license.

Target Audience

ShortMoji is for anyone who loves emojis and wants a faster way to use them. Whether you're:

  • A developer looking for efficiency.
  • A casual user who enjoys using emojis.
  • A Discord enthusiast already familiar with emoji shortcuts.

Comparison

While there are other emoji tools available, ShortMoji sets itself apart with:

  • Customizable shortcuts: Familiar to Discord users and adaptable for others.
  • Open-source freedom: Unlike proprietary software, you can modify and expand ShortMoji as you like.
  • Minimal resource impact: A lightweight utility that doesn’t slow down your system.
  • Simple UX: No need to navigate menus or GUIs—just type and see the magic !

Unlike system-level emoji menus or bloated applications, ShortMoji is a focused solution for quick and easy emoji input.

🎉 Try ShortMoji Now!
Download it on GitHub and join the emoji revolution!

I'm committed to regularly updating ShortMoji with new emojis and features. Contributions are welcome—submit pull requests or suggest ideas to help it grow! What features or emojis would you like to see next? Let me know! 🚀


r/Python 8d ago

Discussion Whose building on Python NoGIL?

70 Upvotes

I am interested in knowing if anyone is building on top of python NoGIL. I have seen a few async frameworks being built but do not see anyone taking advantage of NoGIL python.