The requirement is to build a simple OR condition query string filter using django-filter. Since there is no standardization of the format, I have used a query string which looks like ?value=v1|v2|v3 Here's a simple implementation using Django's Q objects. You can re-use the below filter using method_multivalue Finally query using ?names=Tom|Dick|Harry
I was working on a project which needed a nice way of wireless communication with an external device. Well, it was difficult to find any sort of documentation for getting it done, so had to figure it out on my own. Windows(other than the latest Windows 10) doesn't have any BLE 4.0 supporting stack, so … Continue reading BLE with RFduino, Linux and Python!!
Well, it was my birthday recently, and my facebook wall was flooded by people wishing me. I don't really use facebook, but wanted to reply to them all. Manually? Never. 😛 So, lets get to search something that can be used. Came across, FB graph API, and that is exactly what was needed. 🙂 A … Continue reading Automate facebook comments and likes
Python automatic navigation through websites. Logging in to websites using python.
Processing and creating Excel documents using Python
Make a certificate creator using Python
Hello everyone, I would like to share with everyone different ways to use python to download files on a website. Usually files are returned by clicking on links but sometimes there may be embedded files as well, for instance an image or PDF embedded into a web page. We will be using an extra BeautifulSoup … Continue reading Use python to download files from websites