Pygrab

Latest version: v3.1.1

Safety actively analyzes 623586 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

3.1.0

If you're upgrading from an earlier version, here's what you need to know:

- Existing `get_async()` function calls will need to be changed to `get_batch()` since `get_async()` is now the function that returns a coroutine.
- Make sure to update your environment to Python 3.7+ to enjoy the full benefits of async/await.

3.0

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

3.0.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.