Python

Showing 1-9 of 38 results
EngineeringIcon ChevronTechnology

Ensuring Clean Code: A Look at Python, Parameterized

by Luke Plant

We’ll explore the application of parameterization and how it relates to mainstream design patterns such as dependency injection, strategy, template method, and others. In Python, many of these are made unnecessary by the fact that parameters can be callable objects or classes.

12 minute readContinue Reading
EngineeringIcon ChevronBack-end

Option/Maybe, Either, and Future Monads in JavaScript, Python, Ruby, Swift, and Scala

by Alexey Karasev

If you're searching for the holy grail of bug-free code in JavaScript, Python, Ruby, Swift, and/or Scala, look no further! This monad tutorial by Toptal Freelance Functional Programmer Alexey Karasev takes you from category theory to the practical implementations of the Option/Maybe, Either, and Future monads, plus a sample program—in all five languages.

24 minute readContinue Reading
EngineeringIcon ChevronTechnology

An Introductory Robot Programming Tutorial

by Nick McCrea

Let's face it, robots are cool. In this post, Toptal Engineer Nick McCrea provides a step-by-step, easy-to-follow tutorial (with code samples) that walks you through the process of building a basic autonomous mobile robot.

24 minute readContinue Reading
EngineeringIcon ChevronBack-end

Schooling Flappy Bird: A Reinforcement Learning Tutorial

by Neven Pičuljan

Leveraging DeepMind's breakthrough AI approaches takes some work, but the results are astounding. In this article, Toptal Freelance Deep Learning Engineer Neven Pičuljan guides us through the building blocks of reinforcement learning, training a neural network to play Flappy Bird using the PyTorch framework.

17 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Python Machine Learning Prediction with a Flask REST API

by Guillaume Ferry

Employing Python to make machine learning predictions can be a daunting task, especially if your goal is to create a real-time solution. However, Tensorflow and Scikit-Learn can significantly speed up implementation. In this article, Toptal Python Developer Guillaume Ferry outlines a simple architecture that should help you progress from a basic proof of concept to a minimal viable product without much hassle.

7 minute readContinue Reading
EngineeringIcon ChevronBack-end

Introduction to Python Microservices with Nameko

by Guilherme Caminha

The microservices architectural pattern is an architectural style that is growing in popularity, given its flexibility and resilience. In this article, Toptal Freelance Python Developer Guilherme Caminha will focus on building a proof of concept microservices application in Python using Nameko, a microservices framework.

12 minute readContinue Reading
EngineeringIcon ChevronTechnology

Intro to Python Image Processing in Computational Photography

by Radu Balaban

Computational photography is about enhancing the photographic process with computation. While we normally tend to think that this applies only to post-processing the end result (similar to photo editing), the possibilities are much richer since computation can be enabled at every step of the photographic process—starting with scene illumination. In this article, Toptal OpenCV Expert Radu Balaban walks us through two examples of computational photography: low light and high dynamic range.

11 minute readContinue Reading
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

Join the Toptal® community.