Skip to main content

Swarmauri Community Download PDF Tool

Project description

Swamauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_tool_downloadpdf


Swarmauri Tool Downloadpdf

A tool to download a PDF from a specified URL and save it to a specified path.

Installation

pip install swarmauri_tool_downloadpdf

Usage

Basic usage examples with code snippets

from swarmauri.tools.DownloadPdfTool import DownloadPDFTool

tool = DownloadPDFTool()
url = "http://example.com/sample.pdf"
result = tool(url)

if "error" in result:
    print(f"Error: {result['error']}")
else:
    print(f"Message: {result['message']}")
    print(f"Content: {result['content']}")

Want to help?

If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_tool_downloadpdf-0.9.0.dev4.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file swarmauri_tool_downloadpdf-0.9.0.dev4.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.9.0.dev4.tar.gz
Algorithm Hash digest
SHA256 a9b6c7ae316153759d17ba7986480189cb73b6ef2c18b75c789ec679dbdb73ad
MD5 d9dd825d59d51a3f98f9124efc1b51f7
BLAKE2b-256 339b336b9c13f793373d53bff9c06dd7c6af8f899706a27bccb7275c44f42f43

See more details on using hashes here.

File details

Details for the file swarmauri_tool_downloadpdf-0.9.0.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.9.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 32fa959a9b62f726164a8f99d66c1b9df58c882cb374337a6b7281226e0fd0f0
MD5 2bc3b852de39486bd6f3d7b904777236
BLAKE2b-256 e0ef281a23883dcb2e161196cd74e3a6d12ad19a8b9d34b5f9b4bbfdd4fd5ab2

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