Using Shift Register 74HC595 with Raspberry Pi

In the previous article we were talked about this device and the advantages that we could have using it. But it may be a little difficult to understand without seeing an example or without understanding its operation and usage modes.
Today we will be appling it using all the pins that this device provides us with a simple example using a code library open to everyone, made by marsminds and hosted on github.

Requirements:

Installing required library:

We can obtain a simple library to manage this shift registry from github:
In the same directory that you have the python script you need to do:

The procedure:

74hc595_leds_bb