Category Archives: Python

Python is an interpreted, high-level, general-purpose programming language.

Glance: setting up a self-hosted home page for your browser
0 (0)

13 March 2026

There’s this cool thing called self-hosted home pages. I saw them somewhere on Reddit a while back, saved them to bookmarks, and now that I have all this self-hosted stuff with NAS (see FreeBSD: Home NAS, part 1), Grafana, and other useful things for work and daily life – I thought it would be nice… Read More: Glance: setting up a self-hosted home page for your browser0… »

Loading

Kubernetes: what are the Kubernetes Operator and CustomResourceDefinition
0 (0)

21 July 2025

Perhaps everyone has used operators in Kubernetes, for example, PostgreSQL operator, VictoriaMetrics Operator. But what’s going on under the hood? How and to what are CustomResourceDefinition (CRD) applied, and what is an “operator”? And finally, what is the difference between a Kubernetes Operator and a Kubernetes Controller? In the previous part – Kubernetes: Kubernetes APIs,… Read More: Kubernetes: what are the Kubernetes Operator and CustomResourceDefinition0 (0) »

Loading

AI: writing an MCP server for VictoriaLogs
0 (0)

22 May 2025

In the previous article, we figured out what an MCP is in general, and created a basic MCP server that was connected to Windsurf – see AI: What is the MCP? Now, let’s try to create something more useful, for example, an MCP server that will connect to VictoriaLogs and receive some data. In fact,… Read More: AI: writing an MCP server for VictoriaLogs0 (0) »

Loading

Python: introduction to the Celery, and its monitoring configurations
0 (0)

20 May 2025

To put it very simply, Celery is something we can use to perform tasks outside of our main service. For example, there is a Backend API that has some kind of endpoint to which mobile devices send information that the user has created a new whatever in the application. The task of the Backend is… Read More: Python: introduction to the Celery, and its monitoring configurations0 (0) »

Loading

Python: introduction to @decorators using FastAPI as an example
0 (0)

19 May 2025

The last time I’ve used decorators in Python about 10 years ago, in Python 2, and I want to refresh my memory a bit, because now I’ve started using them quite actively, so want to see how it works under the hood, and what it is in general. The post turned out a bit… weird?… Read More: Python: introduction to @decorators using FastAPI as an example0 (0) »

Loading

AWS: Lambda – copy EC2 tags to its EBS, part 1 – Python and boto3
0 (0)

13 October 2021

We have an AWS Elastic Kubernetes Service cluster, which has a few WorkerNode Groups that were created as AWS AutoScaling Groups by using the eksctl, see the AWS Elastic Kubernetes Service: a cluster creation automation, part 2 – Ansible, eksctl for more details. The WorkerNode Group configuration for the eksctl keeps a set of Tags,… Read More: AWS: Lambda – copy EC2 tags to its EBS, part… »

Loading

Chromium: Linux, keyrings && Secret Service, passwords encryption and store
0 (0)

10 December 2019

One of the motives to go deeper into the keyrings (see the What is: Linux keyring, gnome-keyring, Secret Service, and D-Bus post) was the fact that Chromium, surprise-surprise, keep passwords unencrypted if a Linux system has no keyring and/or Secret Service enabled. So, let’s try to find how and where Chromium store passwords, and the… Read More: Chromium: Linux, keyrings && Secret Service, passwords encryption and store0… »

Loading

Redis: replication, part 3 – redis-py and work with Redis Sentinel from Python
0 (0)

1 April 2019

Still on the subject about Redis replication and Redis Sentinel – a couple of examples using the redis-py library for Python. Previous series posts: Redis: replication, part 1 – an overview. Replication vs Sharding. Sentinel vs Cluster. Redis topology Redis: replication, part 2 – Master-Slave replication, and Redis Sentinel All Redis clients for Python can be… Read More: Redis: replication, part 3 – redis-py and work with Redis… »

Loading

Python: what is the if __name__ == “__main__” ?
0 (0)

3 March 2019

In many Python modules you can find construction like: if __name__ == “__main__”: func() Its main purpose is to dedicate a code which will be executed during calling code as a module, after importing it into another code – and when running module itself as a dedicated script. Let’s take a look at a couple… Read More: Python: what is the if __name__ == “__main__” ?0 (0) »

Loading