Ways to manage instance attributes and access in Python to code more defensively

Ways to manage instance attributes and access in Python to code more defensively

Ways to manage instance attributes and access in Python to code more defensively. You will regret it if you skip this post.

No one needs intro to Python being an elegant language which many love, it is backed a great community of devs and it is widely used in different applications such as data, web, Desktop GUI, Business apps etc.

But there are some caveats, understanding how python’s inner machinery works will help us code better and more importantly write generic libraries which can be maintained easily.

This whole post in an inspired by reading one of David Beazley’s book on python and we used his recipes to write a framework on top of Apache Spark for creating maintainable applications. (ETL jobs using spark are easier to write but hard to maintain)

Understanding classes, instances and its attributes

Getters and Setters

Managing attributes by understanding the ‘.’

object-oriented python python-programming

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

How to Find Ulimit For user on Linux

Explains how to find ulimit values of currently running process or given user account under Linux using the 'ulimit -a' builtin command.

MEAN Stack Tutorial MongoDB ExpressJS AngularJS NodeJS

MEAN Stack Tutorial MongoDB ExpressJS AngularJS NodeJS - We are going to build a full stack Todo App using the MEAN (MongoDB, ExpressJS, AngularJS and NodeJS). This is the last part of three-post series tutorial.

top 30 Python Tips and Tricks for Beginners

In this post, we'll learn top 30 Python Tips and Tricks for Beginners

How to configure AWS SES with Postfix MTA

Amazon Simple Email Service (SES) is a hosted email service for you to send and receive email using your email addresses and domains. Typically SES used for sending bulk email or routing emails without hosting MTA. We can use Perl/Python/PHP APIs to send an email via SES. Another option is to configure Linux or Unix box running Postfix to route all outgoing emails via SES. Before getting started with Amazon SES and Postfix, you need to sign up for AWS, including SES. You need to verify your email address and other settings. Make sure you create a user for SES access and download credentials too.

Creating RESTful APIs with NodeJS and MongoDB Tutorial

Creating RESTful APIs with NodeJS and MongoDB Tutorial - Welcome to this tutorial about RESTful API using Node.js (Express.js) and MongoDB (mongoose)! We are going to learn how to install and use each component individually and then proceed to create a RESTful API.