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
| System | Port | Version |
|---|---|---|
| FreeBSD | ftp/py-curl-cffi | 0.16.3 |
| HardenedBSD | ftp/py-curl-cffi | 0.14.0 |
| GhostBSD | ftp/py-curl-cffi | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.16.3 | 0.16.3 | - | - | - |
| FreeBSD:14:quarterly | 0.16.3 | 0.16.3 | n/a | - | - |
| FreeBSD:15:latest | 0.16.3 | 0.16.3 | n/a | - | - |
| FreeBSD:15:quarterly | 0.16.3 | 0.16.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.16.3 | 0.16.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}cffi>=2.0.0: devel/py-cffi${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Library 1
libcurl-impersonate.so: ftp/curl-impersonate
Runtime 2
${PYTHON_PKGNAMEPREFIX}certifi>=2024.2.2: security/py-certifi${PYTHON_PKGNAMEPREFIX}cffi>=2.0.0: devel/py-cffi
Test 13
${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.3.2: textproc/py-charset-normalizer${PYTHON_PKGNAMEPREFIX}cryptography>=46.0.4: security/py-cryptography${PYTHON_PKGNAMEPREFIX}httpx>=0.23.1: www/py-httpx${PYTHON_PKGNAMEPREFIX}litestar>=2.19.0: www/py-litestar${PYTHON_PKGNAMEPREFIX}proxy.py>=2.4.3: www/py-proxy.py${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.23.6: devel/py-pytest-asyncio${PYTHON_PKGNAMEPREFIX}pytest-trio>=0.8.0: devel/py-pytest-trio${PYTHON_PKGNAMEPREFIX}python-multipart>=0.0.9: www/py-python-multipart${PYTHON_PKGNAMEPREFIX}trio>=0.25.0: net/py-trio${PYTHON_PKGNAMEPREFIX}trustme>=1.1.0: security/py-trustme${PYTHON_PKGNAMEPREFIX}typing-extensions>=0: devel/py-typing-extensions${PYTHON_PKGNAMEPREFIX}uvicorn>=0.29.0: www/py-uvicorn${PYTHON_PKGNAMEPREFIX}websockets>=14.0: devel/py-websockets
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-cffi
- devel/py-installer
- devel/py-packaging
- devel/py-pycparser
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-wheel
- devel/readline
- ftp/curl-impersonate
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
Run dependencies 11
Required by 12
- finance/py-financedatabase
- finance/py-financetoolkit
- finance/py-fundamentalanalysis
- finance/py-openbb
- finance/py-openbb-federal-reserve
- finance/py-openbb-government-us
- finance/py-openbb-tmx
- finance/py-openbb-us-eia
- finance/py-openbb-yfinance
- finance/py-thepassiveinvestor
- finance/py-yahooquery
- finance/py-yfinance
Configuration
No options to configure.
- USES
- dos2unix python ssl
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| curl_cffi-0.16.3.tar.gz | 239020 | d15d0c2a35f2d75bec430c28946c2a833f421c85773bdb0795182cc5c515665b |
Master sites 1
- PYPI