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.1.dev1.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.1.dev1.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.1.dev1.tar.gz
Algorithm Hash digest
SHA256 39ec245fd60164a870a17c205a4a71f013ebc5bd3eac46be74296dd87ed03729
MD5 1706aaafbbcfce13e8d2d7b5f0645413
BLAKE2b-256 e5a5b52906aef2141dbafcc5a3ae1dba52ed8bb14aafd9d03f38d7886ae20f62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e2aaf3dfd4e9113a34de0876dec257a5b09f7747ab1e271cf276c3d1491c540
MD5 d5015b0c72c1b8c9498efe5facdbb491
BLAKE2b-256 4d4360735490d2b00fb819ce2b17d0d5abd5fb6535bb18a0c07bda022fe2e746

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