mbedtls-python
A Cython project with scikit-build
Overview
This project provides Python bindings for the libcurl library, enabling HTTP client capabilities in Python with native performance through Cython integration.
Note: This project is not just for Python developers! C++ developers can also use the pre-built libcurl library included in this package instead of building libcurl from source.
Features
- Python bindings for libcurl HTTP client
- Built with Cython for optimal performance
- CMake integration via scikit-build
- Support for HTTP/HTTPS protocols
- Test-driven development approach
Installation
pip install mbedtls
For the latest development version:
pip install git+https://github.com/MohammadRaziei/mbedtls.git
Quick Start
Basic HTTP Request
from mbedtls import curl
# Create a curl instance
c = curl.Curl()
# Perform a GET request
response = c.get("https://httpbin.org/get")
print(response.status_code)
print(response.text)
# Perform a POST request
response = c.post("https://httpbin.org/post", data={"key": "value"})
print(response.json())
Development
Run tests:
pytest -n auto
License
MIT License
Metadata
Release files for mbedtls 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mbedtls-0.0.1-cp39-abi3-manylinux1_x86_64.manylinux_2_5_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.5+ x86-64 | Details |
Release files / mbedtls-0.0.1-cp39-abi3-manylinux1_x86_64.manylinux_2_5_x86_64.whl
| Download URL | mbedtls-0.0.1-cp39-abi3-manylinux1_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 31.6 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
fc7d13d5a4a5579f0ba6e74871e819cea2c32c1e28c623c8d29900a2d37cd45f
|
|
BLAKE2b-256 checksum How to use checksums |
a9d179335432368f7001f62637aecb6d6e6b3706023d39978b78b94dc5c7e6a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for mbedtls 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.