#python

[ follow ]

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.
#web-security

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.

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.

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.

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.
moreweb-security
#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.

The Python AI library hack that didn't hack Python

Python is the fastest-growing and most popular programming language for 2024.

Fastcore L

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

New Python Jumpstart course

Python Jumpstart focuses on hands-on learning through writing code, contrasting with traditional video-based courses.

Beginning your career in python programming

Python offers versatility and is in high demand across various fields.
Begin by installing Python and setting up an IDE for development.
Explore advanced topics like OOP, File I/O, and Python's standard library for enhanced programming skills.
Practice coding regularly on platforms like LeetCode and HackerRank to improve proficiency.

Expression vs Statement in Python: What's the Difference? - Real Python

Expressions represent values whereas statements affect the execution flow.
Every piece of code in Python is a statement; however, not all statements yield values.

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.

The Python AI library hack that didn't hack Python

Python is the fastest-growing and most popular programming language for 2024.

Fastcore L

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

New Python Jumpstart course

Python Jumpstart focuses on hands-on learning through writing code, contrasting with traditional video-based courses.

Beginning your career in python programming

Python offers versatility and is in high demand across various fields.
Begin by installing Python and setting up an IDE for development.
Explore advanced topics like OOP, File I/O, and Python's standard library for enhanced programming skills.
Practice coding regularly on platforms like LeetCode and HackerRank to improve proficiency.

Expression vs Statement in Python: What's the Difference? - Real Python

Expressions represent values whereas statements affect the execution flow.
Every piece of code in Python is a statement; however, not all statements yield values.
moreprogramming
#pathlib

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.

PyCoder's Weekly | Issue #658

Django performance tuning is crucial for web project efficiency.
Python's pathlib facilitates easy file path management.
Poetry streamlines dependency management for Python projects.
ZenRows simplifies web scraping with comprehensive tools.

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.

PyCoder's Weekly | Issue #658

Django performance tuning is crucial for web project efficiency.
Python's pathlib facilitates easy file path management.
Poetry streamlines dependency management for Python projects.
ZenRows simplifies web scraping with comprehensive tools.
morepathlib

Kushal Das

Setting the environment variable WEBKIT_DISABLE_COMPOSITING_MODE=1 can fix the EGL_BAD_ALLOC error in Toga's webview.
#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.

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.

Lazy self-installing Python scripts with uv

Using command-line scripts in Python is straightforward for scripts without dependencies, but it complicates when external packages are needed.

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.

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.

Lazy self-installing Python scripts with uv

Using command-line scripts in Python is straightforward for scripts without dependencies, but it complicates when external packages are needed.

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

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.
#app-development

Creating A Fitness Tracker App With Python Reflex - Pybites

Reflex enables quick development of reactive applications in Python, making it ideal for projects like a fitness tracker app.

Build a desktop Translator using Python & Tkinter

Developing a desktop translator app using Tkinter and Google Translate APIs enables seamless translation of text between different languages.

Creating A Fitness Tracker App With Python Reflex - Pybites

Reflex enables quick development of reactive applications in Python, making it ideal for projects like a fitness tracker app.

Build a desktop Translator using Python & Tkinter

Developing a desktop translator app using Tkinter and Google Translate APIs enables seamless translation of text between different languages.
moreapp-development

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.
#web-development

The State of Python 2024 | The PyCharm Blog

Python continues to grow in popularity, leading in multiple coding indices and GitHub usage. Its diverse applications enhance its developer community.

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.

Building a Web Server with Python and Flask | HackerNoon

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

PyCoder's Weekly | Issue #659

Posit Connect Cloud streamlines publishing and managing interactive Python-based applications and data science models.

Simple Blog Example in Flask

Flask simplifies the process of building Python-backed web applications, similar to how Express makes Node.js easier.
The ease of integrating Jinja templates in Flask enhances the development experience.

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.

The State of Python 2024 | The PyCharm Blog

Python continues to grow in popularity, leading in multiple coding indices and GitHub usage. Its diverse applications enhance its developer community.

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.

Building a Web Server with Python and Flask | HackerNoon

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

PyCoder's Weekly | Issue #659

Posit Connect Cloud streamlines publishing and managing interactive Python-based applications and data science models.

Simple Blog Example in Flask

Flask simplifies the process of building Python-backed web applications, similar to how Express makes Node.js easier.
The ease of integrating Jinja templates in Flask enhances the development experience.

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.
moreweb-development

Catching memory leaks with your test suite

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

Using locust for load testing

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

TIL: Using inspect and timeit together

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

TIL: SequentialTaskSet for Locust

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

Using locust for load testing

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

TIL: Using inspect and timeit together

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

TIL: SequentialTaskSet for Locust

Using `SequentialTaskSet` in Locust helps simulate human behavior for load testing by controlling task execution order.
moreload-testing
#programming-basics

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.

