Skip to main content

Alcedo

Package vesion Format Python version License Code size Top Languages Repository size Last commit

Alcedo banner

This project aims to be the feature-incomplete version of httpx and written in Rust.

Will this be a drop-in replacement for any of the leading packages like...

  • 🐍 aiohttp ? GitHub PyPI Docs
  • 🐍 httpx ? GitHub PyPI Docs
  • 🐍 requests ? GitHub PyPI Docs

Probably not.

But it aims to bring to Python the speed and feature-richness of Rust packages like...

  • 🦀 hyper GitHub Crates Docs
  • 🦀 reqwest GitHub Crates Docs
  • 🦀 serde GitHub Crates Docs

Getting started

TBD;

Example usage

print("Hello, World!")

Do you even bench bro?

Benchmarks

Roadmap

  • Write (actual) asynchronous tests for aiohttp benchmarks.
  • Create asynchronous implementation for alcedo.Client.
  • Write asynchronous tests.
  • Write malformed-json test servers.
  • Create implementation where POST body can be attached.
  • Create implementation where DELETE requests can be made.
  • Write asynchronous tests for httpx and requests

Contributions

To contribute to the project, fork the repository and clone to your local device and development dependencies including four extra libraries not included in final builds as such:

  • maturin Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages GitHub PyPI Docs
  • mypy Optional static typing for Python GitHub PyPI Docs
  • pytest The pytest framework makes it easy to write small tests, yet scales to support complex functional testing GitHub PyPI Docs
  • ruff An extremely fast Python linter and code formatter, written in Rust. GitHub PyPI Docs

Use the following commands to setup your local environment with development dependencies:

pip install --user poetry
poetry install --with dev

Acknowledgements

License

This project is licensed under the terms of the MIT license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alcedo-0.1.6.tar.gz (864.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alcedo-0.1.6-cp312-cp312-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file alcedo-0.1.6.tar.gz.

File metadata

  • Download URL: alcedo-0.1.6.tar.gz
  • Upload date:
  • Size: 864.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.13.7

File hashes

Hashes for alcedo-0.1.6.tar.gz
Algorithm Hash digest
SHA256 13ebd78843d4131128296b901cda1a8dcfc3adcb614977a07001363cab48159c
MD5 a5c49780fe782183adce31b1fe074120
BLAKE2b-256 b869e9c8eae450a4832d84ae4b082340be5d2a1ccc706388b2737d0da10cbab1

See more details on using hashes here.

File details

Details for the file alcedo-0.1.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for alcedo-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2f87e0d09808c3ec1751614106e62b06610070c51a0cdd925a3ab5625da534b4
MD5 8030aa53026828bc7c6ebd08a8ef546e
BLAKE2b-256 88bcea8c9c738a2a49bfbe0387d1da47e283d0fc44d3fb3e7662c78df55e4cfb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.7

2 files

This release

0.1.6 This release

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

3 files

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