python

Back Open Paginator
13.09.2025 03:43
SnoopJ (@SnoopJ@hachyderm.io)

My PR to add PEP 723 (inline script metadata) support to `pip` has caught the attention of some of the maintainers, so I've dusted it off.

github.com/pypa/pip/pull/13052

Probably too late to get it into the October release, but I'm glad that there weren't any knee-jerk reactions about the basic approach being wrong (or rejection of the feature)

#Python




Show Original Post


13.09.2025 02:45
blong (@blong@fosstodon.org)

Please boost 🙏 💚 Follow up to the above, and a request to the amazing #Python community, if you want to critique my use of release-please , I'd love your feedback! github.com/b-long/opentdf-pyth




Show Original Post


13.09.2025 01:00
djangocon (@djangocon@fosstodon.org)

🎟️ In-person & online tickets: ti.to/defna/djangocon-us-2025
#DjangoCon #Python #Django




Show Original Post


13.09.2025 00:54
davidism (@davidism@mas.to)

Been working on a huge PR to merge Flask's request and app context into one. No change from a user perspective, but way simpler internally. It may uncover some test patterns that were already problematic, but weren't from our docs. Would be great if a few people could test their app with this branch! I'll probably merge in a week if nothing comes up. github.com/pallets/flask/pull/ #Python #Flask




Show Original Post


13.09.2025 00:33
hobbs (@hobbs@dobbs.town)

Been tinkering with #uv a bit more today. Really enjoying it.

#python




Show Original Post


13.09.2025 00:15
djangocon (@djangocon@fosstodon.org)

🎟️ In-person & online tickets: ti.to/defna/djangocon-us-2025
#DjangoCon #Python #Django




Show Original Post


12.09.2025 23:30
isPoori (@isPoori@mastodon.social)

🚀 I just released a Python package that can make your coding workflow a lot smoother!

With omga-cli, you can:

Run quick tests on your files right from the command line

Ask coding questions and get AI-powered answers

Generate new code snippets

Run tests and even auto-fix your code

It’s like having a coding assistant directly in your terminal. ⚡

📦 Install from PyPI: 👉 pypi.org/project/omga-cli

🌐 Project Page: 👉 ispoori.github.io/omga-cli

💻 GitHub Repo: 👉 github.com/ispoori/omga-cli




Show Original Post


12.09.2025 22:51
intelgraphy (@intelgraphy@infosec.exchange)

Learning operations and doing math in python is bringing back my dying synapses of certain math knowledge from high-school...

#adhd #python #tech




Show Original Post


12.09.2025 22:45
treyhunner (@treyhunner@mastodon.social)

When a tuple is passed to startswith, it will check whether any of the strings within the tuple are prefixes.

Read more 👉 trey.io/dley4p




Show Original Post


12.09.2025 22:08
technology_tales (@technology_tales@mstdn.social)

Ray and Dask are Python libraries that help data scientists work faster with parallel processing. Dask excels at scalable data analysis with familiar pandas-like syntax, perfect for large datasets and ETL tasks. Ray shines in distributed ML training, hyperparameter tuning and model serving with built-in libraries like Ray Tune and Ray Serve. Choose Dask for data processing; Ray for ML pipelines. #DataScience #Python #MachineLearning #BigData #Ray #Dask #DataProcessing #ML kdnuggets.com/ray-or-dask-a-pr




Show Original Post


12.09.2025 22:06
technology_tales (@technology_tales@mstdn.social)

Learn to write cleaner Python code with these 10 practical techniques: use dataclasses instead of dicts, implement enums for fixed choices, leverage pathlib over os.path, write pure functions, add proper docstrings, and handle exceptions specifically. Transform from "it works" to truly maintainable code. #Python #CleanCode #Programming #SoftwareDevelopment #CodingTips #PythonTips #Developer kdnuggets.com/stop-writing-mes




Show Original Post


12.09.2025 22:05
technology_tales (@technology_tales@mstdn.social)

Polars offers a blazing fast alternative to Pandas with 3-22x performance improvements on common operations. Built in Rust with automatic parallelisation, it uses familiar DataFrame syntax but thinks in expressions rather than columns. Migration can be gradual - start with data loading for immediate wins, then adopt lazy evaluation for full pipeline optimisation. #Polars #Pandas #DataScience #Python #Performance #DataAnalysis #MachineLearning #BigData kdnuggets.com/polars-for-panda




Show Original Post


1 ...1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 ...1551
UP