No project description provided
Project description
Alcedo
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...
Probably not.
But it aims to bring to Python the speed and feature-richness of Rust packages like...
Getting started
TBD;
Example usage
print("Hello, World!")
Do you even bench bro?
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
andrequests
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
- mypy Optional static typing for Python
- pytest The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
- ruff An extremely fast Python linter and code formatter, written in Rust.
Use the following commands to setup your local environment with development dependencies:
pip install --user poetry
poetry install --with dev
Acknowledgements
- reqwest.py by the amazing @thrzl giving the easiest primer to oxidizing python interface.
- hyperjson by the amazing @mre even though has been archived since Sep 14, 2023 but really makes JSON deserialization from Rust -> Python really approachable compared to alternatives.
- Kingfisher 2017042438 under CC0 1.0 Public Domain Protection whoever made this is an artist du juor.
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d674f68c53b25ef092053597bab955148447f58c3bd947dd86aef703f4ca3c |
|
MD5 | d1194b827254c84916ddb0ffaad7e1f6 |
|
BLAKE2b-256 | 52d61989c300299c1e7ffc25943cefc4d0cd7f259ae7a1e4134aedbb5fd46781 |
File details
Details for the file alcedo-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: alcedo-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c1f0cf9aa1455979bb6bb5618422e3fc2eccd3c0431905df0a4c8a93bb137a5 |
|
MD5 | 7adabd4be6987a177a25aaed188e1f15 |
|
BLAKE2b-256 | 67e967952bf8923fcde3a1d1d2461d6e5d4116cc0f2a541eef32e9c8dc99917a |