Radu Boncea Weblog

Entries Tagged ‘Python’

Quickies

Care ati auzit de Carpathia Hosting? Daca nu ati auzit o sa auziti acum…Carpathia a devenit peste noapte al treilea cel mai mare hub al traficului pe internet, mai mare decat Facebook sau Twitter. Megasite-urile detinute de Carpathia (Megaupload.com, Megavideo.com, Megarotic.com, Megaclick.com) genereaza aproape acelasi trafic cat genereaza Microsoft cu Bing, MSN si cele cateva [...]

Lasati un comentariu

URL shortening – How do they do it

URL shortening services had experienced a big push in the age of social networks rising, such as Twitter, where big urls collide with the 140 characters user input restriction.
So there was this need of magically transform URLs like this one http://raduboncea.ro/2009/04/01/twitter-autofollow-and-dm-using-python-twitter-imaplib-and-gmail/ into something like this http://tinyurl.com/cralfk.
Many would be tempted to think there is some [...]

Comentarii (2)

Twitter autofollow and DM using python-twitter, imaplib and gmail

The script will:

connect via imap to gmail
select the imap directory TwitterFollow (you should filter twitter follow notifications and label them with TwitterFollow)
fetch the headers of all unread mails
retrieve the twitter user screen_name that is following you from the headers
attempt to create a friendship aka autofollow. If an error occurs is probably due to the fact [...]

Comentarii (3)

Twitter autofollow and direct message using python mechanize libgmail

Requirements:

a valid gmail account
label your twitter follow notifications (E.g. I use TwitterFollow)
mechanize : a stateful programmatic web browsing
libgmail : a GA reverse engineered library
python-twitter : a wrapper around the Twitter API

IMPORTANT: because Gmail does not provide an API and does not intend to do that because of the ads, hacking libgmail to fetch the threads [...]

Comentarii (4)

Twitter Search Api example in use by Ecto Script – Python

Requirements: simplejson
The script gets the input from Ecto and prints the search results.

Comentarii (1)

Ecto script – python feedparser my delicous

I recently started using Ecto as a blog editor instead of Blogo and I find it extremely useful, specially the Script feature which allows you to get the output of your scripts and paste it to the post. This feature gives you all the freedom in automates certain posts.
The Script Tool supports php, python, ruby, [...]

Comentarii (1)

Python twitter api – extract friends who don’t follow back

A perspective different than the script I posted here which required python-twitter library.
Please excuse the lack of introspection, the script should be self explanatory.

Comentarii (1)

Twitter friends list match against followers using python-twitter

One simple way to extract those who you follow but are not following back

Comentarii (3)

Washington Times gândește opensource

Ieri washingtontimes.com a decis să împărtășească câteva din sursele folosite de ei pentru ziarul online.
Sursele sunt module ale platformei django, o platformă de dezvoltare a aplicațiilor web dezoltată în python pe principiul MVC, tot mai larg adoptată de programatori, mai ales după ce Google s-a decis să sprijine comunitatea Django prin folosirea acestei platforme în [...]

Lasati un comentariu

Python Twitter

Python-Twitter este o librarie client light in Python care foloseste metodele REST ale api-ului twitter. Nu parseaza decat in formatul Json, nu si XML.
Dependinte: SimpleJson

Lasati un comentariu