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 details)

Uploaded Source

Built Distribution

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for alcedo-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a2d674f68c53b25ef092053597bab955148447f58c3bd947dd86aef703f4ca3c
MD5 d1194b827254c84916ddb0ffaad7e1f6
BLAKE2b-256 52d61989c300299c1e7ffc25943cefc4d0cd7f259ae7a1e4134aedbb5fd46781

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for alcedo-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c1f0cf9aa1455979bb6bb5618422e3fc2eccd3c0431905df0a4c8a93bb137a5
MD5 7adabd4be6987a177a25aaed188e1f15
BLAKE2b-256 67e967952bf8923fcde3a1d1d2461d6e5d4116cc0f2a541eef32e9c8dc99917a

See more details on using hashes here.

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