Operations | Monitoring | ITSM | DevOps | Cloud

Python

20 Simple Python Performance Tuning Tips

Python is a powerful and versatile higher-order programming language. Whether you’re developing a web application or working with machine learning, this language has you covered. Python does well at optimizing developer productivity. You can quickly create a program that solves a business problem or fills a practical need. However, the solutions you reach when developing quickly aren’t always optimized for python performance.

An Introduction to Python List Comprehensions

Python list comprehensions offer a concise method of interacting with each element of a list. Even though they’ve been available since Python 2.0, their syntax often demotivates people from using them. This article aims to introduce List Comprehensions in a friendly way and offer you one more Python feature to add to your scripting toolbox.

Python Geocoder: A Guide to Managing Locations in Your Apps

A great thing about building applications for the internet is that people from all around the world can benefit from your effort. You can gather new users from Taiwan to Colorado and meet their needs just as effectively. In this global context, it can be good to provide your users with local flavor to help them feel connected to you and your applications. It can also be useful for you to know where your users are coming from to make sure that your infrastructure is configured in the best way.

AWS Lambda with Python: A Complete Getting Started Guide

In this post, we’ll learn what Amazon Web Services (AWS) Lambda is, and why it might be a good idea to use for your next project. For a more in-depth introduction to serverless and Lambda, read AWS Lambda: Your Quick Start Guide to Going Serverless. In order to show how useful Lambda can be, we’ll walk through creating a simple Lambda function using the Python programming language. We’ll test it out, as well as take a look at what Lambda provides for metrics and logging.

Abstracting Credentials from Python Scripts

Python has rapidly grown into one of the most popular languages for automation. That’s why LogicMonitor supports Python when it comes to managing your LM portal and expanding your monitoring coverage with scripts. During your scripting adventures, you may find yourself wanting to take your work to the next level. One widely-applicable improvement is credential abstraction.

Lumigo adds monitoring support for AWS Chalice

We’re pleased to announce that the Lumigo serverless intelligence platform now supports the Python microframework, AWS Chalice. Chalice was created by AWS to simplify the process of writing serverless apps in Python. Similar in structure to the Flask web framework, Chalice handles much of the configuration on behalf of the user, including automated IAM role policy generation.

Write to S3 and call other Lambdas with Python

Many people writing about AWS Lambda view Node as the code-default. I’ve been guilty of this in my own articles, but it’s important to remember that Python is a ‘first-class citizen’ within AWS and is a great option for writing readable Lambda code. Take a look at these two starter examples of writing functionality in Python.

Distributed Machine Learning With PySpark

Spark is known as a fast general-purpose cluster-computing framework for processing big data. In this post, we’re going to cover how Spark works under the hood and the things you need to know to be able to effectively perform distributing machine learning using PySpark. The post assumes basic familiarity with Python and the concepts of machine learning like regression, gradient descent, etc.

Scout APM Goes to PyCon 2019, The Cleveland Edition!

This past week some of the Scout team had the opportunity to hang out at PyCon USA in Cleveland. This was the first time the Scout APM team had attended PyCon. It was great to spend some time with an awesome swath of the Python community. With a great booth location situated across the aisle from the innovative and fun Slack booth, we had fun getting to know everyone with a solid amount of traffic heading past our booth over the exhibition days.

PyCon 2019 - Scout brings APM for Python

The 2019 edition of PyCon USA takes place over the next few days in Cleveland, Ohio. Scout is delighted to be there, sharing our APM tool with the Python community. Plus, we'll have great t-shirts and stickers for you, and we love to get geeky - one of our lead product engineers, plus two of our smart support engineers, are working the booth, ready to help you figure out your Python performance problems.