Python
123 posts
Using Cursor for Open Source Library Maintenance
How AI tools like Cursor simplify open source library maintenance by assisting with code understanding, environment setup, housekeeping, and project standards.
Effective Docstrings: Google vs. NumPy vs. reStructuredText Styles
Learn to write clear docstrings Sphinx understands. Compares Google, NumPy, and reStructuredText formats for effective Python library documentation.
PyGeoHash 2.1.0: Modernizing a Geospatial Python Library
A look at the latest updates to PyGeoHash, a lightweight Python library for working with geohashes, and how modern AI tools helped revitalize the project.
Geohash: When Clever Isn't Always Smart
A deep dive into the limitations of the Geohash algorithm, including boundary issues, non-uniform cell sizes, and common implementation mistakes to avoid.
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.