Python

[ follow ]
from Agileabstractions
1 day ago

The Absolute Minimum Every Python Web Application Developer Must Know About Security

Never store passwords in plain text; use salted hashes and delegate password management for security.

Converting SOAP and WSDL into REST APIs

This article demonstrates how to expose a SOAP service as a REST interface, bridging traditional APIs with modern architectures.

Python Print French Tips & More Snake Nail Ideas For The Lunar New Year

The Chinese Lunar New Year highlights the symbolism of the snake, emphasizing wisdom and transformation through creative nail art designs.

New Python Knowledge Share Video Online: List Comprehensions, Generator Expressions & Function Signatures

This video enhances Python skills through a focus on data manipulation techniques and function signatures.
#programming

Python eats the world

Python is becoming increasingly popular and relevant in programming.
Understanding abstract base classes enhances code organization and reusability.
Cython enhances Python performance, integrating C-like speed with Python's simplicity.
Exploring different Python distributions can provide unique solutions for developers.

Fastcore L

Fastcore's L structure enhances Python lists with improved functionality, usability, and method chaining, making coding more efficient and intuitive.

PyCoder's Weekly | Issue #661

Modern sentiment analysis in Python helps interpret emotions in text data.
Understanding and implementing topological sorts is essential for handling ordered dependencies in programming.
Adhering to security principles is critical for Python web developers.

Python Insider: Python 3.14.0 alpha 4 is out

Python 3.14.0a4 is an early developer preview, emphasizing testing and potential feature additions during the alpha phase.

Me, Chatgpt, copilot, gemini, and google search classify quadrilaterals

Utilizing AI tools enhances coding practices and problem-solving.
Incorporating AI into programming allows for refined implementations and better precision in tasks like geometric shape classification.

The HackerNoon Newsletter: Building a Web Server with Python and Flask (1/3/2025) | HackerNoon

Writing consolidates technical knowledge and enhances personal credibility.
Learning to build a web server with Python and Flask is increasingly accessible.

Python eats the world

Python is becoming increasingly popular and relevant in programming.
Understanding abstract base classes enhances code organization and reusability.
Cython enhances Python performance, integrating C-like speed with Python's simplicity.
Exploring different Python distributions can provide unique solutions for developers.

Fastcore L

Fastcore's L structure enhances Python lists with improved functionality, usability, and method chaining, making coding more efficient and intuitive.

PyCoder's Weekly | Issue #661

Modern sentiment analysis in Python helps interpret emotions in text data.
Understanding and implementing topological sorts is essential for handling ordered dependencies in programming.
Adhering to security principles is critical for Python web developers.

Python Insider: Python 3.14.0 alpha 4 is out

Python 3.14.0a4 is an early developer preview, emphasizing testing and potential feature additions during the alpha phase.

Me, Chatgpt, copilot, gemini, and google search classify quadrilaterals

Utilizing AI tools enhances coding practices and problem-solving.
Incorporating AI into programming allows for refined implementations and better precision in tasks like geometric shape classification.

The HackerNoon Newsletter: Building a Web Server with Python and Flask (1/3/2025) | HackerNoon

Writing consolidates technical knowledge and enhances personal credibility.
Learning to build a web server with Python and Flask is increasingly accessible.
moreprogramming

Using (or really misusing) Path.resolve() in Python

Path.resolve() is prone to bugs because it resolves symlinks, which can misdirect file navigation in a project structure.

Spark to Snowpark with the SMA CLI

Snowpark Migration Accelerator facilitates a smooth transition from Spark to Snowpark by analyzing code and reporting compatibility scores.

Kushal Das

Setting the environment variable WEBKIT_DISABLE_COMPOSITING_MODE=1 can fix the EGL_BAD_ALLOC error in Toga's webview.

Building SaaS with Python and Django #212.2 Matt Layman

In this episode, we continued on the sign up workflow simplification.The focus of this stream was on adding the background task that will send the magic link email to allow sign in.

All You Have To Do Is Answer "True" Or "False" In This Random Knowledge Test

From sea otters to Shakespeare, let's see if you can answer these 15 questions.
#django

Django Ninja

Django Ninja combines the strengths of Django with the speed and elegance of FastAPI for efficient API development.

Episode #235: Principles for Considering Your Python Tooling - The Real Python Podcast

Focus on principles over trends when selecting Python tools.
Avoid pitfalls of trendy tool adoption without understanding project needs.

Database Indexing in Django

