Python

Showing 28-36 of 80 results
EngineeringIcon ChevronBack-end

Zero to Hero: Flask Production Recipes

By Ivan Poleschyuk

Flask is a great way to get up and running quickly with a Python applications, but what if you wanted to make something a bit more robust? In this article, Toptal Freelance Python Developer Ivan PoleschyuI shares some tips and useful recipes for building a complete production-ready Flask application.

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

Architecting Optimization Algorithms with HorusLP

By Shanglun Wang

HorusLP is a new Python tool designed to help with the architecture of algorithm development workflows. It provides an architectural framework for the development of optimization algorithms. In this article, Toptal Freelance Software Engineer Shanglun Wang explains how HorusLP came to be and demonstrates its capabilities with a few example algorithms.

22 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.

23 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 ChevronData Science and Databases

A Deep Dive Into Reinforcement Learning

By Adam Stelmaszczyk

Machine learning and artificial intelligence are popular topics, vast domains with multiple paradigms to solve any given challenge. In this article, Toptal Machine Learning Expert Adam Stelmaszczyk walks us through implementing deep Q-learning, a fundamental algorithm in the AI/ML world, with modern libraries such as TensorFlow, TensorBoard, Keras, and OpenAI Gym.

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

Haxe: Cross-platform Development’s Best-kept Secret

By Kevin Bloch

The modern, cross-platform programming language Haxe is well-known in some circles, yet many developers have never heard of it. Since it first appeared in 2005, it's been battle-tested by its loyal—if rather quiet—following. In this article, Toptal Freelance Software Engineer Kevin Bloch explores the Haxe ecosystem and how to transpile some sample code.

12 minute readContinue Reading

Join the Toptal® community.