Sunday Daily Thread: What's everyone working on this week?
Posted by AutoModerator@reddit | Python | View on Reddit | 8 comments
Weekly Thread: What's Everyone Working On This Week? š ļø
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
How it Works:
- Show & Tell: Share your current projects, completed works, or future ideas.
- Discuss: Get feedback, find collaborators, or just chat about your project.
- Inspire: Your project might inspire someone else, just as you might get inspired here.
Guidelines:
- Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
- Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
Example Shares:
- Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
- Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
- Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! š
EngineerRemy@reddit
GenEC: a tool for extracting structured data from files or folders. through configuration files you can extract just about any data on a large scale. It started off as a hobby project to practice healthy coding practices, but it quickly evolved into something I use nearly daily at my own job.
I am inching closer and closer to where I'll be satisfied enough to make a 1.0.0 release, but today I did finally convince myself to make a beta distribution! As my repository is still lacking demos, here is a screenshot to show batch data extracting and comparing in action: https://imgur.com/a/feaRrUj
https://github.com/RemyKroese/GenEC
AlSweigart@reddit
I put together a small terminal program that outputs an ASCII art moon in its current phase. There's a bunch of different settings (size, characters to use, what hemisphere you're in). I used an LLM to generate it initially, and then did a bunch of clean up to get it working.
I have it set so that it runs whenever I open a new terminal window:
Full moon tonight!
https://github.com/asweigart/ascii-moon-phase-python
Check out the
animate_phases()
andanimate_future()
functions if you want to see them animated.In a few days, the moon will look like this as it starts to wane (flip it if you're in the southern hemisphere):
There's also a Rust version if you want a compiled program:
https://github.com/asweigart/ascii-moon-phase-rust
alias454@reddit
Many moons ago, I built a PHP web app named Open Auto Classifieds. It's now defunct, but over the last three or four years, I kept thinking about porting it to something more modern. Every 3-4-5 months the thought crossed my mind. Iād tell myself, I should get started, but never did.
For better or worse, I finally started lol.
One of the reasons I kept putting it off was how daunting it seemed(not wrong). Porting a PHP web app to a framework I'm not familiar with was a lot to figure out. Especially when I haven't done any web dev work in like 10 years. So, about 2 weeks ago, I was like, this should be easy. Knock this out over the weekend using AI, right? lol No, no not a chance.
Like any good tech person, I decided to build on a stack I've never used before(flask). What better way to learn it. I've written a lot of python and bash scripts over the years so while I'm not a developer, I've been working in the industry for years. I've got an okay understanding of modern practices. Also full transparency, I used AI to help write a lot of it but I still spent many, many hours on it debugging, testing, etc.
This isn't a finished product. It is the user management system foundation I plan to use for other projects. Flask-AAS is a Flask authentication and auditing system with login + captcha, session fixation prevention, audit logging, role-based redirects, password reset, and more. I Still a lot of work to do, but the core bones are there.
A bunch of stuff still needs wired up and completed but https://github.com/alias454/Flask-AAS is functional enough to run locally and see how it works. I'm open to feedback and pull requests. thanks
evoludigit@reddit
GraphQL framework ā I released FraiseQL, a PostgreSQL-native GraphQL framework š
Some complex queries that took 800 ms now run in 40ā60 ms ā and even faster with advanced in-database caching.
I first asked on StackOverflow (late 2023) why Strawberry was turning my PostgreSQL JSONB into Python objects just to serialize them back into JSON. No good answers.
Fast forward: with agentic AI helping (and a clear architecture in mind), I could vibe code it ā despite ups and downs.
The idea: Let PostgreSQL do the heavy lifting. If your views already return perfectly shaped JSONB, FraiseQL passes it straight through to GraphQL ā no ORMs, no N+1 queries, no DataLoaders.
Example:
PostgreSQL view:
Still early days (v0.1.3), but the performance results are very promising.
š GitHub: fraiseql/fraiseql
david-vujic@reddit
I'm currently adding some interactivity to a CLI app that I maintain (part of the Python tools for the Polylith Architecture). Currently, you run different commands to add new things to a Python repo. One of them -
create project
- could be more helpful than it is today, by setting up thing in a more automated way. That's where the interactive things - asking and guiding the user via the terminal prompt - will be added. As with any UI, this needs a lot more thought than when writing functions with input and output. The flow have to make sense to a Human šRepo: https://github.com/DavidVujic/python-polylith?tab=readme-ov-file#sparkles-python-tools-for-the-polylith-architecture-sparkles
Unusual-Ratio4565@reddit
I just start learning programming to youtube playlist of 100 days Challenge, today is 15th days.
t0xic0der@reddit
Desktop application: My friends and I just released the Loadouts for Genshin Impact v0.1.10 with the support for Genshin Impact v5.8 Phase 1 characters, weapons and artifacts. I posted about it in this subreddit Loadouts for Genshin Impact v0.1.10 is OUT NOW with support for Genshin Impact v5.8 Phase 1 : r/Python and more information about that can be found in our repository gridhead/gi-loadouts: Loadouts for Genshin Impact.
WillAdams@reddit
Literate program to use the Python-enabled version of OpenSCAD to create DXFs, write out G-code, and model as a 3D surface cutting with various shapes of tools --- working on adding support for extruding with a 3D printer:
https://github.com/WillAdams/gcodepreview