Python's range() function

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

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.

Python's range() function

The range function is fundamental for counting in Python, offering features for both ascending and descending sequences.
moreprogramming-basics
#software-development

Rise of Python, Generative AI, and Global Developer Communities: Insights from GitHub Octoverse 2024

Python has become the most popular programming language on GitHub, surpassing JavaScript, largely due to its applications in data science and machine learning.
Generative AI projects on GitHub saw a 59% increase in contributions, indicating a shift in how developers are integrating AI into software development.

Python a shoo-in for Tiobe language of the year

Python is likely to win Tiobe's programming language of the year for 2024 due to its significant increase in popularity.

Managing Dependencies With Python Poetry - Real Python

Dependency management is crucial for Python projects using external packages.
Poetry simplifies version control and dependency management for consistent development environments.

Episode #229: The Joy of Tinkering & Python Free-Threading Performance - The Real Python Podcast

Exploring Python through tinkering and project development keeps developers engaged and sharp in their skills.

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.

Trusted publishing It has never been easier to publish your python packages

Python package publishing is now simpler and more secure with trusted publishing and GitHub Actions.

Rise of Python, Generative AI, and Global Developer Communities: Insights from GitHub Octoverse 2024

Python has become the most popular programming language on GitHub, surpassing JavaScript, largely due to its applications in data science and machine learning.
Generative AI projects on GitHub saw a 59% increase in contributions, indicating a shift in how developers are integrating AI into software development.

Python a shoo-in for Tiobe language of the year

Python is likely to win Tiobe's programming language of the year for 2024 due to its significant increase in popularity.

Managing Dependencies With Python Poetry - Real Python

Dependency management is crucial for Python projects using external packages.
Poetry simplifies version control and dependency management for consistent development environments.

Episode #229: The Joy of Tinkering & Python Free-Threading Performance - The Real Python Podcast

Exploring Python through tinkering and project development keeps developers engaged and sharp in their skills.

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.

Trusted publishing It has never been easier to publish your python packages

Python package publishing is now simpler and more secure with trusted publishing and GitHub Actions.
moresoftware-development

The "Active Enum" Pattern

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

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.
#data-visualization

PyCoder's Weekly | Issue #662

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

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

Data visualization reveals unexpected insights, transforming raw data into compelling narratives.

PyCoder's Weekly | Issue #662

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

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

Data visualization reveals unexpected insights, transforming raw data into compelling narratives.
moredata-visualization
#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

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.
#cybersecurity

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.

3 takeaways from the Ultralytics AI Python library hack

Python's software supply chain is increasingly susceptible to cyberattacks due to its popularity and unique usage in process automation and machine learning.

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.

3 takeaways from the Ultralytics AI Python library hack

Python's software supply chain is increasingly susceptible to cyberattacks due to its popularity and unique usage in process automation and machine learning.
morecybersecurity

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.
#open-source

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.

Your own Image Generation API service with FLUX, Python, and Diffusers - SitePoint

FLUX is revolutionizing AI image generation by outperforming established models like Stable Diffusion and Dall-E.
Setting up your own FLUX server can save costs and improve flexibility compared to serverless options.

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.

Your own Image Generation API service with FLUX, Python, and Diffusers - SitePoint

FLUX is revolutionizing AI image generation by outperforming established models like Stable Diffusion and Dall-E.
Setting up your own FLUX server can save costs and improve flexibility compared to serverless options.
moreopen-source
#data-science

The State of Data Science 2024: 6 Key Data Science Trends | The PyCharm Blog

Python usage in data analysis and machine learning is declining, indicating changing trends in 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.

Introduction to Sentiment Analysis in Python | The PyCharm Blog

Sentiment analysis is crucial for understanding emotional tone in text, aiding industries like customer service and market research.

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.

How to calculate Z-Scores in Python

Z-scores are essential for understanding data relative to the mean, particularly in detecting outliers and making comparisons.

The State of Data Science 2024: 6 Key Data Science Trends | The PyCharm Blog

Python usage in data analysis and machine learning is declining, indicating changing trends in 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.

Introduction to Sentiment Analysis in Python | The PyCharm Blog

Sentiment analysis is crucial for understanding emotional tone in text, aiding industries like customer service and market research.

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.

How to calculate Z-Scores in Python

Z-scores are essential for understanding data relative to the mean, particularly in detecting outliers and making comparisons.
moredata-science
#programming-languages

JavaScript is still number one - JetBrains report

JetBrains' 2024 report reveals that TypeScript, Rust, and Python are leading in growth and adoption among programming languages.

How Our Favorite Programming Languages Would Celebrate Christmas

Programming languages each have unique personalities that lead to a Christmas party filled with chaos and quirks, mirroring their traits.

JavaScript is still number one - JetBrains report

JetBrains' 2024 report reveals that TypeScript, Rust, and Python are leading in growth and adoption among programming languages.

