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.7.0.dev5.tar.gz (6.7 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.7.0.dev5.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0.dev5.tar.gz
Algorithm Hash digest
SHA256 e909cbfa9bf94b7c338e7ee837b3eb18ced7b883854654c6a9ea07fd4a0bdfa6
MD5 6b135896168a7f9e3f43af6903e78cd8
BLAKE2b-256 8f2f6781d0658f03c8408e297b5455bd21a8b29cebd3c6df230001aaff96df94

See more details on using hashes here.

File details

Details for the file swarmauri_tool_downloadpdf-0.7.0.dev5-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 1333ccd1ed2da461eaa9a533944984476cf63bcaf2884f4778c5b198e9c63933
MD5 47868c7a457ee96af690cd694fc6506e
BLAKE2b-256 816542068887bfc76e6ed8c4dd591ec1789234a92f699a4bdc8225402272c86f

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