Showing headlines posted by topdog

« Previous ( 1 2 )

Python modules you should know: pexpect

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Apr 27, 2012 3:33 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is pexpect. Pexpect is a pure Python module that makes Python a better tool for controlling and automating other programs. Pexpect is similar to the Don Libes Expect system, but Pexpect as a different interface that is easier to understand.

Python modules you should know: psutil

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Apr 26, 2012 12:00 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is psutil. psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, disk, memory, network) in a portable way by using Python.

Python modules you should know: Passlib

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Apr 25, 2012 9:20 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Working with passwords is central to programming multi user applications, next in my on going series Python modules you should know is Passlib, a package that makes it easy for you to work with various password hashing schemes in Python.

Python modules you should know: Scrapy

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Apr 24, 2012 6:42 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is Scrapy. Do you want to be the next Google ? Well read on. Scrapy is a fast high-level screen scraping and web crawling framework, used to crawl websites and extract structured data from their pages. It can be used for a wide range of purposes, from data mining to monitoring and automated testing. You can use Scrapy to extract any kind of data from a web page, in HTML, XML, CSV and other formats. I recently used it to automate the extraction of domains and emails on the ISPA Spam Hall of Shame list, for use in a DNSBL.

TIP: Block Spam from domains on the South Africa ISPA Spam Hall of Shame using DNSBL

The South Africa Internet service providers association (ISPA) maintains a list of known spammers dubbed the Spam Hall of Shame. The list is contains both domains as well as email addresses, this list is published on a webpage without downloadable formats. I extract the data from this web page and publish it in a DNSBL ispa.rbl.baruwa.net, i use this DNSBL in my SAAS mail security product. So anyone should be able to use it in a similar way to the other DNSBL's like spamhaus and spamcop etc.

« Previous ( 1 2 )