Jupyter Notebooks, PSF Survey, and Django Scalability
Jupyter Notebooks Enhancements
NBQA for Quality Assurance
• The NBQA project introduces code quality assurance tools to Jupyter Notebooks.
• Integrates popular tools like black, isort, mypy, flake8, and pylint for notebook files.
• Supports configuration via pyproject.toml and integrates seamlessly with pre-commit hooks.
Python Community and Ecosystem
PSF Yearly Survey
• The PSF 2020 developer survey provides critical industry metrics regarding framework usage, editor preferences, and demographics.
• Highlights the value of high-quality data presentation, similar to the standards set by JetBrains.
Open Source Contribution
• The all-contributors specification recognizes diverse contributions beyond code, such as documentation, design, and translation.
• Features a useful GitHub bot to automate the recognition of community members.
Django: From Prototype to Production
Core Deployment Pitfalls
• Critical security steps include setting DEBUG=False, managing SECRET_KEY securely using environment variables or dedicated secret management services, and restricted ALLOWED_HOSTS.
• The importance of using production-grade databases like PostgreSQL or MySQL instead of SQLite for high-concurrency environments.
"It's the stuff that you don't know you don't know that gets you into trouble in production."
The Deployment Chasm
• Discussing the gap between tutorials and professional deployment.
• Introduction to Button (btn.dev), a forthcoming tool aimed at streamlining Django deployment.
• Emphasis on the "middle way" between restrictive PaaS providers and over-engineered container orchestration platforms.
Data Analysis with MovingPandas
Geospatial Trajectories
• MovingPandas extends GeoPandas to provide structures and tools for analyzing movement data.
• Enables analysis of trajectories, specifically looking at spatial data combined with timestamps to derive speed, direction, and stop locations.