Development
50 posts
Finding the Slowdown: Profiling Python Code with Pyinstrument
Your benchmark says a function is slow, but why? Profilers like Pyinstrument help you pinpoint exactly where your Python code is spending its time.
How Fast Is It? Benchmarking Your Code with Pytest-Benchmark
Performance matters! Easily measure Python library speed with pytest-benchmark. Track performance, find regressions, and optimize effectively with benchmarks.
Foundations of Leadership: The Role of Character
Explore how character forms the foundation of effective leadership, drawing inspiration from Thayer's timeless military wisdom.
TRL 1-3: Concept to Proof-of-Concept in Tech Development
Explore TRLs 1-3, the foundational stages of technology development, from initial scientific research and theory through to early proof-of-concept validation.
Will It Blend? Testing Across Environments with Tox
Works on your machine? Great, but what about Python 3.9 or 3.12? Tox ensures library compatibility across different Python versions and dependency sets easily.
Are Your Tests Enough? Measuring Coverage with Coverage.py
Writing tests is step one. Step two is knowing what parts of your library code those tests actually exercise. Enter Coverage.py.
Why Your Library Needs Pytest (And How to Get Started)
Testing is vital for Python libraries. Explore why it''s crucial and how Pytest simplifies writing powerful tests with less boilerplate and better assertions.
Secure Coding Practices for Python Library Developers
Beyond tools, what principles guide secure Python library development? Explore essential practices: input validation, least privilege, error handling, and more.
Taming the Python Chaos: Linting & Formatting with Ruff
What linting and formatting actually are, why they matter (a lot!), and how the speedy tool Ruff can save your Python project (and your sanity).
Guide: Developing High-Quality Python Libraries
A comprehensive guide covering the essential aspects of creating robust, maintainable, and user-friendly Python libraries.