Python
110 posts
Where Did All the RAM Go? Memory Profiling with Memray
High CPU isn''t the only performance issue. Learn how Memray helps track memory leaks and excessive allocation in your Python library to optimize usage.
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.
Silos to Shared Libraries: Guide to Inner Source Adoption
Guide for transitioning from team-specific code to shared libraries, covering governance models, security, and standardized development practices.
Mastering Mocking in Python with pytest-mock
A practical guide to mocking in Python testing - from basic concepts to advanced techniques with pytest-mock and other helpful libraries
Building Your Internal Library Developer Community
Explore strategies for building a thriving community of library developers in your organization through effective incentives, recognition, and collaboration.
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.
Inner Source: Bringing Open Source Culture Inside Your Organization
Learn how to harness the power of open source development practices within your organization through inner source principles and practices.
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.
Designing for Developer Joy: Python Library Ergonomics
What makes Python libraries joyful? Explore API ergonomics, from naming conventions & sensible defaults to helpful error messages that guide users to solutions.