If you are trying to use multiprocessing.Queue or multiprocessing.Pool on AWS Lambda, you are probably getting the exception: [Errno 38] Function not implemented: OSError sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) OSError: [Errno 38] Function not implemented
Python
A collection of 46 posts
Parallel Processing with Python and Multiprocessing using Queue
Today I had the requirement to achieve a task by using parallel processing in order to save time. The task to be achievedFor this demonstration, I have a list of people and each task needs to lookup its pet name
How to Cache Data with Python Flask
If you depending on a external source to return static data you can implement cachetools to cache data from preventing the overhead to make the request everytime you make a request to Flask. This is useful when your upstream data
Step by Step Guide using the DynamoDB Client interface using Boto3 and Python
In this demonstration I will be using the client interface on Boto3 with Python to work with DynamoDB. The main idea is to have a step by step guide to show you how to Write, Read and Query from DynamoDB.
Send Emails using Python and Sendgrid using SMTPlib
Quick tutorial on how to send emails using Python and smtplib. Sendgrid Sendgrid offers 100 free outbound emails per day, sign up with them via sendgrid.com/free, create a API Key and save your credentials in a safe place.
Get Blogpost Titles Links and Tags from a RSS Link using Python Feedparser
I wanted to get metadata from my other blog sysadmins.co.za, such as each post's title, link and tags using the RSS link. I stumbled upon feedparser, where I will use it to scrape all the posts details from
Using IAM Authentication with Amazon Elasticsearch Service
Today I will demonstrate how to allow access to Amazons Elasticsearch Service using IAM Authenticationi using AWS Signature Version4. Elasticsearch Service Authentication Support: When it comes to security, Amazons Elasticsearch Service supports three types of access policies: Resource Based Identity
Capture Geo Location Data with Python Flask and PyGeoIP
With the PyGeoIP package you can capture geo location data, which is pretty cool, for example, when you have IOT devices pushing location data to elasticsearch and visualizing the data with Kibana. That will be one example, but the possibilites
Subscribe to Sysadmins
Subscribe today and get access to a private newsletter and new content every week!