Parsing and validating data in Python using Pydantic

4 years ago

The introduction of type hinting opened the gates for many great new features in Python. And data validation and parsing…

Using the optional chaining operator in JavaScript

4 years ago

Every now and then, you come across a JavaScript feature that vastly changes the way you write it. Destructuring, arrow…

Statically type checking Python code using Pyright

4 years ago

With the introduction of type hinting in Python 3.5, static typing and checking Python codes has started to gain popularity.…

Adding fixtures and parameterized functions to PyTest

4 years ago

As we discussed in our post on getting started with Pytest, the framework allows us to reuse tests by using…

Testing Python applications using Pytest

4 years ago

Testing our code brings in a variety of benefits, including building confidence in the code's functioning and having lesser regressions.…

How to format a Number as Currency using ES2015

4 years ago

The process to format a number as currency can be a tedious task. It feels like a small task, but…

Installing Intel-based packages using Homebrew on the M1 Mac

4 years ago

I recently got the new Apple Silicon Mac (aka the M1 mac), which means having to deal with the pain…

Getting started with Flask: a Python microframework

4 years ago

Flask is a python framework for writing web applications. It is a microframework, which as the name suggests, is a…

Managing Python dependencies using Virtual Environments

4 years ago

When we start building a Python project that goes beyond simple scripts, we tend to start using third-party dependencies. When…

Configure multiple accounts in AWS CLI

4 years ago

AWS CLI is a great tool for doing anything related to AWS. We can configure our access key for an…

Advertisements