Skip to main content

Python cffi bindings for Cronet

Project description

pycronet (cffi)

This package provides minimal Python bindings to Cronet using cffi.

Build

The build expects a local Cronet build under ../build/dist (relative to this folder). You can override paths using environment variables:

  • CRONET_BUILD_DIR: GN build directory (default: ../build)
  • CRONET_DIST_DIR: Dist directory containing include/ and lib/ (default: ../build/dist)

Example:

python -m pip install .

Runtime

The bindings expose the raw ffi and lib objects plus a small Engine wrapper.

import pycronet
print(pycronet.engine_version())

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

pycronet-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file pycronet-0.1.0.tar.gz.

File metadata

  • Download URL: pycronet-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for pycronet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2bb3e170e94b1cb601972e11d12a6bb7efbe24881ff785222362230b1c74313b
MD5 a38d57b117fd93d1981dccc86429fd2f
BLAKE2b-256 0844880dbef2fe198ada3b016ddadcb859c83a571a5661c01dddab66bde762f7

See more details on using hashes here.

Supported by

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