BSD Ports

ftp/py-curl-cffi 0.16.3 FreeBSD

libcurl ffi bindings for Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
db5830f846
License
MIT
Categories
ftp, python
Package size
249.6 KiB, 1376.4 KiB installed

Description

python-cffi is a Python binding for curl-impersonate fork via cffi.

curl_cffi is the most popular Python binding for curl. Unlike other pure python http clients like httpx or requests, curl_cffi can impersonate browsers' TLS/JA3 and HTTP/2 fingerprints. If you are blocked by some website for no obvious reason, you can give curl_cffi a try.

In the other systems

SystemPortVersion
FreeBSDftp/py-curl-cffi0.16.3
HardenedBSDftp/py-curl-cffi0.14.0
GhostBSDftp/py-curl-cffi0.14.0

Install

Binary package:

pkg install py312-curl-cffi

From the ports tree:

cd /usr/ports/ftp/py-curl-cffi/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-curl-cffi>0:ftp/py-curl-cffi

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.16.30.16.3---
FreeBSD:14:quarterly0.16.30.16.3n/a--
FreeBSD:15:latest0.16.30.16.3n/a--
FreeBSD:15:quarterly0.16.30.16.3n/an/an/a
FreeBSD:16:latest0.16.30.16.3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Library 1

Runtime 2

Test 13

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 11

Configuration

No options to configure.

USES
dos2unix python ssl
Service scripts
none

Files

distinfo 1
FileSizeSHA256
curl_cffi-0.16.3.tar.gz239020d15d0c2a35f2d75bec430c28946c2a833f421c85773bdb0795182cc5c515665b
Master sites 1
  • PYPI

Commit history 4

DateCommitCreditsLog message
db5830f846 Piotr Kubaj ftp/py-curl-cffi: fix build on powerpc64le
platform.uname().machine is "powerpc" on every FreeBSD PowerPC flavour, so the "powerpc64" entry introduced by the 0.16.3 update never matched and the build died with "Unsupported arch".
f29dab093a Yuri Victorovich ftp/py-curl-cffi: update 0.14.0 → 0.16.3; fix build on aarch64; add test target
a8ab691dd5 Piotr Kubaj ftp/py-curl-cffi: add powerpc64* support
6af3796e43 Yuri Victorovich ftp/py-curl-cffi: New port: libcurl ffi bindings for Python