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.

Metadata

Release files for alcedo 0.1.7

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

Source distribution (sdist)

Source distribution for alcedo 0.1.7
File Size Uploaded
alcedo-0.1.7.tar.gz 864.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alcedo 0.1.7
File Interpreter ABI Platform
alcedo-0.1.7-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details

Total release size: 2.2 MB

Release files / alcedo-0.1.7.tar.gz

Download URL alcedo-0.1.7.tar.gz
Size 864.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a2d674f68c53b25ef092053597bab955148447f58c3bd947dd86aef703f4ca3c
BLAKE2b-256 checksum
How to use checksums
52d61989c300299c1e7ffc25943cefc4d0cd7f259ae7a1e4134aedbb5fd46781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.13.7

Release files / alcedo-0.1.7-cp312-cp312-macosx_11_0_arm64.whl

Download URL alcedo-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9c1f0cf9aa1455979bb6bb5618422e3fc2eccd3c0431905df0a4c8a93bb137a5
BLAKE2b-256 checksum
How to use checksums
67e967952bf8923fcde3a1d1d2461d6e5d4116cc0f2a541eef32e9c8dc99917a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.13.7

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

3 release 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