We're excited to announce the release of PyGrab 3.0! This major update brings a host of performance improvements, new features, and enhancements that leverage the power of Rust to deliver a faster and more efficient experience. Here's what's new:
Performance Boost with Rust Backend
- **Rust-Powered Performance**: We've rewritten the core of PyGrab in Rust, providing significant speed improvements, especially in CPU-bound operations.
- **Safer Concurrency**: Take advantage of Rust's memory safety guarantees to perform concurrent operations without the risk of data races.
Enhanced Features
- **Async Support**: With the new async module implemented in rust, you can make non-blocking HTTP POST and GET requests with ease.
- **Advanced Session Handling**: Persistent sessions now support more complex scenarios and connection pooling, reducing overhead and improving speed.
- **Improved Error Handling**: Rust's robust error management has been integrated, providing clearer and more informative error messages.
Security Enhancements
- **Secure Defaults**: Rust's secure coding practices have been applied to PyGrab, ensuring that secure defaults are used throughout the library.
- **Dependency Security**: With minimal dependencies in the Rust portion of the library, the attack surface is greatly reduced.
New Functionalities
- **Automatic Gzip/Brotli Compression**: Automatic handling of HTTP compression, making your requests faster and more bandwidth-efficient.
Get Started
To upgrade to PyGrab 3.0, simply run:
bash
pip install pygrab --upgrade