Questions tagged [pycurl]

PycURL is a Python interface to libcurl.

PycURL is a Python interface to libcurl. PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module. PycURL is mature, very fast, and supports a lot of features.

609 questions
0
votes
3 answers

Can't install pycurl==7.19.0 on ubuntu 16.04 python 2.7.12

Ubuntu - 16.04 Python - 2.7.12 Hi guys, I'm trying install pycurl==7.19.0 from setup.py, but catch this stack trace: Downloading…
Yura
  • 1
  • 3
0
votes
1 answer

How to enter data in the form and go to the next page with cookie in python

I would like to enter data in a form and login in the website, and then download the source of the current page. With curl from the terminal I do the following commands: curl -c cookie.txt --data "email=my@email.com&pass=MyPass&submit=login"…
who
  • 1
  • 1
0
votes
1 answer

Future scheduled update request form

Using Smartsheet one can delete the future scheduled Update request forms via the UI. Can I do the same using smartsheet API?
polyglot
  • 57
  • 11
0
votes
3 answers

Could not find a version that satisfies the requirement easy_install (from versions: )

Python 2.7.12 pip 8.1.2 ubuntu-16.04 I'm trying to install pycurl using: pip install pycurl this is what I get, Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8EU20I/pycurl/ So, I tried updating setup tools like…
iamgr007
  • 966
  • 1
  • 8
  • 28
0
votes
1 answer

Non multi part post using pycurl

I am unable to post data to a rest server because the server doesn't know how to handle a multi part post requests,and it throws an error when it encounters a boundary. Is there a way to make a non multi part post in pycurl? Why does a post request…
user5415371
0
votes
0 answers

convert curl command to python [pycurl or request or anythings!]

I`m try to post a data to specific url and get response and save it in the file with curl and no problem with it. This webpage post a data and if data is correct show response webpage, and if not redirect to url like…
The Alien
  • 45
  • 6
0
votes
1 answer

PyCURL is processing body before headers

Inspired by accepted answer to this question I'm trying to wrap PyCurl with requests-like interface. Everythig would be fine, but after following PyCURL docs describing how to read body encoding from headers, I'm experiencing the following problem.…
ElmoVanKielmo
  • 10,907
  • 2
  • 32
  • 46
0
votes
3 answers

How can I implement my PHP curl request to Python

This PHP code below fetches html from server A to server B. I did this to circumvent the same-domain policy of browsers. (jQuery's JSONP can also be used to achieve this but I prefer this method)
r2b2
  • 1,255
  • 5
  • 13
  • 34
0
votes
1 answer

PyCurl - error with libcurl

I am using pycurl - actually wants to use it - in my python scripts. I install it pip install pycurl - it pull version 7.43.0 When executing import pycurl I have error 'Incompatible library version: pycurl.so requires version 8.0.0 or later, but…
bensiu
  • 24,660
  • 56
  • 77
  • 117
0
votes
4 answers

How do I install pycurl for python2.6 (CentOS 5)

I can't install pycurl for python 2.6 on my server run CentOS 5. I use easy_install-2.6, but it output many errors. output here: http://pastebin.com/Dw92H7fC Help would be great. : )
Wzof
  • 1
  • 1
  • 2
0
votes
0 answers

importError: No module named pycurl

I'm following this guide - http://videos.cctvcamerapros.com/digital-io-alarm-in-out/send-push-notifications-from-raspberry-pi.html I've installed pycurl using sudo apt-get install python-pycurl but when i run the code it simply shows: Traceback…
Trevor Hess
  • 1
  • 1
  • 2
0
votes
0 answers

How to authenticate through post form using pycurl

I currently use selenium to log into a web page and get a cookie I need to access the site, which I then use to authenticate a bunch of JSON RPC requests (also with pycurl). The following code (and later pycurl JSON RPC requests) work…
olesk
  • 3
  • 5
0
votes
1 answer

importing pycurl to crossbar.io errors out

OK so I want to use crossbar.io and build an app in python. I can get the demo working however my app will need to spin off threads which use pycurl to listen to long-lived http connects. separately, the crossbar.io code and the pycurl code work,…
MostWanted
  • 571
  • 1
  • 5
  • 12
0
votes
0 answers

python-requests iter_content implementation using pycurl

I want to replace requests with pycurl in my existing code base. Is it possible to write interface similar to that of requests? In particular I am looking for a drop in replacement for requests .iter_content() method.
Amit
  • 712
  • 2
  • 13
  • 26
0
votes
1 answer

Form in HTTP POST: Curl to pyCurl

I am trying to transform following Curl fragment: -F "model={ name: 'myapp', targets: [ { identity: [ 'servers', 'server_name' ] } ] }" \ -F "sourcePath=@/deployments/MyApp/app/MyApp.ear" Into pyCurl: targets_list =…
Konrad
  • 630
  • 2
  • 11
  • 27