Python binding for the libcurl C library.
Project description
libcurl-ct
Python binding for the libcurl C library.
Overview
libcurl-ct uses the underlying libcurl C shared library as specified in libcurl.cfg (included libcurl-X.X.* is the default), but there is also ability to specify it programmatically by one of the following ways:
import libcurl
libcurl.config(LIBCURL="libcurl C shared library absolute path")
# or
libcurl.config(LIBCURL=None) # included libcurl-X.X.* will be use
About original libcurl:
Borrowed from the original website:
libcurl - the multiprotocol file transfer library
Overview
libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP.
libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, HTTP/3, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos), file transfer resume, http proxy tunneling and more!
libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more…
libcurl is free, thread-safe, IPv6 compatible, feature rich, well supported, fast, thoroughly documented and is already used by many known, big and successful companies.
Requirements
- It is a fully independent package.All necessary things are installed during the normal installation process.
ATTENTION: currently works and tested only for Windows.
Installation
Prerequisites:
Python 3.7 or higher
3.7 with C libcurl 7.84.0 is a primary test environment.
pip and setuptools
To install run:
python -m pip install --upgrade libcurl-ct
Development
Prerequisites:
Development is strictly based on tox. To install it run:
python -m pip install --upgrade tox
Visit development page.
Installation from sources:
clone the sources:
git clone https://github.com/karpierz/libcurl.git libcurl-ct
and run:
python -m pip install ./libcurl-ct
or on development mode:
python -m pip install --editable ./libcurl-ct
License
Copyright (c) 2021-2022 Adam KarpierzLicensed under the MIT LicensePlease refer to the accompanying LICENSE file.
Changelog
7.84.0a2 (2022-08-27)
Upgrade: libusb v.7.81.0 -> v.7.84.0
Add support for Linux.
Add support for Python 3.10 and 3.11
Add support for PyPy 3.7, 3.8 and 3.9
Added a performance util tests/sprinter.py
Setup update (currently based mainly on pyproject.toml).
7.81.0a2 (2022-01-26)
Rename PyPi package to libcurl-ct due to name conflict.
7.81.0a1 (2022-01-26)
First release.
0.0.1 (2021-06-16)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file libcurl-ct-7.84.0a2.zip
.
File metadata
- Download URL: libcurl-ct-7.84.0a2.zip
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0406e62c41bc515f7ca051571eba184c05a7d59d226afc216dd30f4249c09c0c |
|
MD5 | 3b5e2ee35d1233a7f8f6e0be5de36b19 |
|
BLAKE2b-256 | 66d5581fb134fec023cce0020dee3b9247f9990051e4b644851f5d007fe3413d |
File details
Details for the file libcurl_ct-7.84.0a2-py3-none-any.whl
.
File metadata
- Download URL: libcurl_ct-7.84.0a2-py3-none-any.whl
- Upload date:
- Size: 5.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d17365a70c2d0533a87bff2b5014414949d2c1c72f4cbd97be07a6637d5e26e |
|
MD5 | 0e39e9cdffafb80ef00fa85d49fb6eec |
|
BLAKE2b-256 | c6820b07548bac7eca7560d118d32653f074b50934735619465038c965e2ed06 |