Database indexing optimizes data retrieval, enhancing application performance—especially for large datasets and Django applications.

Django Ninja

Django Ninja combines the strengths of Django with the speed and elegance of FastAPI for efficient API development.

Episode #235: Principles for Considering Your Python Tooling - The Real Python Podcast

Focus on principles over trends when selecting Python tools.
Avoid pitfalls of trendy tool adoption without understanding project needs.

Database Indexing in Django

Database indexing optimizes data retrieval, enhancing application performance—especially for large datasets and Django applications.
moredjango

How To Build a Multilingual Text-to-Audio Converter With Python | HackerNoon

The article guides on creating a Python app for seamless text audio conversion across languages.

Create Project-Less Python Utilities With Uv And Inline Script Metadata - Pybites

PEP 723 allows embedding metadata in Python scripts for improved tool integration, enhancing usability.
#python-programming

PSF Grants: Program & Charter Updates (Part 2)

The PSF Grants Program aims to enhance geographic equity and support underserved communities through strategic guiding principles.

Maker of RStudio launches new R and Python IDE

RStudio has released Positron, a new IDE for R and Python, based on Visual Studio Code, simplifying setup and including built-in functionality for both languages.

PSF Grants: Program & Charter Updates (Part 2)

The PSF Grants Program aims to enhance geographic equity and support underserved communities through strategic guiding principles.

Maker of RStudio launches new R and Python IDE

RStudio has released Positron, a new IDE for R and Python, based on Visual Studio Code, simplifying setup and including built-in functionality for both languages.
morepython-programming

Small PINPal Update

PINPal improves password memorization, reducing the risks associated with forgotten or weak passwords, particularly for critical accounts.
Memorization algorithms are crucial for enhancing security in password management by ensuring users remember their vault passwords.

Container Networking Guide: Part I

Virtual Ethernet devices (veth) facilitate communication between network namespaces and can also function independently.
from Python Software Foundation Blog
6 days ago

Powering Python together in 2025, thanks to our community!

The PSF raised around $99,000 to support Python and its community, setting ambitious goals for sustainable growth and improved collaboration in 2025.
#scripting

How I run standalone Python in 2025 - Peterbe.com

Using uv for managing Python versions and dependencies is more efficient than traditional methods like pyenv or Homebrew.

Ways to Start Interacting With Python - Real Python

Python can be interacted with through REPL, script files, and IDEs, catering to different learning and development needs.

How I run standalone Python in 2025 - Peterbe.com

Using uv for managing Python versions and dependencies is more efficient than traditional methods like pyenv or Homebrew.

Ways to Start Interacting With Python - Real Python

Python can be interacted with through REPL, script files, and IDEs, catering to different learning and development needs.
morescripting

Catching memory leaks with your test suite

Resource leaks cause programs to gradually consume more limited resources, leading to crashes.
#data-science

Anaconda Toolbox for Excel and more with Peter Wang

Peter Wang discusses the Anaconda Toolbox for Excel and its impact on Python's role in data science.

Learn From 2024's Most Popular Python Tutorials and Courses - Real Python

Python's rich library ecosystem enhances data science capabilities.
Hands-on projects in Python solidify learning and skills development.
Python simplifies web development and online data handling.
Effective testing improves code reliability and development efficiency.

PyCoder's Weekly | Issue #664

YNAB switched to Crunchy Bridge for managed Postgres, increasing performance by 30% and reducing costs by 10%.
Understanding the differences between Django and FastAPI can help developers choose the right web framework for their projects.

Anaconda Toolbox for Excel and more with Peter Wang

Peter Wang discusses the Anaconda Toolbox for Excel and its impact on Python's role in data science.

Learn From 2024's Most Popular Python Tutorials and Courses - Real Python

Python's rich library ecosystem enhances data science capabilities.
Hands-on projects in Python solidify learning and skills development.
Python simplifies web development and online data handling.
Effective testing improves code reliability and development efficiency.

PyCoder's Weekly | Issue #664

YNAB switched to Crunchy Bridge for managed Postgres, increasing performance by 30% and reducing costs by 10%.
Understanding the differences between Django and FastAPI can help developers choose the right web framework for their projects.
moredata-science

TIL: Using inspect and timeit together

Utilizing `inspect.getsource()` and `timeit` allows for efficient load testing in a single module in Python.

Textual - Switching Screens in Your Terminal - Mouse Vs Python

Screens in Textual organize applications, allowing for multiple screens with only one active at a time.

