How to Containerize a Python Application with Paketo Buildpacks
Building even simple Dockerfiles can be a challenge. This article will demonstrate an alternative method of containerizing an application, using Paketo Buildpacks... read more
Building even simple Dockerfiles can be a challenge. This article will demonstrate an alternative method of containerizing an application, using Paketo Buildpacks... read more

Pandas UDF can be limited, so we can speed up the Pandas GroupBy-Apply pattern by using NumPy instead, resulting in a significant performance improvement. However, it's important to benchmark and consider costs before deciding between Pandas and NumPy for your specific use case... read more
The author started programming in Rust and it influenced their approach to designing programs in Python. They emphasize the use of type hints, dataclasses for structured data, algebraic data types for explicit data shapes, and newtypes for specifying domain-specific usage of existing types. These pr.. read more
A large number of PGP signatures on PyPI can’t be correlated to any well-known PGP key and, of the signatures that can be correlated, many are generated from weak keys or malformed certificates. The results suggest widespread misuse of GPG and other PGP implementations by Python packagers, with said.. read more
In part one of the tale, Brandt Bucher looked specifically at the CPython optimizations that went into Python 3.11 as part of the Faster CPython project. More of that work will be appearing in future Python versions, but on day two of PyCon 2023 in Salt Lake City, Utah, Mark Shannon provided an over.. read more
When building Flask applications, use Python packages like APIFairy for APIs, Frozen-Flask for static websites, Flask-SQLAlchemy for databases, Gunicorn for production servers, pytest for testing, Flask-Login for user management, Flask-Sessions for sessions, pydantic for data validation, Flask-WTF f.. read more

This article explains how to perform language identification using Intel's PyTorch AI framework and Neural Compressor. It provides a code sample that uses the Hugging Face SpeechBrain toolkit and Common Voice dataset to train a model capable of identifying up to 93 languages. The article discusses o.. read more

This article discusses the technical details of writing integration tests for Golang, specifically for managing multiple sub-processes and attaching debuggers. It introduces a testing framework using YAML test definitions and a test runner. The framework allows for invoking Golang tests, reproducing.. read more

Learn the basic concepts of Go programming language while building a game like Snake... read more

This is the story of HUMAN Security's journey in search of the optimal project structure for Go. Throughout this process, the team made critical decisions based on thorough exploration and analysis, ultimately arriving at valuable conclusions. As a result, an open-source template repository was crea.. read more
