Alvaro
Alvaro is a high-level, event-based networking module built to save you time on your projects without compromising on reliability, security or functionality. It offers SSL support, user management and many more features to help you on your projects.
A quick demo..
To learn more, check out the wiki!
Never spend hours or even days writing complicated networking software just to get two devices to communicate again. All the difficult tasks of flow control, encryption and endless bugs all taken care of for you! This project provides you the ability to create a fully functional server in just a few lines of code. So you can dive right into your project.
After all, time is our most valuable resource.
# clone alvaro
git clone https://github.com/edgecase963/Alvaro
cd Alvaro
# Install requirements
# Will still work without this step, but slower
pip3 install -r requirements.txt
# install Alvaro
sudo python3 setup.py install
Alternatively, you can also use the pip command to install Alvaro:
pip3 install alvaro
Important Note
As of the creation of this README, installing the requirements.txt via pip is not necessary.
The requirements file only contains uvloop which helps speed up Alvaro, but does not prevent it from working.
Alvaro is designed to work out of the box with no extra installations or dependencies.
This project is completely open source and anyone is free to use it.
Alvaro comes with some built-in features to help make data transfer not just more reliable, but easier to manage and implement into your project. One of these is the ability to monitor an ongoing download.
Below is a demonstration of how to set up a minimalistic server using Alvaro:
import alvaro, asyncio
server = alvaro.Host("127.0.0.1", port=8888)
asyncio.run( server.start() )
Alvaro uses asyncio to host/run/manage its servers. In order to start a server, it must be started with the asyncio.run function.
If you're already using asynchronous software and want to run Alvaro in your program's main loop, simply use await
import alvaro, asyncio
server = alvaro.Host("127.0.0.1", port=8888)
async def start_server():
await server.start()
Metadata
Release files for Alvaro 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Alvaro-1.3.0.tar.gz | 12.7 kB | Without provenance | Details for Alvaro-1.3.0.tar.gz |
Release files / Alvaro-1.3.0.tar.gz
| Download URL | Alvaro-1.3.0.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c92e014469b4150e0b52d8d634d5ae97966b68869c13acf30476d5fbabe6396
|
|
BLAKE2b-256 checksum How to use checksums |
ea2ef260d1ee4f74580bc551bd0f7c75318de694d8ce0cee645009ea7dfa6cb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.10
|
Security for Alvaro 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.