Python's range() function

The range function is fundamental for counting in Python, offering features for both ascending and descending sequences.

Resurrecting Scala in Spark : Another tool in your toolbox when Python and Pandas suffer

Pandas UDFs offer flexibility in handling complex logic but may suffer performance drops with many small record groups.
#software-development

Why the C programming language still rules

C remains a foundational programming language despite competition from newer languages.
C++ offers extensive features that enhance performance but also introduce complexity compared to C.

Newsletter January 2025

Recent updates improve clarity, efficiency, and user experience across sales, accounting, stock management, and user interface.

A Ghostly Episode

Ghostty terminal offers speed, features, and a native UI, raising the standard for terminal emulators.
Fish shell upgraded to Rust, enhancing usability and performance.
Ruff 0.9.0 introduces significant formatting enhancements for Python f-strings.

Towards PyPy3.11 - an update

Development on the Python 3.11 interpreter for PyPy is ongoing, with hopes for a beta version soon.

Spyder | Spyder 6 project lead: Remote development interface and application UI/UX improvements

Spyder 6 introduces significant improvements including a new remote development architecture funded by a notable grant.

Why the C programming language still rules

C remains a foundational programming language despite competition from newer languages.
C++ offers extensive features that enhance performance but also introduce complexity compared to C.

Newsletter January 2025

Recent updates improve clarity, efficiency, and user experience across sales, accounting, stock management, and user interface.

A Ghostly Episode

Ghostty terminal offers speed, features, and a native UI, raising the standard for terminal emulators.
Fish shell upgraded to Rust, enhancing usability and performance.
Ruff 0.9.0 introduces significant formatting enhancements for Python f-strings.

Towards PyPy3.11 - an update

Development on the Python 3.11 interpreter for PyPy is ongoing, with hopes for a beta version soon.

Spyder | Spyder 6 project lead: Remote development interface and application UI/UX improvements

Spyder 6 introduces significant improvements including a new remote development architecture funded by a notable grant.
moresoftware-development

The "Active Enum" Pattern

Passive enums separate behavior from data, leading to maintenance challenges and increased complexity in code.

Scala vs Python in Apache Spark 3: The Performance Deep Dive | By Indrajit swain

JVM-Native Execution vs Python Bridge (SPARK-24417).
"Scala vs Python in Apache Spark 3: The Performance Deep Dive | By Indrajit swain" is published by indrajeet swain.
#engineering

Reflecting on Life

Fulfillment comes from commitment to meaningful work, relationships, and personal growth.

We're hiring!

PythonAnywhere seeks a senior engineer with diverse stack skills for a remote position within an Extreme Programming team.

Reflecting on Life

Fulfillment comes from commitment to meaningful work, relationships, and personal growth.

We're hiring!

PythonAnywhere seeks a senior engineer with diverse stack skills for a remote position within an Extreme Programming team.
moreengineering

Episode #234: Building New Structures for Learning Python - The Real Python Podcast

New cohort-based courses enhance learning with live instruction and community support.
Quizzes will complement written tutorials to improve Python skills.
Structured books based on tutorials will focus on core Python concepts.
Redesigned learning paths will offer a clearer educational journey for learners.

The benefits of trailing commas

Trailing commas can simplify edits in multi-line data structures.
They help avoid syntax errors when swapping or adding elements.

Issues Generating Barcode in data:image/png;base64 Format with Custom Size and No Text

You can generate a barcode without text using the python-barcode library by appropriately setting writer_options.
Ensure that your options for size and DPI are correctly configured to effectively manipulate the output image.
#sustainability

PSF Grants: Program & Charter Updates (TLDR)

The PSF Board is updating the Grants Program to better serve the Python community's evolving needs.

PSF Grants: Program & Charter Updates (Part 1)

The PSF Grants Program faces increased demand and must adapt to ensure sustainability while supporting the Python community effectively.

Board Report for December 2024

The board is enhancing organizational stability by focusing on onboarding, hiring key personnel, and preparing for the 2025 conference.

PSF Grants: Program & Charter Updates (TLDR)

The PSF Board is updating the Grants Program to better serve the Python community's evolving needs.

PSF Grants: Program & Charter Updates (Part 1)

The PSF Grants Program faces increased demand and must adapt to ensure sustainability while supporting the Python community effectively.

Board Report for December 2024

The board is enhancing organizational stability by focusing on onboarding, hiring key personnel, and preparing for the 2025 conference.
moresustainability

