Skip to main content
Files added late

2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

Acurl_NG (Next Generation)

Acurl_NG is a Cython refactoring/rewrite of an earlier iteration of the asynchronous curl wrapper concept, which was written in C for the mite project by Tony Simpson agjasimpson@gmail.com. It is an asynchronous wrapper around libcurl which is built to interface with the Uvloop python library.

Using Acurl_NG In Mite

The current implementation of Acurl_NG is behind a feature toggle which defaults to using the old implementation of acurl. To switch over to using the new version of Acurl_NG within mite, the flag MITE_CONF_enable_new_acurl_implementation="True"

The gateway into Acurl_NG is through the CurlWrapper (discussed in Architectural Notes) and requires an event loop being passed to it's constructor. Below is the mite implementation of acurl, using the aforementioned flag to switch between versions of acurl:

class SessionPool:
    ...
    def __init__(self, use_new_acurl_implementation=False):
        if use_new_acurl_implementation:
            import acurl_ng
            self._wrapper = acurl_ng.CurlWrapper(asyncio.get_event_loop())
        else:
            import acurl
            self._wrapper = acurl.EventLoop()
        ...

Architectural Notes

In the old implementation of acurl there was two loops in play, UVloop in python and a second loop called AE. This has now been reduced to a single loop maintained within python using UVloop.

Acurl_NG surfaces the CurlWrapper interface which takes the asyncio event loop as an argument. The wrapper deals directly with the curl_multi interface from libcurl, defining 2 functions (curl_perform_write and curl_perform_read) for checking both read and write availability of file descriptors.

There are 2 notable functions within the core Acurl_NG implementation, notably handle_socket and start_timer:

  • handle_socket is passed as a callback function to the curl_multi interface and upon calls to the curl_multi_socket_action function, will receive updates regarding the socket status. We then handle those statuses by either adding or removing the aforementioned readers or writers.
  • start_timer is another callback function that is passed to the curl_multi interface and is used as a way to handle timeouts and retries within curl. Upon a timeout, the timeout callback will be called and the transfer can be retried.

Metadata

Release files for acurl-ng 0.1

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

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for acurl-ng 0.1
File Size Uploaded Provenance Actions
acurl_ng-0.1.tar.gz 170.1 kB Without provenance Details for acurl_ng-0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for acurl-ng 0.1
File Interpreter ABI Platform Actions
acurl_ng-0.1-cp39-cp39-macosx_12_0_arm64.whl CPython 3.9 CPython 3.9 macOS 12.0+ ARM64 Details for acurl_ng-0.1-cp39-cp39-macosx_12_0_arm64.whl
acurl_ng-0.1-cp39-cp39-macosx_10_15_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.15+ x86-64 Details for acurl_ng-0.1-cp39-cp39-macosx_10_15_x86_64.whl
acurl_ng-0.1-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details for acurl_ng-0.1-cp38-cp38-macosx_11_0_arm64.whl

Total release size: 528.4 kB

Release files / acurl_ng-0.1.tar.gz

Download URL acurl_ng-0.1.tar.gz
Size 170.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ad922fca38371f69006df7f3aed9f727b9b618f47bc189655b51c9f9cae35962
BLAKE2b-256 checksum
How to use checksums
ffe1b015a4bf851a7ac3cd9d2c2c34dcc8b94612433d4cec5f78ba4b10d98e2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / acurl_ng-0.1-cp39-cp39-macosx_12_0_arm64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL acurl_ng-0.1-cp39-cp39-macosx_12_0_arm64.whl
Size 113.7 kB
Tags CPython 3.9 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
4c64ece837363479ddb7f4f19c67af7494f6298ab72e9b72e36fcad0b154b90e
BLAKE2b-256 checksum
How to use checksums
5fa157b154c4c53801c8aec28f38e4ad6d8c39a2ab1c1da5e22b60fffc128f17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / acurl_ng-0.1-cp39-cp39-macosx_10_15_x86_64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL acurl_ng-0.1-cp39-cp39-macosx_10_15_x86_64.whl
Size 131.5 kB
Tags CPython 3.9 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
c7681aa3fb8c1e6c3dcd7a407b56e89dceac57ab98ec19caeb9cb79136b59453
BLAKE2b-256 checksum
How to use checksums
fb1758bbdf273336e28e5651873a7d8f498f2bb771cca7bd6126c5f10c8ca793
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / acurl_ng-0.1-cp38-cp38-macosx_11_0_arm64.whl

Download URL acurl_ng-0.1-cp38-cp38-macosx_11_0_arm64.whl
Size 113.2 kB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
dc867a35b8ca380a1eb1b9d52a514dc7c29a4ca86fd26d5d36f9e07de2109ee3
BLAKE2b-256 checksum
How to use checksums
eb5c09c2a08405a1e4923e0e493c8cf2de78d9c3ae01b509dba30bfaced57f8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Security for acurl-ng 0.1

Upload timing

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


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.

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