Skip to main content

Only scrape webpages from rust to python

Project description

OnlyScraperPy 🚀

Overview 📖

OnlyScraperPy bridges the gap between Rust and Python, offering a high-performance web scraping tool built upon a compiled version of the Only Scraper Rust library. This Python adaptation retains the core principles of minimalism and efficiency, making it a superior choice for developers who require the speed of Rust with the flexibility of Python for their scraping tasks. It's designed for those looking to leverage Rust's performance benefits within Python's versatile ecosystem.

Why OnlyScraperPy? 🤔

In a landscape flooded with web scraping solutions, OnlyScraperPy distinguishes itself by harnessing the raw speed and reliability of Rust, combined with the ease of use and widespread adoption of Python. It eliminates the complexity often associated with performing high-speed scraping tasks in Python, offering a streamlined, Rust-powered backend with a simple Python interface. This unique fusion ensures your scraping operations are both fast and straightforward, without the burden of external dependencies.

Features 🌟

  • Rust-Powered Performance ⚡: Built on a compiled Rust library, offering unmatched speed and reliability for web scraping in Python.
  • Zero External Dependencies 📦: Inherits the simplicity of Only Scraper, requiring only the standard libraries of Rust and Python for operation.
  • Pythonic Interface 🐍: Provides a seamless and intuitive Python wrapper, making it easy to integrate into any Python project.
  • Focused Functionality 🔍: Maintains a singular focus on web scraping, without unnecessary features, for optimal efficiency.

Getting Started 🚀

Installation 🛠️

To install OnlyScraperPy, use pip to fetch and install the package directly from PyPI:

pip install only-scraperpy

Usage 📝

OnlyScraperPy simplifies web scraping in Python by providing a straightforward interface. Here's a quick example to get you started:

from only_scraperpy import OnlyScraper


def main():
    html = OnlyScraper().scrape("https://example.com")
    print(html)


if __name__ == "__main__":
    main()

This snippet demonstrates how to fetch and print the HTML content of a specified URL, showcasing the efficiency and ease of use of OnlyScraperPy.

Original Rust Library

OnlyScraperPy is based on the powerful and efficient Only Scraper Rust library, created to offer a minimalist and high-performance web scraping solution. For those interested in the Rust version or contributing to its development, please visit the GitHub repository.

Contributing 🤝

Contributions are highly appreciated to further refine and enhance OnlyScraperPy. Whether you have ideas for new features, bug fixes, or improvements, we encourage you to share your insights through GitHub issues or pull requests.

License 📄

OnlyScraperPy is released under the MIT License, embracing the same open-source spirit as its Rust counterpart. For more details, please refer to the LICENSE file in the repository.

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

only_scraperpy-0.1.7.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

only_scraperpy-0.1.7-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: only_scraperpy-0.1.7.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for only_scraperpy-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4754c9136f891bf13a13d0096d659e69f40656520f8421c26bc0a3a65e187bb2
MD5 207082c02122d0e376ce6b1eb43ba779
BLAKE2b-256 9aada6d6f09c4426d24aae95b27687f1e256b6e8b416d5931a939a3f0a5837d4

See more details on using hashes here.

File details

Details for the file only_scraperpy-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: only_scraperpy-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for only_scraperpy-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 13d157b26e992d97434f8b7bdfbc2ea9712b7079ed1c709cebd94186d12727bc
MD5 b69a7a746a966c5d22bceeb53317a8c1
BLAKE2b-256 88626b66ed7d3e2dfa8763b56c595b9a2ef7d998ddabec4caaf45bbf30276e36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page