Python

Showing 1-9 of 56 results
EngineeringIcon ChevronTechnology

Building Your First Telegram Bot: A Step by Step Guide

by Ali Abdel Aal

Chatbots are revolutionizing the way people interact with technology. In recent years, their simplicity and low cost have helped drive adoption across various fields and industries. In this article, Toptal Natural Language Processing Developer Ali Abdel Aal demonstrates how you can create and deploy a Telegram chatbot in a matter of hours.

11 minute readContinue Reading
EngineeringIcon ChevronTechnology

HorusLP-Gurobi: High Level Optimization Architecture for Gurobi

by Shanglun Wang

Commercial solvers such as Gurobi are playing an increasingly important role in optimization, and they tend to boast more features than open-source solutions. In this article, Toptal Python Developer Sean Wang explains how you can integrate the HorusLP package with Gurobi’s API to harness its most advanced features.

9 minute readContinue Reading
EngineeringIcon ChevronTechnology

Adversarial Machine Learning: How to Attack and Defend ML Models

by Pau Labarta Bajo

The increasing accuracy of machine learning systems has resulted in a flood of applications using them. As machine learning models matured and improved, so did ways of attacking them. In this article, Toptal Python Developer Pau Labarta Bajo examines the world of adversarial machine learning, explains how ML models can be attacked, and what you can do to safeguard them against attack.

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

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 ChevronTechnology

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

Join the Toptal® community.