Python

Showing 19-27 of 49 results
EngineeringIcon ChevronBack-end

Python Multithreading and Multiprocessing Tutorial

by Marcus McCurdy

Threading is just one of the many ways concurrent programs can be built. In this article, we will take a look at threading and a couple of other strategies in building concurrent programs in Python, as well as discuss how each is suitable in different scenarios.

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

Python Logging: An In-Depth Tutorial

by Son Nguyen Kim

As applications become more complex, having good logs can be very useful, not only when debugging but also to provide insight in application issue/performance. The Python standard library comes with a logging module that provides most of the basic logging features and is very handy but contains some quirks that can cause hours of headaches

6 minute readContinue Reading
EngineeringIcon ChevronBack-end

Exploring Supervised Machine Learning Algorithms

by Vlad Miller

While machine learning sounds highly technical, an introduction to the statistical methods involved quickly brings it within reach. In this article, Toptal Freelance Software Engineer Vladyslav Millier explores basic supervised machine learning algorithms and scikit-learn, using them to predict survival rates for Titanic passengers.

24 minute readContinue Reading
EngineeringIcon ChevronTechnology

From Solving Equations to Deep Learning: A TensorFlow Python Tutorial

by Oliver Holloway

TensorFlow makes implementing deep learning on a production scale a breeze. However, understanding its core mechanisms and how dataflow graphs work is an essential step in leveraging the tool’s power. In this article, Toptal Freelance Software Engineer Oliver Holloway demonstrates how TensorFlow works by first solving a general numerical problem and then a deep learning problem.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

A Guide to Performance Testing and Optimization With Python and Django

by Iulian Gulea

Donald Knuth said that "premature optimization is the root of all evil." But there comes a time, usually in mature projects with high loads, when the need to optimize presents itself. In this article, Toptal Freelance Software Engineer Iulian Gulea talks about five common methods to optimize a web project’s code using principles that can be used in Django as well as other frameworks and languages. Using these principles, he demonstrates how to reduce the response time of a query from 77 to 3.7 seconds.

12 minute readContinue Reading
EngineeringIcon ChevronBack-end

Orchestrating a Background Job Workflow in Celery for Python

by Rustem Kamun

In this article, I will try to give you a good understanding of which scenarios could be covered by Celery. Not only will you see interesting examples, but will also learn how to apply Celery with real world tasks such as background mailing, report generation, logging and error reporting. I will share my own way of testing tasks beyond emulation and explain a few tricks that go beyond the official documentation and took me hours of research to discover myself.

15 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Twitter Data Mining: A Guide to Big Data Analytics Using Python

by Anthony Sistilli

Twitter is a goldmine of data. Unlike other social platforms, almost every user’s tweets are completely public and pullable. In this tutorial, Toptal Freelance Software Engineer Anthony Sistilli will be exploring how you can use Python, the Twitter API, and data mining techniques to gather useful data.

9 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Apache Spark Streaming Tutorial: Identifying Trending Twitter Hashtags

by Hanee' Medhat Shousha

Social networks are among the biggest sources of data today, and this means they are an extremely valuable asset for marketers, big data specialists, and even individual users like journalists and other professionals. Harnessing the potential of real-time Twitter data is also useful in many time-sensitive business processes. In this article, Toptal Freelance Software Engineer Hanee' Medhat explains how you can build a simple Python application to leverage the power of Apache Spark, and then use it to read and process tweets to identify trending hashtags.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

Top 10 Mistakes that Django Developers Make

by Alexandr Shurigin

In this tutorial, we will look at some common mistakes that are often made by Django developers and ways to avoid them. This tutorial is useful even if you’re a skilled Django developer because these mistakes aren’t just limited to new developers taking their first stab at Django.

12 minute readContinue Reading

Join the Toptal® community.