How Our Favorite Programming Languages Would Celebrate Christmas

Programming languages each have unique personalities that lead to a Christmas party filled with chaos and quirks, mirroring their traits.
moreprogramming-languages

PyCoder's Weekly | Issue #660

The Python community is evolving, actively enhancing the development experience and expanding language applicability.
#automation

Let's Build a Free Web Scraping Tool That Combines Proxies and AI for Data Analysis | HackerNoon

The article focuses on building an AI-powered web scraper that can bypass advanced website security measures and automate data analysis.

Continuous Integration and Deployment for Python With GitHub Actions - Real Python

GitHub Actions enables Python developers to automate workflows and maintain software quality through effective CI/CD practices.

Let's Build a Free Web Scraping Tool That Combines Proxies and AI for Data Analysis | HackerNoon

The article focuses on building an AI-powered web scraper that can bypass advanced website security measures and automate data analysis.

Continuous Integration and Deployment for Python With GitHub Actions - Real Python

GitHub Actions enables Python developers to automate workflows and maintain software quality through effective CI/CD practices.
moreautomation

The Python Countdown to Christmas 2024 Giveaway - Mouse Vs Python

Offering free Python resources during the holiday season for learning purposes.
Encouraging followers to engage by following him for giveaway updates.

Testing some tidbits with pytest

Ned Batchelder's post presents creative techniques for checking binary strings in Python, encouraging community engagement.

Python in Visual Studio Code - December 2024 Release - Python

Pylance and Copilot's features automate docstring generation, improving code documentation in Visual Studio Code.

Checking Python Code with GitHub Actions - Mouse Vs Python

GitHub Actions automate code linting and formatting for Python, ensuring standards are enforced in pull requests.

Check if a point is in a cylinder - geometry and code

A simplified approach to determine if a point is inside a cylinder can mitigate complexities and inaccuracies found in traditional methods.

Episode #231: Good Python Programming Practices When New to the Language - The Real Python Podcast

PEP 8 provides essential guidelines for writing Python code that is clean and maintains high quality.

PyCon US 2025 Registration Launch!

Registration for PyCon US 2025 is officially open, with events scheduled for May 16-18, 2025, in Pittsburgh, Pennsylvania.

reader 3.16 released - Archived feed

Version 3.16 of reader introduces an archiving feature to preserve entries from deleted feeds, enhancing content management.

python-build-standalone finds a home

The jiter module is an efficient JSON parser designed for performance in Python projects, including implementations in Pydantic and Logfire.
Moka-py integrates a high-performance Rust caching library with Python, enabling sophisticated data caching strategies.

Testing some tidbits

Exploring diverse methods in Python for validating strings of zeros and ones emphasizes practical, varied coding strategies.

Cython tutorial: How to speed up Python

Cython significantly enhances Python performance by allowing the writing of C extensions and type-decorated code for faster execution.

Handling or Preventing Errors in Python: LBYL vs EAFP - Real Python

Effective error handling in programming is essential, utilizing either look before you leap (LBYL) or easier to ask forgiveness than permission (EAFP).

Closing the loop

Ned Batchelder's innovative loop target usage sparked a debate on code readability and styles among Python developers.
The asyncstdlib library facilitates the seamless integration of synchronous Python code in asynchronous programming environments.

Announcing: Azure Developers - Python Day - Python

Azure Developers - Python Day on December 5, 2024, offers essential training for Python developers focusing on cloud development and AI integration.

Constraints are Good: Python's Metadata Dilemma

The effort to standardize Python's lockfile highlights its metadata complexity and the challenges in reaching a consensus among packaging tools.

Accessing Private Google Artifact Registry with Poetry: Local and Docker Setup | HackerNoon

Configure Google Cloud credentials within Docker for accessing private packages in the Google Artifact Registry during local development.

AI-powered Image Generation API Service with FLUX, Python, and Diffusers: A Quick Guide | HackerNoon

Creating a custom FLUX server allows for flexible, cost-effective AI image generation using Python and a set of defined libraries.

TLS Client: Hello >

PyPI now supports digital attestations for verifying links to source repositories, enhancing trust in package integrity.

Black Friday Python Deals 2024 - Mouse Vs Python

All Python books and courses on sale for 35% off until December 4th using code BF24.
Wide variety of topics available including new courses on Python Logging and JupyterLab. Supports both beginners and experienced Python users.

[November 2024] Python Monthly Newsletter | Zero To Mastery

CPython 3.13 introduces major performance improvements with new features, enhancing the efficiency of Python development.

CSnakes: Embed Python code in .NET

CSnakes allows .NET developers to leverage Python libraries directly in their projects.

Running Cisco pyATS on Windows 11 Really Helped Me Brush Up My Python Fundamentals | HackerNoon

Network automation requires a functional lab setup with Linux, Python, and the pyATS framework.
[ Load more ]