Skip to main content

bin2text

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 bin2text

For the latest development version:

pip install git+https://github.com/mohammadraziei/bin2text.git

Quick Start

Basic HTTP Request

from bin2text 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 bin2text 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bin2text 0.0.1
File Size Uploaded Provenance
bin2text-0.0.1.tar.gz 11.3 kB Without provenance Details

Release files / bin2text-0.0.1.tar.gz

Download URL bin2text-0.0.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6809258baf6165434679ada8705454aca1f6d01ce93ff13de88db119c7ae9f0e
BLAKE2b-256 checksum
How to use checksums
3fa320a9bd435ec4046c648334ac5eccf8fa55b095f863145b8835a01c9790d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.7

Security for bin2text 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page