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.dev7.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.dev7.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0.dev7.tar.gz
Algorithm Hash digest
SHA256 726c4f322ba192b14f0743d417edeb2e8aaa9e7eefa60dfb519e9b2598d5ff91
MD5 5425cade9672fbdee09e6a8cd3563ef3
BLAKE2b-256 79ba7ca51495657a5ea4ee873d2ff178056fdbf001d87cb67690785537cbe23f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 bc5e25349988dc16e28f0aa9aac22c52a4775625dfaef87fa51ef632f7214393
MD5 8a8fb68603bb5811aba39f3873925d13
BLAKE2b-256 910a43fb9ea834980892b679f114d9e059cabef12f7195095a0a4622989ea2a3

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