51 - Dead Simple Python with Jason McDonald

In this episode, we have special guest, Jason McDonald, the author of Dead Simple Python from No Starch Press.
...
We chatted about the following topics:

Hosting Your Own AI with Two-Way Voice Chat Is Easier Than You Think! | HackerNoon

The integration of LLMs with voice capabilities enhances personalized customer interactions effectively.

PyCoder's Weekly | Issue #663

Django REST framework allows easier API development by minimizing required code.

A Developer's Guide to the AutoGen AI Agent Framework

AutoGen is popular with Python developers for building multi-agent AI systems.
Here's how to get started with it.

Musings on Tracing in PyPy

Tracing JITs have declined in popularity due to questions around their effectiveness despite their once-celebrated potential.

Resurrecting Scala in Spark : Another tool in your toolbox when Python and Pandas suffer

Pandas UDFs provide flexibility but may not be optimized for scenarios with many groups and minimal records.

Benchmarking Batch Processing Tools: Performance Analysis

Choosing the correct batch processing tool is vital for performance in Big Data.

We have been writing Ansible tasks wrong

Ansible's declarative nature could benefit from a more expressive syntax akin to programming languages for better readability and usability.

Unleash the Power of Interactive Data: Python & Plotly | HackerNoon

Data visualization reveals unexpected insights, transforming raw data into compelling narratives.
#community-engagement

My 2024 in review

I reflected on my busy and transformative year, focusing on work and community experiences while embracing new challenges in Open Source.

Episode #233: PyCoder's Weekly 2024 Top Articles & Missing Gems - The Real Python Podcast

PyCoder's Weekly reviewed over 1,500 links in 2024, revealing trends and hidden gems in the Python programming community.

My 2024 in review

I reflected on my busy and transformative year, focusing on work and community experiences while embracing new challenges in Open Source.

Episode #233: PyCoder's Weekly 2024 Top Articles & Missing Gems - The Real Python Podcast

PyCoder's Weekly reviewed over 1,500 links in 2024, revealing trends and hidden gems in the Python programming community.
morecommunity-engagement

Write Python like it's 2025

It's a new year, and we feel fine!2024 was a breakout year for our favorite programming language, and we have a feeling 2025 will be even bigger.

Building a Web Server with Python and Flask | HackerNoon

Flask and Python facilitate creating dynamic web experiences, essential for modern digital applications.

The Best Programming Languages for Game Development Revealed - SitePoint

The choice of programming language in game development depends on the game's type and complexity.
Lua and Python are easy for beginners; C++ is best for complex, high-performance games.
C# is great with Unity for indie and cross-platform games, while JavaScript suits web-based games.
Rust offers a new option for performance-critical projects with memory safety.

How to Send Email with Django Using SMTP Server - SitePoint

Django email integration requires configuring SMTP, securing credentials, sending emails, and implementing contact forms to enhance user engagement.

Refactoring 021 - Remove Dead Code | HackerNoon

Eliminate unused functions and constants to streamline code and enhance maintainability.

PyCoder's Weekly | Issue #662

The article highlights top tools and practices in Python, focusing on enhancing data display and coding efficiency for developers.
#data-management

Building HTTP APIs With Django REST Framework - Real Python

The Django REST framework streamlines building REST APIs, reducing code complexity.

TIL: Fractional Indexing

Fractional indexing simplifies record order management by reducing the need for extensive updates, thus improving efficiency.

Building HTTP APIs With Django REST Framework - Real Python

The Django REST framework streamlines building REST APIs, reducing code complexity.

TIL: Fractional Indexing

Fractional indexing simplifies record order management by reducing the need for extensive updates, thus improving efficiency.
moredata-management

API with NestJS #181. Prepared statements in PostgreSQL with Drizzle ORM

Using prepared statements improves query execution efficiency in PostgreSQL.
Prepared statements are session-specific, meaning they don't persist beyond the current session.

Top Skills for Landing a Developer Job as a 2025 Graduate in India

Startups and tech giants across India are actively seeking Python and Java-proficient developers to drive their AI initiatives.

DuckDB and Python: Ducks and Snakes living together

DuckDB simplifies data workflows in Python through efficient in-process architecture and strong integration capabilities.

TIL

Using `yield from` results in more concise generator code.

[December 2024] Python Monthly Newsletter | Zero To Mastery

