Python

scout

How to Create a Python Stack

All programming languages provide efficient data structures that allow you to logically or mathematically organize and model your data. Most of us are familiar with simpler data structures like lists (or arrays) and dictionaries (or associative arrays), but these basic array-based data structures act more as generic solutions to your programming needs and aren’t really optimized for performance on custom implementations. There’s much more than programming languages bring to the table.

scout

The Most Popular Python Web Frameworks in 2020

Web frameworks are powerful tools. They abstract the common aspects of building web sites and APIs and allow us to build richer, more stable applications with less effort. A broad range of web frameworks is available to us in Python. Some are proven favorites with large ecosystems and communities. Others excel in niche use cases or for specific kinds of development. Still, others are up-and-comers with compelling new reasons to be considered.

scout

Better Python Decorators with Wrapt

Our instrumentation uses built-in extension mechanisms where possible, such as Django’s database instrumentation. But often libraries have no such mechanisms, so we resort to wrapping third party libraries’ functions with our own decorators. For example, we instrument jinja2 ’s Template.render() function with a decorator to measure template rendering time. We value the correctness of our instrumentation a lot so that we do not affect our users’ applications.

bearer

How to Listen for Webhooks with Python

Webhooks run a large portion of the "magic" that happens between applications. They are sometimes called reverse APIs, callbacks, and even notifications. Many services, such as SendGrid, Stripe, Slack, and GitHub use events to send webhooks as part of their API. This allows your application to listen for events and perform actions when they happen. In a previous article, we looked at how to consume webhooks with Node.js and Express.

Best Amazon Alexa Skills with Python in less than 5 minutes with only the web browser!

This is a live and unedited recording of a complete Alexa skill development including the VUI creation in the Alexa Developer Console, and a Python Lambda backend integrating with a DynamoDB database to return data. We use a stopwatch to time the effort, and including the deployment time of about a minute, we still complete everything in less than 5 minutes! The last part shows how subsequent code changes can be updated to the Alexa skill in less than 3 seconds. There is no software to install on your local machine, and you only need a web browser.

Alexa Skills with Sigma IDE | Build an Alexa Skill in 5 minutes with NodeJS or Python

Using just a web browser you can develop Alexa skills, test them and debug them while they execute live on AWS Lambda, with the Sigma IDE. Follow through this demonstration where we create an Alexa Skill from its Voice User Interface (VUI) creation to the Lambda function development in NodeJS or Python.
slappforge

Building an Alexa Skill in 5 minutes with NodeJS or Python without installing any software!

The Sigma IDE has added Alexa skill development support that makes skill development in NodeJS or Python a breeze! This post includes the tutorial walk-through for the YouTube video which you can find below.

coralogix

Python Logging - The Ultimate Guide

This guide is focused on how to log in Python using the built-in support for logging. It introduces various concepts that are relevant to understanding Python logging, discusses the corresponding logging APIs in Python and how to use them, and presents best practices and performance considerations for using these APIs.