Sick of dating apps.
i have been really frustrated with dating apps and the way they work and mostly just dont.
i was so fed up with stupid subscriptions, no matches, ancient profiles, ghosting, showing me people that we have nothing in common. it has been like this forever.
can nobody make a simple dating app? what is so hard about it? in fact how hard can it be?
ghosters? ban them. match collectors? ban them, just limit the matches. frequent unmatchers? ban them. show people that have matching interest with you? make people rate interactions and sort the stack by merit.
right? right!
so i built a very simple dating app and i need testers and users to get it of the ground: https://sickra pythonanywhere.com
( we will move to sickra.com eventually.
but this is a test site. )
the stack page will go online tomorrow thats when you can start swiping, but you can sign up today.
i can do it better and i will prove its not hard either.
stack:
back: flask, flask-login, db sqlite,
front end: html, css, bootstrap and a sprinkle of js to make the magic happen.
/r/flask
https://redd.it/1ll75cz
i have been really frustrated with dating apps and the way they work and mostly just dont.
i was so fed up with stupid subscriptions, no matches, ancient profiles, ghosting, showing me people that we have nothing in common. it has been like this forever.
can nobody make a simple dating app? what is so hard about it? in fact how hard can it be?
ghosters? ban them. match collectors? ban them, just limit the matches. frequent unmatchers? ban them. show people that have matching interest with you? make people rate interactions and sort the stack by merit.
right? right!
so i built a very simple dating app and i need testers and users to get it of the ground: https://sickra pythonanywhere.com
( we will move to sickra.com eventually.
but this is a test site. )
the stack page will go online tomorrow thats when you can start swiping, but you can sign up today.
i can do it better and i will prove its not hard either.
stack:
back: flask, flask-login, db sqlite,
front end: html, css, bootstrap and a sprinkle of js to make the magic happen.
/r/flask
https://redd.it/1ll75cz
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
select ForeignKey
hola
tengo este código y no logro saber que esta mal
<form enctype="multipart/form-data" method="POST">
{% csrftoken %}
{# Incluir los campos visibles #}
{% for campo in formulario %}
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon1">{{campo.label}}</span>
<input type="{{campo.field.widget.inputtype}}"
class="form-control"
name="{{campo.name}}"
id=""
aria-describedby="helpId"
placeholder=""
value="{{campo.value | default:''}}"/>
</div>
{% endfor %}
</form>
el codigo funciona pero el capo fecha no me lo toma con date
y el select que esta asociado con un ForeignKey no me muestra la lista de los valores con el campo asociado
Gracias
/r/django
https://redd.it/1llhsa7
hola
tengo este código y no logro saber que esta mal
<form enctype="multipart/form-data" method="POST">
{% csrftoken %}
{# Incluir los campos visibles #}
{% for campo in formulario %}
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon1">{{campo.label}}</span>
<input type="{{campo.field.widget.inputtype}}"
class="form-control"
name="{{campo.name}}"
id=""
aria-describedby="helpId"
placeholder=""
value="{{campo.value | default:''}}"/>
</div>
{% endfor %}
</form>
el codigo funciona pero el capo fecha no me lo toma con date
y el select que esta asociado con un ForeignKey no me muestra la lista de los valores con el campo asociado
Gracias
/r/django
https://redd.it/1llhsa7
Reddit
From the django community on Reddit
Explore this post and more from the django community
Kenneth Reitz (Request library creator) current situation
Kenneth Reitz, known by creating dozens of python open source libraries and tools, some of them like requests library (top 5 still nowadays) and Pipenv (still being used in millions of CI-CD pipelines)
He posted yesterday in LinkedIn (also in X):
>If anyone wants to help by sending me some dollars, that would be tremendously helpful. My checking account is at $0.56. Currently applying for disability, so unable to work due to this. Thanks 🙏 if you wish to help! [venmo.com/u/KennethReitz](http://venmo.com/u/KennethReitz)
* [https://www.linkedin.com/posts/kennethreitz\_venmo-kenneth-reitz-activity-7343376172136771586-n\_Pz](https://www.linkedin.com/posts/kennethreitz_venmo-kenneth-reitz-activity-7343376172136771586-n_Pz)
* [https://x.com/kennethreitz42/status/1937615578182660393](https://x.com/kennethreitz42/status/1937615578182660393)
It can also be seen in his posts history that been looking for a job for about a year:
* [https://www.linkedin.com/in/kennethreitz/recent-activity/all/](https://www.linkedin.com/in/kennethreitz/recent-activity/all/)
Leaving aside the aspects already known in the Python community about his mental health issues, and some controversy, I'm sharing this, thinking that PSF and the whole Python community knows how valuable have been his contributions and cannot be leaved alone in this hard situation he is facing right now.
I encourage everyone that can contribute with any amount that can help him get through this.
References:
* Family: [https://kennethreitz.org/family](https://kennethreitz.org/family)
* His values page on his website: [https://kennethreitz.org/values](https://kennethreitz.org/values)
* His posts on Mental health issues (also notes in the LinkedIn post comments): [https://kennethreitz.org/mental-health](https://kennethreitz.org/mental-health)
* 12 years ago, what ironic post here (looks like he's NOT a millionaire,
/r/Python
https://redd.it/1lkwhk0
Kenneth Reitz, known by creating dozens of python open source libraries and tools, some of them like requests library (top 5 still nowadays) and Pipenv (still being used in millions of CI-CD pipelines)
He posted yesterday in LinkedIn (also in X):
>If anyone wants to help by sending me some dollars, that would be tremendously helpful. My checking account is at $0.56. Currently applying for disability, so unable to work due to this. Thanks 🙏 if you wish to help! [venmo.com/u/KennethReitz](http://venmo.com/u/KennethReitz)
* [https://www.linkedin.com/posts/kennethreitz\_venmo-kenneth-reitz-activity-7343376172136771586-n\_Pz](https://www.linkedin.com/posts/kennethreitz_venmo-kenneth-reitz-activity-7343376172136771586-n_Pz)
* [https://x.com/kennethreitz42/status/1937615578182660393](https://x.com/kennethreitz42/status/1937615578182660393)
It can also be seen in his posts history that been looking for a job for about a year:
* [https://www.linkedin.com/in/kennethreitz/recent-activity/all/](https://www.linkedin.com/in/kennethreitz/recent-activity/all/)
Leaving aside the aspects already known in the Python community about his mental health issues, and some controversy, I'm sharing this, thinking that PSF and the whole Python community knows how valuable have been his contributions and cannot be leaved alone in this hard situation he is facing right now.
I encourage everyone that can contribute with any amount that can help him get through this.
References:
* Family: [https://kennethreitz.org/family](https://kennethreitz.org/family)
* His values page on his website: [https://kennethreitz.org/values](https://kennethreitz.org/values)
* His posts on Mental health issues (also notes in the LinkedIn post comments): [https://kennethreitz.org/mental-health](https://kennethreitz.org/mental-health)
* 12 years ago, what ironic post here (looks like he's NOT a millionaire,
/r/Python
https://redd.it/1lkwhk0
ai-rulez: autogenerate rule files (.cursorrules, CLAUDE.md etc.) from yaml
**GitHub:** https://github.com/Goldziher/ai-rulez
## The Problem
If you're using multiple AI coding tools (Claude, Cursor, Windsurf, etc.), you've probably noticed each one requires its configuration file - `.cursorrules`, `.windsurfrules`, `CLAUDE.md`, and so on. Maintaining consistent coding standards across all these tools can be frustrating.
## Solution: Write Once, Generate for Any Tool
AI-Rulez lets you define your coding rules once in a structured YAML file and automatically generates configuration files for **any AI tool**, including current ones and future ones. It's completely **platform-agnostic** with a powerful templating system.
It's very fast, written in Go, and it has wrappers for Python (pip) and Node (npm).
## Configuration
All configuration is done using `ai_rulez.yaml` (.ai_rulez.yaml also supported):
```yaml
metadata:
name: "My Python Project Rules"
version: "1.0.0"
outputs:
- file: "CLAUDE.md"
- file: ".cursorrules"
- file: ".windsurfrules"
- file: "custom-ai-tool.txt" # Any format you need!
rules:
- name: "Code Style"
priority: 10
content: |
- Use Python 3.11+ features
- Follow PEP 8 strictly
- Use type hints everywhere
- name: "Testing"
priority: 5
content:
/r/Python
https://redd.it/1llnlqa
**GitHub:** https://github.com/Goldziher/ai-rulez
## The Problem
If you're using multiple AI coding tools (Claude, Cursor, Windsurf, etc.), you've probably noticed each one requires its configuration file - `.cursorrules`, `.windsurfrules`, `CLAUDE.md`, and so on. Maintaining consistent coding standards across all these tools can be frustrating.
## Solution: Write Once, Generate for Any Tool
AI-Rulez lets you define your coding rules once in a structured YAML file and automatically generates configuration files for **any AI tool**, including current ones and future ones. It's completely **platform-agnostic** with a powerful templating system.
It's very fast, written in Go, and it has wrappers for Python (pip) and Node (npm).
## Configuration
All configuration is done using `ai_rulez.yaml` (.ai_rulez.yaml also supported):
```yaml
metadata:
name: "My Python Project Rules"
version: "1.0.0"
outputs:
- file: "CLAUDE.md"
- file: ".cursorrules"
- file: ".windsurfrules"
- file: "custom-ai-tool.txt" # Any format you need!
rules:
- name: "Code Style"
priority: 10
content: |
- Use Python 3.11+ features
- Follow PEP 8 strictly
- Use type hints everywhere
- name: "Testing"
priority: 5
content:
/r/Python
https://redd.it/1llnlqa
GitHub
GitHub - Goldziher/ai-rulez: The universal configuration manager for your AI assistants. Define context once in a single ai-rulez.yml…
The universal configuration manager for your AI assistants. Define context once in a single ai-rulez.yml file, and use the CLI to generate synchronized instructions for Claude, Cursor, Copilot, and...
JurisJs: An open invitation to try new client framework
JurisJS is the first web framework to implement non-blocking rendering pipeline, making 3ms client side render impossibly double even for asynchronous heavy clients requirement. It can handle all your asynchronous requests in parallel allowing other fast request to renders quickly.
For Django backend, developers can choose between two modes solution:
1: Static HTML + JurisJs enhance() API,
2: REST Backend + JurisJs Full Component System in frontend.
It's a good alternative for React if you don't want build. to alpine if you want debuggable cross element reactivity.
JurisJS is designed for all developer javascript expertise.
* Features:
* - Temporal Independent
* - Automatic deep call stack branch aware dependency detection
* - Smart Promise Handling
* - Component lazy compilation
* - Non-Blocking Rendering
* - Global Non-Reactive State Management
*
* Performance:
* - Sub 3ms render on simple apps
* - Sub 10ms render on complex or large apps
* - Sub 20ms render on very complex or large apps
GitHub: https://github.com/jurisjs/juris
Website: https://jurisjs.com/
NPM: https://www.npmjs.com/package/juris
Codepen: https://codepen.io/jurisauthor
Online Testing: https://jurisjs.com/tests/juris_pure_test_interface.html
/r/django
https://redd.it/1llqcwn
JurisJS is the first web framework to implement non-blocking rendering pipeline, making 3ms client side render impossibly double even for asynchronous heavy clients requirement. It can handle all your asynchronous requests in parallel allowing other fast request to renders quickly.
For Django backend, developers can choose between two modes solution:
1: Static HTML + JurisJs enhance() API,
2: REST Backend + JurisJs Full Component System in frontend.
It's a good alternative for React if you don't want build. to alpine if you want debuggable cross element reactivity.
JurisJS is designed for all developer javascript expertise.
* Features:
* - Temporal Independent
* - Automatic deep call stack branch aware dependency detection
* - Smart Promise Handling
* - Component lazy compilation
* - Non-Blocking Rendering
* - Global Non-Reactive State Management
*
* Performance:
* - Sub 3ms render on simple apps
* - Sub 10ms render on complex or large apps
* - Sub 20ms render on very complex or large apps
GitHub: https://github.com/jurisjs/juris
Website: https://jurisjs.com/
NPM: https://www.npmjs.com/package/juris
Codepen: https://codepen.io/jurisauthor
Online Testing: https://jurisjs.com/tests/juris_pure_test_interface.html
/r/django
https://redd.it/1llqcwn
GitHub
GitHub - jurisjs/juris: JURIS is JavaScript Unified Reactive Interface Solution, the first and only Non-Blocking Reactive Object…
JURIS is JavaScript Unified Reactive Interface Solution, the first and only Non-Blocking Reactive Object Framework for the web - jurisjs/juris
Where are people hosting their Python web apps?
Have a small(ish) FastAPI project I'm working on and trying to decide where to host. I've hosted Ruby apps on EC2, Heroku, and a VPS before. What's the popular Python thing?
/r/Python
https://redd.it/1llwhzr
Have a small(ish) FastAPI project I'm working on and trying to decide where to host. I've hosted Ruby apps on EC2, Heroku, and a VPS before. What's the popular Python thing?
/r/Python
https://redd.it/1llwhzr
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
D Thinking, Fast and Slow
To the theorists in the community, how do you balance
1. engaging with theory research - which is usually a slow process requiring deep thinking
2. with programming - which is fast-paced, iterative process with quick feedback?
I'm finding switching between the two thinking modes very hard to balance.
/r/MachineLearning
https://redd.it/1llo5nt
To the theorists in the community, how do you balance
1. engaging with theory research - which is usually a slow process requiring deep thinking
2. with programming - which is fast-paced, iterative process with quick feedback?
I'm finding switching between the two thinking modes very hard to balance.
/r/MachineLearning
https://redd.it/1llo5nt
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
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/1lm91sf
# 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/1lm91sf
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…
What data serialization formats do you use most often at work/personally?
Hi!
I am curious about what structured data formats are most commonly used across different teams and industries and why. Non binary ones. Personally, I've mostly worked with YAML (and occasionally JSON). I find it super easy to read and edit, which is one of my usual biggest priorities.
I have never had to use XML in any of the environments I have worked with. Do you often make use of it? Does it have any advatnages over YAML/JSON?
/r/Python
https://redd.it/1llzmha
Hi!
I am curious about what structured data formats are most commonly used across different teams and industries and why. Non binary ones. Personally, I've mostly worked with YAML (and occasionally JSON). I find it super easy to read and edit, which is one of my usual biggest priorities.
I have never had to use XML in any of the environments I have worked with. Do you often make use of it? Does it have any advatnages over YAML/JSON?
/r/Python
https://redd.it/1llzmha
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Recent Noteworthy Package Releases
Over the last 7 days, I've noticed these significant upgrades in the Python package ecosystem.
**Gymnasium 1.2.0** \- A standard API for reinforcement learning and a diverse set of reference environments (formerly Gym)
**LangGraph 0.5.0** \- Building stateful, multi-actor applications with LLMs
**Dagster 1.11.0 (core) / 0.27.0 (libraries)** \- An orchestration platform for the development, production, and observation of data assets.
**aioboto3 15.0.0** \- Async boto3 wrapper
**lxml 6.0.0** \- Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API
**transformers 4.53.0** \- State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
**mcp 1.10.0** \- Model Context Protocol SDK
**resolvelib 1.2.0** \- Resolve abstract dependencies into concrete ones
**chdb 3.4.0** \- An in-process SQL OLAP Engine powered by ClickHouse
**Diffusers 0.34.0** \- State-of-the-art diffusion in PyTorch and JAX
**junitparser 4.0.0** \- Manipulates JUnit/xUnit Result XML files
**Pybtex 0.25.0** \- A BibTeX-compatible bibliography processor in Python
**Instructor 1.9.0** \- structured outputs for llm
**Robyn 0.70.0** \- A Super Fast Async Python Web Framework with a Rust runtime
/r/Python
https://redd.it/1llr1ix
Over the last 7 days, I've noticed these significant upgrades in the Python package ecosystem.
**Gymnasium 1.2.0** \- A standard API for reinforcement learning and a diverse set of reference environments (formerly Gym)
**LangGraph 0.5.0** \- Building stateful, multi-actor applications with LLMs
**Dagster 1.11.0 (core) / 0.27.0 (libraries)** \- An orchestration platform for the development, production, and observation of data assets.
**aioboto3 15.0.0** \- Async boto3 wrapper
**lxml 6.0.0** \- Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API
**transformers 4.53.0** \- State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
**mcp 1.10.0** \- Model Context Protocol SDK
**resolvelib 1.2.0** \- Resolve abstract dependencies into concrete ones
**chdb 3.4.0** \- An in-process SQL OLAP Engine powered by ClickHouse
**Diffusers 0.34.0** \- State-of-the-art diffusion in PyTorch and JAX
**junitparser 4.0.0** \- Manipulates JUnit/xUnit Result XML files
**Pybtex 0.25.0** \- A BibTeX-compatible bibliography processor in Python
**Instructor 1.9.0** \- structured outputs for llm
**Robyn 0.70.0** \- A Super Fast Async Python Web Framework with a Rust runtime
/r/Python
https://redd.it/1llr1ix
GitHub
Release v1.2.0 · Farama-Foundation/Gymnasium
Gymnasium v1.2.0
In Gym v0.24, v4 MuJoCo environments were added that used a different simulator (mujoco, not mujoco-py).
Having been 3 years since v0.24 and with mujoco-py being unmaintained, it i...
In Gym v0.24, v4 MuJoCo environments were added that used a different simulator (mujoco, not mujoco-py).
Having been 3 years since v0.24 and with mujoco-py being unmaintained, it i...
I have created PowerEdit: a code editor
I have created PowerEdit - a lightweight code editor in PyQt5 with integrated console, file explorer and theme support.
Ideal for those looking for something fast and extensible 🔧
📥 Download it here → https://github.com/ZtaMDev/PowerEdit/releases
📘 Documentation (in process) → https://ztamdev.github.io/PowerEdit/
Feedback and contributions welcome! 🙌
/r/Python
https://redd.it/1llx4jd
I have created PowerEdit - a lightweight code editor in PyQt5 with integrated console, file explorer and theme support.
Ideal for those looking for something fast and extensible 🔧
📥 Download it here → https://github.com/ZtaMDev/PowerEdit/releases
📘 Documentation (in process) → https://ztamdev.github.io/PowerEdit/
Feedback and contributions welcome! 🙌
/r/Python
https://redd.it/1llx4jd
GitHub
Releases · ZtaMDev/PowerEdit
Contribute to ZtaMDev/PowerEdit development by creating an account on GitHub.
I made a swipeable video feed for immersing yourself in topics like python
https://illustrious-mu.vercel.app/
This isn't a python project, but it's a tool that would serve you learning or advancing in Python. You might stumble into python idioms, patterns, and practices that you haven't seen before if you spend some time on this thing
Really curious if it's working to help you pick up information
/r/Python
https://redd.it/1lm3bvd
https://illustrious-mu.vercel.app/
This isn't a python project, but it's a tool that would serve you learning or advancing in Python. You might stumble into python idioms, patterns, and practices that you haven't seen before if you spend some time on this thing
Really curious if it's working to help you pick up information
/r/Python
https://redd.it/1lm3bvd
illustrious-mu.vercel.app
Illustrious: The Learning Scroll
Your learning algorithm.
I updated CtrlV: Share code instantly via web or directly from VS Code
/r/django
https://redd.it/1lmk52v
/r/django
https://redd.it/1lmk52v
Pobshell: A Bash-like shell for live Python objects
# What Pobshell Does
Think cd, ls, cat, and find — but for Python objects instead of files.
Stroll around your code, runtime state, and data structures. Inspect everything: modules, classes, live objects. Plus recursive search and CLI integration.
2 minute video demo: https://www.youtube.com/watch?v=I5QoSrc\_E\_A
What it's for:
Exploratory debugging: Inspect live object state on the fly
Understanding APIs: Examine code, docstrings, class trees
Shell integration: Pipe object state or code snippets to LLMs or OS tools
Code and data search: Recursive search for object state or source without file paths
REPL & paused script: Explore runtime environments dynamically
Teaching & demos: Make Python internals visible and walkable
Pobshell is pick‑up‑and‑play: familiar commands plus optional new tricks.
# Target Audience
Python devs, Data Scientists, LLM engineers and intermediate Python learners.
Pobshell is open source, and in alpha release -- Don't use it in production. N.B. Tab-completion isn't available in Jupyter.
Tested on MacOs, Linux and Windows (Python 3.12)
Install: pip install pobshell
Github: https://github.com/pdalloz/pobshell
# Alternatives
You can get similar information from a good IDE or JupyterLab, but you'd need to craft Python list comprehensions using the inspect module. IPython has powerful introspection commands too.
What makes Pobshell different is how expressive its commands are, with an easy learning curve - because basic commands and
/r/Python
https://redd.it/1lmn348
# What Pobshell Does
Think cd, ls, cat, and find — but for Python objects instead of files.
Stroll around your code, runtime state, and data structures. Inspect everything: modules, classes, live objects. Plus recursive search and CLI integration.
2 minute video demo: https://www.youtube.com/watch?v=I5QoSrc\_E\_A
What it's for:
Exploratory debugging: Inspect live object state on the fly
Understanding APIs: Examine code, docstrings, class trees
Shell integration: Pipe object state or code snippets to LLMs or OS tools
Code and data search: Recursive search for object state or source without file paths
REPL & paused script: Explore runtime environments dynamically
Teaching & demos: Make Python internals visible and walkable
Pobshell is pick‑up‑and‑play: familiar commands plus optional new tricks.
# Target Audience
Python devs, Data Scientists, LLM engineers and intermediate Python learners.
Pobshell is open source, and in alpha release -- Don't use it in production. N.B. Tab-completion isn't available in Jupyter.
Tested on MacOs, Linux and Windows (Python 3.12)
Install: pip install pobshell
Github: https://github.com/pdalloz/pobshell
# Alternatives
You can get similar information from a good IDE or JupyterLab, but you'd need to craft Python list comprehensions using the inspect module. IPython has powerful introspection commands too.
What makes Pobshell different is how expressive its commands are, with an easy learning curve - because basic commands and
/r/Python
https://redd.it/1lmn348
YouTube
Pobshell - A Bash-like shell for live Python objects - 2 min intro
Lightning tour of Pobshell - What it is, how to use it
Pobshell is a Bash-like shell for live Python objects
It's in alpha release and is open source
github.com/pdalloz/pobshell
Try it out
pip install pobshell
Pobshell is a Bash-like shell for live Python objects
It's in alpha release and is open source
github.com/pdalloz/pobshell
Try it out
pip install pobshell
Ending all Circular Imports Forever?
Wouldn't there be a way to hack Python so that it receives the following system-level command from module import:
And the argument (doppler) then automatically ensures that lazy is imported, and if that doesn't work, it detects a circle and automatically uses the doppler.py where you simply shove all defs() that make problems from your whole project?
🔄 DOPPLER MODULE ================
# AST-Manipulation before Import:
is this a bad idea?
/r/Python
https://redd.it/1lmmypt
Wouldn't there be a way to hack Python so that it receives the following system-level command from module import:
from module import somedef:(doppler)And the argument (doppler) then automatically ensures that lazy is imported, and if that doesn't work, it detects a circle and automatically uses the doppler.py where you simply shove all defs() that make problems from your whole project?
🔄 DOPPLER MODULE ================
import sys import importlib.utilclass DopplerImportHook: def find_spec(self, name, path, target=None): # Spot "(doppler)" Pattern if ":(doppler)" in name: # Circular Import Detection # Fallback zu `doppler.py` return self.load_from_doppler(name)# AST-Manipulation before Import:
import astdef preprocess_import(source): # Parse "from module import func:(doppler)" # Transform to try/except with doppler fallbackclass AutoDopplerMeta(type): def __new__(cls, name, bases, namespace): # Automatically detect circular dependencies # Route to doppler when neededis this a bad idea?
/r/Python
https://redd.it/1lmmypt
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Himig – Compose and Play Melodies with Python
GitHub: **Himig**
Playground: **Himig Playground · Streamlit**
What My Project Does?
Himig is a Python music synthesis module that lets you compose, play, and save melodies using simple note strings like
You can use it like this:
from himig import play
melody = "C4:0.5", "C4:0.5", "G4:1.0"
play(melody)
save(melody, "melody.wav")
Melodies are written using the format
Try playing built-in melodies: happy birthday and twinkle twinkle or create your own.
Target Audience:
\-Hobbyists who want to compose melodies programmatically.
\-Educators teaching music, sound, or digital signal processing in Python.
\-Python developers who want to explore audio synthesis.
\-Others who just want to play with music.
Comparison:
\-Aside from Python built-ins, it relies only on Numpy.
\-Simple, readable note strings.
Limitation: One note at a time, wav output only, and sine wave synthesis only for now.
You can install via:
/r/Python
https://redd.it/1lmnful
GitHub: **Himig**
Playground: **Himig Playground · Streamlit**
What My Project Does?
Himig is a Python music synthesis module that lets you compose, play, and save melodies using simple note strings like
"C4:0.5".You can use it like this:
from himig import play
melody = "C4:0.5", "C4:0.5", "G4:1.0"
play(melody)
save(melody, "melody.wav")
Melodies are written using the format
"NOTE:DURATION" — for example, "A4:1.0" or "R:0.25" for a rest.Try playing built-in melodies: happy birthday and twinkle twinkle or create your own.
Target Audience:
\-Hobbyists who want to compose melodies programmatically.
\-Educators teaching music, sound, or digital signal processing in Python.
\-Python developers who want to explore audio synthesis.
\-Others who just want to play with music.
Comparison:
\-Aside from Python built-ins, it relies only on Numpy.
\-Simple, readable note strings.
Limitation: One note at a time, wav output only, and sine wave synthesis only for now.
You can install via:
pip install himig/r/Python
https://redd.it/1lmnful
GitHub
GitHub - j-ncel/himig: Python music synthesis module that lets you compose, play, and save melodies.
Python music synthesis module that lets you compose, play, and save melodies. - j-ncel/himig
Are there many of you on here who do all their Python development inside a container?
I tried to run my app in a container during development a few years ago in vscode, but it didn't feel right at all. Within the few i spoke to who also tried this it didn't resonate either and most did their python development locally. They only used containers for development services.
I wonder if things have changed. It looks like you still need to do a lot of custom config to debug a container in vscode. Does hot reload work? Intellisense? click through to system modules? I wonder if the consensus is different in 2025.
/r/Python
https://redd.it/1lmztd5
I tried to run my app in a container during development a few years ago in vscode, but it didn't feel right at all. Within the few i spoke to who also tried this it didn't resonate either and most did their python development locally. They only used containers for development services.
I wonder if things have changed. It looks like you still need to do a lot of custom config to debug a container in vscode. Does hot reload work? Intellisense? click through to system modules? I wonder if the consensus is different in 2025.
/r/Python
https://redd.it/1lmztd5
Reddit
From the Python community on Reddit
Explore this post and more from the Python community