GRequests

Software screenshot:
GRequests
Dettagli del software:
Versione: 0.1.0
Data di caricamento: 14 Apr 15
Sviluppatore: Kenneth Reitz
Licenza: Libero
Popolarità: 4

Rating: nan/5 (Total Votes: 0)

GRequests è uno strumento Python che permette di utilizzare le richieste con Gevent per fare richieste HTTP asincrone facilmente.
Utilizzo
L'uso è semplice:
grequests importazione
URL = [
& Nbsp; 'http: //www.heroku.com',
& Nbsp; 'http: //tablib.org',
& Nbsp; 'http: //httpbin.org',
& Nbsp; 'http: //python-requests.org',
& Nbsp; 'http: //kennethreitz.com'
]
Creare una serie di richieste non inviati:
>>> rs = (grequests.get (u) per u negli URL)
Mandarli tutti allo stesso tempo:
>>> grequests.map (rs)
[, , , , ]

Requisiti :

  • Python

Altri software di sviluppo Kenneth Reitz

dj-database-url
dj-database-url

20 Feb 15

unzipit
unzipit

11 May 15

Requests
Requests

12 May 15

inbox
inbox

14 Apr 15

Commenti a GRequests

I commenti non trovato
Aggiungi commento
Accendere le immagini!