Python

Python posts, videos, courses, and more

Abid Hasan Muin · 1 month ago

Create and Publish Docker Images in Just 5 Minutes

I have just started learning about Docker and Kubernetes and I thought I should share my journey with you guys. So, here's a quick guide on how to create and publish docker images. 1. Create...
2

Bobby Iliev · 2 months ago

Python Script to Copy The Content of a Materialized View to S3

Introduction Materialize is a streaming database for real-time analytics. It was launched in 2019 to address the growing need for the ability to build real-time applications easily and effic...
6

Arpit Soni · 2 months ago

Amazing Python Mini-Projects

1. Get Laptop Battery Percentage using Python # python script showing battery details import psutil # function returning time in hh:mm:ss def convertTime(seconds): minutes, seconds =...
4

GeekTech · 5 months ago

The terminal formatting library you need in 2022

When designing CLI applications we always face challenges as python programmers when it comes to making the text/UI look good. But have you ever wondered if this tedious task could be abstra...
1

Richa Kiran · 5 months ago

Lists in Python

List is a data structure used in Python. It is similar to the concept of arrays but unlike arrays they're more flexible about the type of data that is being stored in them. It is very easy t...
1

Bobby Iliev · 5 months ago

How to use server-sent events (SSE) with FastAPI?

Introduction Server-sent events (SSE) is a way to send data to the browser without reloading the page. This allows you to use streaming data and build real-time applications that can be used...
4

GeekTech · 5 months ago

Flask Blog Tutorial #2: User Registration and Interacting with MySQL

Howdy Geeks! 👋 I am back again. Previous version In this article, we will create a database to save user information for registration and create forms for registration. We will use MySQL s...
2

Bobby Iliev · 5 months ago

How to use FastAPI with Materialize for real-time data processing

Introduction This is a self-contained demo of FastAPI and Materialize. This demo project contains the following components: FastAPI: A fast, modern, and feature-rich framework for building...
3

Arindol Sarkar · 6 months ago

8 Ways to Make Your Code Look Cleaner and Better👀!

1. Indentation and Formatting : Use of Proper indentation makes your code look a lot cleaner and organized. It helps in identifying blocks. Sometimes maintaining proper indentation isn't pos...
3

Sachin Chaurasiya · 6 months ago

Create Custom User Model In Django

In this post, we will see how we can define our own User Model and use it. and also what are the changes we have to make while registering Custom User Model. Django Built-in User Model is Go...
2

Mr. Ånand · 6 months ago

15 Recommended Books For Computer Science Students

We are in the modern world where the digitization of education is already going on. Now lots of blogs, articles are there on the internet to learn from. But Book has its own value, the autho...
5

Sachin Chaurasiya · 6 months ago

How to Setup MongoDB Atlas?

MongoDB is a NoSQL database and we can use MongoDB with different programming languages. MongoDB can be used locally or on Cloud. so in this article will discuss how to set up MongoDB on the...
4

Abhiraj Bhowmick · 7 months ago

The ultimate Python Cheatsheet

The Ultimate Python CheatSheet Basics Basic syntax from the python programming language Showing Output To User the print function is used to display or print output print("Content that...
5

Sachin Chaurasiya · 7 months ago

An Introduction to Python dictionary and structuring data

In This article, I will discuss dictionary data type which provides a flexible way to access and organize data. Also, I will discuss how they are created, how to access, remove, add elements...
5

ranelpadon · 8 months ago

Pimp Your Python and Django Shells using IPython

Objective To have an slick IPython REPL like this: Background IPython (Interactive Python) is 20 years old now. It is mature, has lots of features, and really popular. It’s an interactiv...
3

Savio Martin · 9 months ago

Free Certification Courses for Developers 🔥

Hello Folks 👋 This is Savio here. 14 year old, building useful products. Helping people with tweets and blogs on web development, frotend tips, and interesting resources. Today, I'd like to...
7

Zahab Kakar · 10 months ago

6 Tips and Tricks Every Developer Should Know in Visual Studio Code 🤩

One of the most common text editors used by developers is Visual Studio Code. Microsoft created it to be the first cross-platform programming tool in the Visual Studio family that supported...
8

Dev Bookmark · 11 months ago

12 websites to Ace you programming skills in 2021

Hey everyone building projects and solving real world problems is inarguable one of the best ways you can learn how to code. In a culture dependent on usefulness, more often than not, practi...
6

Boyan Iliev · 11 months ago

Python Array Methods Everyone Should Know

Introduction For the past few years, Python has become one of the most popular programming languages in the dev world. It is often used to build websites and software, it is also used to aut...
6

Ruan Bekker · 1 year ago

Performance Monitoring with Elastic APM

In this post we will setup a Python Flask Application which includes the APM Agent which will collect metrics, that gets pushed to the APM Server. If you have not setup the Elastic Stack wi...
2

Ruan Bekker · 1 year ago

Weather Monitoring with Grafana and the DHT22 Sensor

In this tutorial, we will connect the DHT22 sensor to the Raspberry Pi Zero via the GPIO pins to measure temperature and humidity and visualize it with Grafana. Then we will write a Python e...
4

Ruan Bekker · 1 year ago

AWS S3 KMS and Python for Secrets Management

So your application need to store secrets and you are looking for a home for them. In this tutorial we will see how we can use Python, S3 and KMS to build our own solution for managing secre...
3

Ruan Bekker · 1 year ago

Using Python RQ for Task Queues in Python

This is a getting started on python-rq tutorial and I will demonstrate how to work with asynchronous tasks using python redis queue (python-rq). What will we be doing We want a client to sub...
5

Ruan Bekker · 1 year ago

Gitlab CICD Pipeline to Deploy your Python Flask API with Postgres on Heroku

Today we will build a Restful API using Python Flask, SQLAlchemy using Postgres as our Database, testing using Python Unittest, a CI/CD Pipeline on Gitlab, and Deployment to Heroku. Should y...
4

Ruan Bekker · 1 year ago

Encryption using PyCrypto in Python

While I'm learning a lot about encryption at the moment, I wanted to test out encryption with the PyCrypto module in Python using the Advanced Encryption Standard (AES) Symmetric Block Ciphe...
3

Ruan Bekker · 1 year ago

Improve MySQL Write Performance Using Batch Writes

I am no DBA, but I got curious when I noticed sluggish write performance on a mysql database, and I remembered somewhere that you should always use batch writes over sequential writes. So I...
2

Ruan Bekker · 1 year ago

Sending Slack Messages with Python

In this post I will demonstrate how to send messages to slack using python based on the status of an event. We will keep it basic, that when something is down or up, it should send a slack m...
2

Amine Dev · 3 years ago

Python Classes/Objects

Python Classes/ObjectsPython is an object oriented programming language.Almost everything in Python is an object, with its properties and methods.A Class is like an object constructor, or a...

Amine Dev · 3 years ago

Python : methods of list objects

 List in pythonA list is a collection which is ordered and changeable. In Python lists are written with square brackets.

Wael Manai · 3 years ago

Getting a user’s country, currency, timezone or language from their IP address

In many projects in the past, when I’ve had to use a Geo IP API service to look up a user’s IP address, it was usually for one of several reasons — getting the user’s country (for geo-lockin...

Loading More Content