Skip to main content

Swarmauri Community Download PDF Tool

Project description

Swamauri Logo

PyPI - Downloads GitHub 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

This version

0.7.1

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.1.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.

swarmauri_tool_downloadpdf-0.7.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_tool_downloadpdf-0.7.1.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.1.tar.gz
Algorithm Hash digest
SHA256 7d787614b9aa12c50fc8cb0a74e1f2dc830e3c26be013be6c91e887237087880
MD5 32754181ee99c281a7828541b3a49dc4
BLAKE2b-256 2b9f9ab252fabf45ffa5176dddd679baaadefbe1838c078737ae18429e98c121

See more details on using hashes here.

File details

Details for the file swarmauri_tool_downloadpdf-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59629396f7a5a7728034618bad033e5e259c427e99e38c33d6f8b9989d30db54
MD5 9ff1a32019e54596e365c9b399560aa2
BLAKE2b-256 f01f4321f6e1d412e46f9c8aa05cfdc34e4d7d1daa51a1ad5e9515acab7fc9b4

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