Skip to content

johnbickmore/gtktwitterbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Je suis un developpeyr Breton!

GtkTwitterBox

ABANDONNED REPOSISOTRY

This GTK 3 module written in python 3.3 will show the 5 latest tweets of a given account and refresh X given seconds.

It is a part of the Douane project.

Python PEP8 and GtkTwitterBox

I'm not a python expert developer, I'm just doing python at home so I didn't spent time to have compliant code with PEP8.

I have plan to do that later on but if an expert is passing here and wants to contribute, he will be the welcome!

Screenshot

I am using it for my application Douane configurator and here it is how it looks like:

GtkTwitterBox in Douane

Installation

Debian/Ubuntu package

The library is now available in a PPA.

sudo add-apt-repository http://repository.douaneapp.com/
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 874CAFB5
sudo apt-get update
sudo apt-get install gtktwitterbox

Git

You can import this Git repository as submodule in your project.

To do so open a terminal in the root path of your python project and execute the following:

git submodule add git://github.com/zedtux/gtktwitterbox.git gtktwitterbox

This command will create a new folder gtktwitterbox in your project.

Usage

Import it

from gtktwitterbox.twitter import GtkTwitterBox

Embed it

GtkTwitterBox(vbox_main, "douaneapp", 15)
  • The first argument is the Gtk container where you want to have GtkTwitterBox.
  • The second argument is the twitter account name
  • The third argument is the interval of time to refresh tweets (in seconds)

You can also have a look at the test.py file

Contributing

You can contribute to this project by adding support for new VCS or new frameworks.

Fork

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Python library to inject a GTK Box with the latest tweets from an account.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.4%
  • Makefile 8.6%