Python developers should utilize the pathlib module for file operations to simplify their code.
Web security best practices are essential for all Python applications.
Python decorators are a powerful feature for enhancing function utility.
Django performance optimization is key to building scalable web applications.

Optimizing SQLite - Building SaaS #210 Matt Layman

In this episode, when worked on the newly migrated JourneyInbox site and focused on the database.Since me moved from Postgres to SQLite, I needed to make sure that SQLite was ready for users.

Kushal Das

Pastewindow enhances text transfer between buffers and windows in Neovim, ideal for teaching and coding.
from InfoWorld
3 weeks ago

Python in 2024: Faster, more powerful, and more popular than ever

No-GIL builds in Python are experimental and not yet production-ready, but early signs are encouraging for performance improvements.
Python 3.13 introduces an experimental JIT compiler for speed, but current gains are minimal and future enhancements are expected.
Old and obsolete standard library modules in Python are being phased out, as they are considered 'dead batteries'.
#open-source

Anthropic Publishes Model Context Protocol Specification for LLM App Integration

Anthropic's Model Context Protocol (MCP) simplifies LLM and tool integration through a standardized approach.

Announcing Python Software Foundation Fellow Members for Q3 2024!

The PSF recognizes outstanding contributions to the Python community by announcing its third batch of PSF Fellows for 2024.

Anthropic Publishes Model Context Protocol Specification for LLM App Integration

Anthropic's Model Context Protocol (MCP) simplifies LLM and tool integration through a standardized approach.

Announcing Python Software Foundation Fellow Members for Q3 2024!

The PSF recognizes outstanding contributions to the Python community by announcing its third batch of PSF Fellows for 2024.
moreopen-source

Researchers Uncover PyPI Packages Stealing Keystrokes and Hijacking Social Accounts

Two malicious Python packages were discovered, capable of exfiltrating sensitive data and unauthorized control of compromised systems.

Two malicious Python packages revealed by FortiGuard Labs

Two new malicious Python packages threaten user security by enabling login theft and data exfiltration through advanced malware techniques.

OpenAI Makes it Easier to Build Your Own AI Agents With API | HackerNoon

The Assistance API offers advanced functionalities like persistent message history and document handling, unlike traditional chat completion models.

Just put the fries in the bag bro

DBOS Transact allows resilient workflows in Python with ultra-lightweight execution and a significant speed advantage over AWS Step Functions.
Despite high adoption rates, usability challenges in Python typing limit the effectiveness of type checkers and documentation.

Using locust for load testing

Locust simplifies web application load testing by using Python scripts to simulate user traffic and interactions.

An Intro to pre-commit - Mouse Vs Python

pre-commit allows automatic checks on code before committing, enhancing code quality and saving time compared to waiting for CI processes.

TIL: Using hx-swap-oob with FastHTML

HTMX enables efficient DOM updates by injecting specific elements without full page reloads, enhancing user experience.

How to Remove Items From Lists in Python - Real Python

There are multiple methods to remove items from a Python list, including .pop(), .remove(), and del.

TIL: Python's defaultdict takes a factory function

defaultdict in Python allows customizable default values via callable functions, offering more flexibility than standard dictionaries.

TIL: SequentialTaskSet for Locust

Using `SequentialTaskSet` in Locust helps simulate human behavior for load testing by controlling task execution order.

Developer Guide to the CrewAI Agent Framework for Python

Unlike traditional single-agent systems that operate in isolation, CrewAI introduces autonomous AI agents that work together as a team.

New Article: Essential Python Web Security Part 1

Understanding critical security principles is essential for every Python web developer.
The article is part one of a series on web security, focusing on Full Stack Security.
from Dan Yeaw's Blog
4 weeks ago

A Big Job Change

The transition to Anaconda allows for hands-on technical contributions while leveraging previous leadership experience.

Performance Optimization for Django-Powered Websites on Shared Hosting

Optimizing a Django site on shared hosting requires understanding limits and implementing strategies to enhance performance.
from Techzine Global
1 month ago

Physics simulation trains robots 430,000 times faster

Genesis is an open-source simulation system that allows robots to train tasks 430,000 times faster than in the real world.

Top 8 Software Development Technologies to Consider in 2025

AI agents and Python lead in the tech market of 2025, driving demand for software development skills.

Episode #232: Exploring Modern Sentiment Analysis Approaches in Python - The Real Python Podcast

Sentiment analysis involves lexicon-based methods, machine learning techniques, and LLMs to analyze emotions in text.
[ Load more ]