Tagged articles
12 articles
Page 1 of 1
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 26, 2025 · Fundamentals

Why Python Type Annotations Are Your Code’s Safety Net (And How to Use Them)

This comprehensive guide explains why Python type annotations act like a safety net for your code, covering their benefits, basic and advanced syntax, static analysis with mypy, IDE integration, best‑practice strategies, and how to adopt them in existing projects for improved reliability and collaboration.

IDE integrationPythonbest practices
0 likes · 15 min read
Why Python Type Annotations Are Your Code’s Safety Net (And How to Use Them)
DevOps Coach
DevOps Coach
Sep 1, 2025 · Fundamentals

Unlock Python Speed: 10 Little‑Known Tricks to Supercharge Your Code

This article reveals ten often‑overlooked Python performance techniques—from replacing range(len(...)) with enumerate to leveraging Numba, Polars, and mypyc—providing concrete code examples, profiling commands, and library recommendations that can turn sluggish scripts into lightning‑fast production pipelines.

Generatorslru_cachemsgspec
0 likes · 9 min read
Unlock Python Speed: 10 Little‑Known Tricks to Supercharge Your Code
Data STUDIO
Data STUDIO
Mar 4, 2025 · Backend Development

Super‑Modern Python Tools for 2025: Boosting Efficiency and Code Quality

This article reviews a suite of modern Python utilities—including uv for version management, Ruff for fast linting, mypy for static typing, Typer for type‑hinted CLI creation, and Rich for terminal styling—explaining their features, performance benefits, and practical usage examples on Python 3.11.

PythonRuffTyper
0 likes · 21 min read
Super‑Modern Python Tools for 2025: Boosting Efficiency and Code Quality
Python Programming Learning Circle
Python Programming Learning Circle
Apr 14, 2021 · Fundamentals

Setting Up a Python Development Environment with pyenv, Poetry, Black, mypy, and pre-commit

This guide explains how to configure a robust Python development environment by installing pyenv for version management, using Poetry for dependency handling, applying Black for code formatting, integrating mypy for static type checking, and automating checks with pre-commit, all illustrated with concrete command examples.

BlackPoetryPython
0 likes · 10 min read
Setting Up a Python Development Environment with pyenv, Poetry, Black, mypy, and pre-commit
Qunar Tech Salon
Qunar Tech Salon
Oct 22, 2019 · Backend Development

Our Journey to Type‑Checking 4 Million Lines of Python at Dropbox

This article recounts Dropbox’s multi‑year effort to adopt static type checking with mypy across millions of Python lines, detailing why type checking is essential for large projects, the performance challenges encountered, and the engineering solutions—including incremental checks, a daemon, and a custom compiler—that enabled successful migration.

dropboxlarge codebasemypy
0 likes · 18 min read
Our Journey to Type‑Checking 4 Million Lines of Python at Dropbox
MaGe Linux Operations
MaGe Linux Operations
Mar 30, 2019 · Fundamentals

Master Python Type Hints and Variable Annotations to Prevent Bugs

This article explains how Python's dynamic typing can hide bugs, demonstrates common pitfalls with variables stored as strings, and introduces three practical solutions—Type Hints, Variable Annotations, and docstring annotations—while showing how tools like mypy can catch type mismatches.

docstringmypystatic-analysis
0 likes · 6 min read
Master Python Type Hints and Variable Annotations to Prevent Bugs
MaGe Linux Operations
MaGe Linux Operations
Sep 3, 2018 · Fundamentals

Boost Your Python Projects: 6 Must-Have Libraries Every Developer Needs

Discover six essential Python libraries—including PyPy, CFFI, PyInstaller, PBR, WxPython, and Mypy—that enhance performance, simplify packaging, enable C integration, improve type checking, and streamline desktop UI development, with download links and key features explained for developers of all levels.

CFFIPBRPyPy
0 likes · 11 min read
Boost Your Python Projects: 6 Must-Have Libraries Every Developer Needs
MaGe Linux Operations
MaGe Linux Operations
Oct 28, 2017 · Fundamentals

Boost Your Python Projects: 6 Must-Have Libraries Every Developer Needs

Discover six essential Python libraries—including PyPy, CFFI, PyInstaller, PBR, WxPython, and Mypy—that enhance performance, simplify packaging, enable C integration, and improve type checking, with download links and key features explained for developers seeking faster, more reliable Python applications.

CFFIPBRPyPy
0 likes · 10 min read
Boost Your Python Projects: 6 Must-Have Libraries Every Developer Needs
MaGe Linux Operations
MaGe Linux Operations
Jun 11, 2017 · Fundamentals

Why Python’s Dynamic Types Hide Bugs and How Type Hints Can Save You

This article explains how Python’s flexible typing can introduce subtle bugs, demonstrates the pitfalls with examples, and introduces Type Hints, Variable Annotations, docstrings, and Java‑Bean‑style solutions—including static checking with mypy—to improve code readability and reliability.

code-qualitymypystatic typing
0 likes · 5 min read
Why Python’s Dynamic Types Hide Bugs and How Type Hints Can Save You