Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
REAL HTTP streaming client library
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
grubberr  
View profile   Translate to Translated (View Original)
 More options Aug 27 2012, 7:10 am
From: grubberr <grubb...@gmail.com>
Date: Mon, 27 Aug 2012 04:10:20 -0700 (PDT)
Local: Mon, Aug 27 2012 7:10 am
Subject: REAL HTTP streaming client library

Hello

Does anybody know
REAL HTTP streaming client library which can be used with gevent
( for consuming Twitter stream for example )

for time being I  found that really streaming in nature only
pycurl ( of course I cannot use it with gevent )

here is simple streaming server
https://gist.github.com/3487401

we can consume data from this server with help of curl such way
curl -N http://localhost:8080
( pycurl also works ok )

to meet my needs python library has to connect to server and
iteratively (without buffing ) consume one tick per second

I saw hacks to use urllib(2) and set buffer size to 1 byte
socket.read(1)
but this is not what I want

python library has to use socket.recv
call which can return as much data as it gets from socket

Thanks in advance for help !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benoit Chesneau  
View profile  
 More options Aug 27 2012, 7:19 am
From: Benoit Chesneau <bchesn...@gmail.com>
Date: Mon, 27 Aug 2012 13:19:58 +0200
Local: Mon, Aug 27 2012 7:19 am
Subject: Re: [gevent] REAL HTTP streaming client library

On Aug 27, 2012 1:11 PM, "grubberr" <grubb...@gmail.com> wrote:

Maybe mine: http://gunicorn.org/benoitc/http-parser

- benoît


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benoit Chesneau  
View profile  
 More options Aug 27 2012, 7:22 am
From: Benoit Chesneau <bchesn...@gmail.com>
Date: Mon, 27 Aug 2012 13:22:37 +0200
Local: Mon, Aug 27 2012 7:22 am
Subject: Re: [gevent] REAL HTTP streaming client library

On Aug 27, 2012 1:19 PM, "Benoit Chesneau" <bchesn...@gmail.com> wrote:

I meant http://github.com/benoitc/http-parser

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anorov  
View profile  
 More options Aug 30 2012, 5:26 pm
From: Anorov <anorov.vor...@gmail.com>
Date: Thu, 30 Aug 2012 14:26:04 -0700 (PDT)
Local: Thurs, Aug 30 2012 5:26 pm
Subject: Re: REAL HTTP streaming client library

I think this may be exactly what you want:

https://github.com/gwik/*geventhttpclient*<https://github.com/gwik/geventhttpclient>

Supports streaming etc.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »