Skip to main content

Swarmauri Community Download PDF Tool

Project description

Swamauri Logo

PyPI - Downloads 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.4.dev20.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.

File details

Details for the file swarmauri_tool_downloadpdf-0.7.4.dev20.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.4.dev20.tar.gz
Algorithm Hash digest
SHA256 40c21bc4c55d99ccc84d60e11344084ceaa9f5b69e533bba8d48ac65cba449d8
MD5 bff02b32148fe1d09e981888da5400a2
BLAKE2b-256 f8284ba699aea1823a8ae48b7e2ace598d98803e3b228878aed7d0b71ffcacc1

See more details on using hashes here.

File details

Details for the file swarmauri_tool_downloadpdf-0.7.4.dev20-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.4.dev20-py3-none-any.whl
Algorithm Hash digest
SHA256 8fce80ec6d08432be7c20a8247c097d69df3cc0d0e6bd8e1297216d24b1eae31
MD5 57a77c10e3ab8d036c3b542ba569969f
BLAKE2b-256 3ff3276f394311bd8312bf76c0e45c26d67fa874de15b0ef105ef8a81743880e

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