Skip to main content

Python package for HTTP requests based on C++ libcurl and Poco

Project description

Reqboost

banner

PyPI version License Issues

Reqboost is a high-performance Python library developed primarily in C++ and built on libcurl. It is designed for developers who need a fast, efficient HTTP client with minimal overhead and extensive control.

Prerequisites

Make sure you have libcurl, poco ( and pkg-config in case of UNIX-systems) install on your system

Linux

Ubuntu/Debian-based Systems

sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libpoco-dev
sudo apt-get install pkg-config
sudo apt-get install nlohmann-json3-dev

Fedora-based Systems

sudo dnf update
sudo dnf install libcurl-devel
sudo dnf install poco-devel
sudo dnf install pkg-config
sudo dnf install nlohmann-json3-dev

MacOS

brew install curl
brew install poco
brew install pkgconfig
brew install nlohmann-json

Windows

Download the latest Windows binary from the libcurl website and following environment variables.

setx CURL_INCLUDE_DIR "C:\path\to\curl\include"
setx CURL_LIB_DIR "C:\path\to\curl\lib"
setx POCO_INCLUDE_DIR "C:\path\to\poco\include"
setx POCO_LIB_DIR "C:\path\to\poco\lib"

Binaries can be downloaded for UNIX-based systems also

Installation

  • Clone the repo and install:
git clone https://github.com/Khushiyant/reqboost.git
cd reqboost
pip install .

Above example will install in root, so try to use virtual environment for installation

  • Use direct github installation
pip install git+https://github.com/Khushiyant/reqboost.git

Contribution

Contributions are welcome! If you find a bug or have a feature request, please open an issue on the Reqboost GitHub repository.

Troubleshooting Builds

In case, modified code builds are not reflected in final build due to caching of previous builds. Use the following commands:

python setup.py clean --all
python setup.py build_ext --inplace

License

Reqboost is licensed under the Apache License, Version 2.0. See the LICENSE file for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reqboost-0.0.5.tar.gz (27.7 kB view details)

Uploaded Source

Built Distributions

reqboost-0.0.5-cp312-cp312-macosx_14_0_universal2.whl (142.4 kB view details)

Uploaded CPython 3.12 macOS 14.0+ universal2 (ARM64, x86-64)

reqboost-0.0.5-cp312-cp312-macosx_14_0_arm64.whl (142.4 kB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

File details

Details for the file reqboost-0.0.5.tar.gz.

File metadata

  • Download URL: reqboost-0.0.5.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for reqboost-0.0.5.tar.gz
Algorithm Hash digest
SHA256 107a3e4af8647af3b5c8fe5901ba3c65edf8469273b47e1c7b4c80caf04ed7cf
MD5 e421d90031beaf13d763793603c820a8
BLAKE2b-256 1278579d820db239017c6062cc8963a74d103b990e964516b7f272b2d84aa712

See more details on using hashes here.

File details

Details for the file reqboost-0.0.5-cp312-cp312-macosx_14_0_universal2.whl.

File metadata

File hashes

Hashes for reqboost-0.0.5-cp312-cp312-macosx_14_0_universal2.whl
Algorithm Hash digest
SHA256 9857d3183a904a5a8c86d7c48d47ce1e81c1735d3ea06498eec4a1c256343d17
MD5 1463d5d47555cd8739d403c650193e6d
BLAKE2b-256 24815557f48253ad6fe91be270c08e1ce5198c186f25adca4bfa2473872f8092

See more details on using hashes here.

File details

Details for the file reqboost-0.0.5-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for reqboost-0.0.5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 534774337580426988772b4659c33c95a747925cb2179a11405626cc0d9ffc77
MD5 d6281aa04901c7d247171ad4035afce9
BLAKE2b-256 66d1054f829f333bb16e57794b5d93184982b75181f963c210424765615fbe57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page