Fully Automate Login and Banner Generation with Selenium, Requests and Click

Posted by Bob on Sun 20 August 2017 in Modules • Tagged with Selenium, Requests, selenium-requests, Click, Pillow, automation, scraping, tools, PyBites Banner Generator, images • 3 min read

In part 3 of the PyBites Banner Generator article series I show you how to automatically generate a banner with Requests and Selenium.


Continue reading

Using Pillow to Create Nice Banners For Your Site

Posted by Bob on Fri 11 August 2017 in Modules • Tagged with Pillow, images, utilities, pybites, curl, refactoring, challenges, PyBites Banner Generator • 4 min read

Running your site or business good chance you A. use promo material like banners and B. you make them manually with Photoshop, Gimp or what not. And yes for anything beyond the basics you probably need those programs. But what if you like to keep it simple and want to semi-automate things? Just an image and text on canvas? Enter Pillow - The friendly PIL fork, which makes this pretty easy. Come explore some of its capabilities with me in this article.


Continue reading

Module of the Week - Pexpect

Posted by Julian on Thu 27 July 2017 in Modules • Tagged with python, tips, code, pybites, pexpect, automation • 3 min read

A brief overview of the pexpect module


Continue reading

Module of the Week - Pendulum

Posted by Julian on Sat 24 June 2017 in Modules • Tagged with python, tips, code, pybites, pendulum, datetime, pytz, timezones • 2 min read

A brief overview of the Pendulum datetime module.


Continue reading

Using Python Requests on a Page Behind a Login

Posted by Julian on Fri 09 June 2017 in Modules • Tagged with requests, code, web scraping, python • 4 min read

In this post I discuss using the requests module on web pages behind a login


Continue reading

Module of the Week - ipaddress

Posted by Julian on Thu 23 March 2017 in Modules • Tagged with python, tips, code, pybites, ipaddress, sysadmin, stdlib • 3 min read

While playing around with code for our post on generators we discovered the ipaddress module, part of the Standard Library. Such a handy little module!


Continue reading

Module of the Week - Requests-cache for Repeated API Calls

Posted by Bob on Tue 14 March 2017 in Modules • Tagged with requests, cache, APIs, package • 2 min read

Today a quick article on a nice caching module when working with APIs: Requests-cache.


Continue reading

5 cool things you can do with itertools

Posted by Bob on Thu 12 January 2017 in Modules • Tagged with iterators, itertools, tricks, generators, game, notebooks, permutations • 2 min read

Itertools is a very useful module. In this short post I show some 5 examples how you can use it. Some of this stuff might be useful in next week's challenge ...


Continue reading