Python tutorials

The NLP Cypher | 11.21.21

Hey … so have you ever deployed a state-of-the-art production level inference server? Don’t know how to do it? Well… last week, Michael Benesty dropped a bomb when he published one of the first ever detailed blogs on how to not only deploy a production level inference API but benchmarking some of the most widely used frameworks such as FastAPI and Triton servers and runtime engines such as ONNX runtime (ORT) and TensorRT (TRT). Eventually, Michael recreated Hugging Face’s ability […]

Read more

Python Community Interview With Eric Wastl

This week, we’re joined by Eric Wastl, a Senior Architect at TCGPlayer and the founder of Advent of Code (AoC). Join us as we discuss the inception of AoC, how to avoid common pitfalls when solving code challenges in AoC, and what Eric gets up to in the “3.8 seconds” of free time he has per year. Ricky: Thanks for joining me, Eric. You’re perhaps most well known for being the founder of Advent of Code, which we’ll talk about […]

Read more

Speed up your Conda installs with Mamba

Conda installs can be very very very slow. Every time you run conda install: It has to collect the package metadata. It has to solve the environment. … maybe you can take a coffee break here, or go work on a jigsaw puzzle to relax … It has to download packages. Eventually, finally, it will install the packages it downloaded. By the time this is all done you’ve probably forgotten what it was you were trying to do in the […]

Read more

Python News: What’s New From October 2021?

New versions of Python are now released annually. We can look forward to the core developers sharing a lovely goody bag with the rest of us every October. With Python 3.10, which came out of beta on October 4th, everyone had something exciting to anticipate. Each release of Python has a release manager who’s responsible for coordinating all changes and for building and preparing the files for distribution. The release manager for Python 3.10 and 3.11 is Pablo Galindo Salgado. […]

Read more

Building Lists With Python’s .append()

Adding items to a list is a fairly common task in Python, so the language provides a bunch of methods and operators that can help you out with this operation. One of those methods is .append(). With .append(), you can add items to the end of an existing list object. You can also use .append() in a for loop to populate lists programmatically. In this course, you’ll learn how to: Work with .append() Populate lists using .append() and a for […]

Read more

Securely Deploy a Django App With Gunicorn, Nginx, & HTTPS

Taking a Django app from development to production is a demanding but rewarding process. This tutorial will take you through that process step by step, providing an in-depth guide that starts at square one with a no-frills Django application and adds in Gunicorn, Nginx, domain registration, and security-focused HTTP headers. After going over this tutorial, you’ll be better equipped to take your Django app into production and serve it to the world. To make the most out of this tutorial, […]

Read more

Cython, Rust, and more: choosing a language for Python extensions

Sometimes pure Python code isn’t enough, and you need to implement an extension in a compiled language like C, C++, or Rust. Maybe your code is slow, and you need to speed it up. Maybe you just need access to a library written in another language. Depending on your particular situation and needs, you may want to choose a different tool. But which one? Let’s see what your options are, and then go through a variety of scenarios and see […]

Read more

Advanced Visual Studio Code for Python Developers

Visual Studio Code, or VS Code for short, is a free and open source code editor by Microsoft. You can use VS Code as a lightweight code editor to make quick changes, or you can configure it as an integrated development environment (IDE) through the use of third-party extensions. In this tutorial, you’re going to look at how to get the most out of VS Code for Python development. During this tutorial, you’ll learn how you can configure, extend, and […]

Read more

Using plt.scatter() to Visualize Data in Python

An important part of working with data is being able to visualize it. Python has several third-party modules you can use for data visualization. One of the most popular modules is Matplotlib and its submodule pyplot, often referred to using the alias plt. Matplotlib provides a very versatile tool called plt.scatter() that allows you to create both basic and more complex scatter plots. In this course, you’ll learn how to: Create a scatter plot using plt.scatter() Use the required and […]

Read more

Build a Command-Line To-Do App With Python and Typer

Building an application to manage your to-do list can be an interesting project when you’re learning a new programming language or trying to take your skills to the next level. In this tutorial, you’ll build a functional to-do application for the command line using Python and Typer, which is a relatively young library for creating powerful command-line interface (CLI) applications in almost no time. With a project like this, you’ll apply a wide set of core programming skills while building […]

Read more
1 110 111 112 113 114 191