python class special methods or magic methods. magic methods allow us to override or add the default functionality of python objects. One of the biggest advantages of using Python's magic methods is that they provide a simple way to make objects behave like built-in types. That means you can avoid ugly, counter-intuitive, and nonstandard ways of performing basic operators.
Introduction to API development with Django REST framework. You can build the API for any Django application. Pre-requisites are Django and OOPS(object oriented programming concepts) . In this
Django-REST User Level Permissions and Object Level Permissions. User Level Permissions and Object level Permissions allow to serve customers based on their access levels or permissions. Let us consider the scenario of Authors, Books, Readers. Authors are only allowed to write the books. Readers are only allowed to read the allowed Books.
Creating XML document with required elements, Then Parsing it using Python to generate a serialized form of its contents.
django-ses-gateway a pluggable Django application is used for sending mails from your verified domains and verified emails. We can also use django-ses-gateway for receiving messages and deliver them to an Amazon S3 bucket in an encrypted format, publish notifications to Amazon SNS to process the response or call your custom code via an AWS Lambda function.
WeasyPrint is to combine multiple pieces of information into an HTML template and then converting it to a PDF document.
Concurrent processing is complicated, it’s better to avoid it when possible, but when there is a priority for faster execution or there is a need to have multiple functionalities(programs) simultaneously we have to go for it. Using ampersand(&) symbol we can run processes in background or subshell, this way they run concurrently.
In previous post we collected top 250 movies names and their links from imDb. In this blog post, lets look into exporting that data into files. This helps us to understand the purpose of items and pipelines in scrapy.
In this Blog post, we will look into setting up scrapy. Later we will scrape from imdb.
Use Django Multi-Factor Authentication method to verify user identity with more than one authentication methods. It can be used for user login, any transactional methods etc.