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

This version

0.7.0

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

swarmauri_tool_downloadpdf-0.7.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0fe2b8bb61e262244bc43f5c9ef8efb4896f2b43b554dbfc8c13bb7b729ca086
MD5 34bfe0709b3720b5b169ed3454b369ac
BLAKE2b-256 2a8beb6278f82c4c786ba675d2ac23488a8dedbd12a0e1c7edd30c15666e9aaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bf0fb3a4f9e1e530ee303b1f2d9039f9d54d0e18cc3a407db815794f2e14289
MD5 ea564905d6dde8ccd039f5e26f3d18da
BLAKE2b-256 b05cbee73f9774fd2671be90c4505fd734108350af942d1e8059a3576bf747c6

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