Skip to main content

No project description provided

Project description

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.

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

alcedo-0.1.7.tar.gz (864.2 kB view hashes)

Uploaded Source

Built Distribution

alcedo-0.1.7-cp312-cp312-macosx_11_0_arm64.whl (1.4 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

Supported by

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