Skip to main content

Swarmauri Community Download PDF Tool

Project description

Swarmauri Logo

PyPI - Downloads PyPI - Python Version PyPI - License PyPI - Version


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.6.1.dev6.tar.gz (6.6 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.6.1.dev6.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.6.1.dev6.tar.gz
Algorithm Hash digest
SHA256 566e1c1513ce1e68bb95c1f73b197d0851d513dd864e105f9b2ce262e4933c7d
MD5 1a8f3aff01f2b4b13e47d8600a336c5a
BLAKE2b-256 ec89f8bbd0674e84258bf20130f9eddc97ec8b78547543a6063ad6bf15ee2127

See more details on using hashes here.

File details

Details for the file swarmauri_tool_downloadpdf-0.6.1.dev6-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.6.1.dev6-py3-none-any.whl
Algorithm Hash digest
SHA256 177e1ab083213ef2877e2bffdf4d9b1baefff55a978a2772f07beeb539b63e8f
MD5 e5c049c5ade871a2407c166848845f44
BLAKE2b-256 6f7ae677b9fcc35b95a9b08a738ee2c0f6ff73b87d23d548c2470e35beac29d3

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