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

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.3.dev2.tar.gz (6.9 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.3.dev2.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.3.dev2.tar.gz
Algorithm Hash digest
SHA256 eb64e10c3c7cd1d224125409308841842ec707ed6529684051ca1a457473f987
MD5 9b7b7e9d7820de5460d32ab10cb2895a
BLAKE2b-256 04e87d76da4b6388c12a898e291ea24d5d56078f92a24d48b4904078a2e95023

See more details on using hashes here.

File details

Details for the file swarmauri_tool_downloadpdf-0.7.3.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.3.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b832258496c27606cb498d9d9607baf7cd0a3bc630b8d092bf0476aaa32d7e
MD5 4df2c298021997991c058c7378edbb8c
BLAKE2b-256 977359dcf4e570e179682451ada979a94508da281df7a6392eb5669fb5488444

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