Reddit » Python
6,560 FOLLOWERS
Read and share news about the python programming language, or if you have questions or are a newbie user, then this Reddit community is your place to find discussions, resources, and tutorials related to python.
Reddit » Python
1h ago
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:
Request: Can't find a resource on a particular topic? Ask here!
Share: Found something useful? Share it with the community.
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:
Book: "Fluent Python" - Great ..read more
Reddit » Python
5h ago
I have been using many python web frameworks but they all require a lot of manual work. I am searching for something in python that let's me focus on the data and how to use it and that takes care of the rest. Mostly what offers a nocode platform, but with all benefits of code (more control, reviews, versionning, testing, ...)
More precisely, there are often a need to store data, have a way to operate on them (CRUD) with an interface, have change revisions and approvals, and have an API to automatically create or use the data defined.
I tried python frameworks like Jam (probably unmaintained ..read more
Reddit » Python
8h ago
Start a new job in around 3 weeks. They know I have no python experience and will train me but I would love to get a head start.
Any recommendations for a course that i can complete in around 2 hours per day?
I will probably be using python in some form of data gathering, analysis or communication with test equipment. Will be integrating its use into labview more than likely.
Thanks in advance
submitted by /u/SoftwareWolves
[visit reddit] [comments ..read more
Reddit » Python
8h ago
Jinja is a popular templating engine used in web development projects. However, some developers have reported that Jinja can be slow when rendering templates, particularly when working with large datasets or complex logic.
One reason for this sluggishness is that Jinja is written in pure Python, which can result in slower execution speeds compared to compiled languages like Rust. While Python is a powerful language, its interpreted nature can sometimes lead to performance issues.
To address this problem, it may be worth considering the development of a new templating engine with a similar syn ..read more
Reddit » Python
8h ago
Wrote this as a tool to keep README coverage badges up to date without relying on 3rd party services or having to do anything extra, thought others might get some utility out of it: coverage-pre-commit.
A .coverage file is expected at the root of the project, generated by running coverage run directly or using a plugin such as pytest-cov when running tests.
Most convenient when used as a pre-push hook imo. Feel free to opine, be it positive or negative!
submitted by /u/60percentcocoa
[visit reddit] [comments ..read more
Reddit » Python
8h ago
Hey guys. Some friends and I are building a no-code platform to automate what we call code maintenance tasks. After getting feedback from my recents posts here, we decided to focus on:
Logging
Error handling
Input validation
Docstrings
Of course, these are really basic right now, we are still testing the POC, so any feedback would be really appreciated.
We created a playground where you can paste the code and try it out (we are working on Github and IDE integrations right now).
Happy friday and thank you in advance for your help!
submitted by /u/nicomarcan
[visit reddit] [comments ..read more
Reddit » Python
12h ago
S.T.A.R.K. is a modern, advanced, asynchronous, and fast framework designed for creating intuitive natural language interfaces, especially voice-based. Think of it as FastAPI but with speech instead of http.
New to S.T.A.R.K.? Consider reading the articles in navigation sequentially for a comprehensive understanding of the framework, including the "Advanced" section.
stark.markparker.me
submitted by /u/MarkParker_5
[visit reddit] [comments ..read more
Reddit » Python
14h ago
Hey folks,
I've been dabbling with a Python project recently that's all about making life easier for us I.T. people. It's a nifty little tool that calculates IP subnets and does IP calculations from the command or CLI.
Here's the GitHub link and the code:
https://github.com/nicanorflavier/ipnet
I’m pretty stoked about it, but I know there’s always room for improvement. So, I thought, better to turn to than the wise minds of this python community?
I’m all ears for any feedback, tips, tricks, or advice you guys might have. Thanks a ton in advance!
submitted by /u/nicanorflavier
[visit reddit ..read more
Reddit » Python
14h ago
Python Streamlit is a terrific tool for creating interactive data visualizations.
It packages all your visualizations up into a neat little application - including charts and maps - and displays them in your default browser. No muss, no fuss.
Recently, I found a new dataset (to me) on the UN High Commission for Refugees (UNHCR) website. It contains country-to-country movements for refugees both from origin country and country of asylum
Using this dataset, here's a step-by-step on how to code a Python Streamlit application that has:
A dropdown menu to select by country
A second dropdown menu ..read more
Reddit » Python
17h ago
If we go back in time just few months in let's say web scrapping I used to code everything using scrapy, bs4 or playwright now?
I just past the HTML to copilot and tell it to get the data I don't even have to explain what data I want lol, now yes some times it makes mistakes but I can just better prompt it I literally don't code anymore it's just do this then this, or oh no just remove this and try this instead am I the only one?
submitted by /u/Able_Beautiful_7362
[visit reddit] [comments ..read more