Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ACMEasync

AsyncIO ACME client for Python 3.

Why?

Moar async moar better. Seriously though, I wanted to utilize Python's asyncio to create an automatically certifying proxy server that "just works".

How?

You can use the library as is, see acmeasync/__main__.py and acmeasync/certbot2.py as guides for spinning your own implementations, or use the built in tls reverse proxy (currently raw TCP only).

To run the proxy:

export DOMAINS="example.com,example.net"
export PORT=80 # or whatever port you wish to run the ACME challenge http server on, you need root to serve on 80, or you can forward 8080 if you're running in a docker container for example.
export EMAIL="youremail@example.com"
export PROXIES="8081:towel.blinkenlights.nl:23,8082:towel.blinkenlights.nl:23" # format: localport:remotehost:remoteport,...
export DIRECTORY_URL="https://acme-v02.api.letsencrypt.org/directory"
acmeleproxy

It's recommended you run as root so that proxy processes can drop privileges and lose access to your private keys, but this is optional.

API documentation incoming soon...

But why Python?

Yeah, I know, the GIL, the proxy server uses multiprocessing to spawn a subprocess per connection, which should give much better performance. This kinda thing exists the nodejs world already, why not python too?

Requirements

Pulled in by setup.py:

  • acme
  • aiohttp
  • aiohttp-requests

Required from your OS:

  • python3-openssl

Metadata

Release files for acmeasync 0.1.6a0

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

Source distribution (sdist)

Source distribution for acmeasync 0.1.6a0
File Size Uploaded Provenance
acmeasync-0.1.6a0.tar.gz 9.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for acmeasync 0.1.6a0
File Interpreter ABI Platform
acmeasync-0.1.6a0-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / acmeasync-0.1.6a0.tar.gz

Download URL acmeasync-0.1.6a0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
281e701ddd35bb26fcc34df3ffb4eab21a443845bcf507c78bfdbed61e6a1ba1
BLAKE2b-256 checksum
How to use checksums
a4295c42473eb1e50e3365d2f8acd0779f2b26817f5048d89468341a5e73539e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / acmeasync-0.1.6a0-py3-none-any.whl

Download URL acmeasync-0.1.6a0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ca7fdf2532465015be35845106186dad580d5dafe45af6959926c9de009a1b3
BLAKE2b-256 checksum
How to use checksums
7421d90514f61de645bdc43e0a9e13866737b847e37eb25834b175e5dcc7b101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for acmeasync 0.1.6a0

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