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.6.0.tar.gz (6.6 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.6.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swarmauri_tool_downloadpdf-0.6.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for swarmauri_tool_downloadpdf-0.6.0.tar.gz
Algorithm Hash digest
SHA256 3c3e52b92fc4b060960798476c3b645db1ca4653d194af737d913f6fa5f0fe10
MD5 befd4266b4a87c5017519145f8e56a2d
BLAKE2b-256 6b6d23b59a1d28a7528f45a610feeea3ccbd6c234c4098856ba2f5e376ec7f13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2fd1d0dcb44f2315a16090cd8354e9e402c438e56b124930870caa83888e6271
MD5 095c84e62c62894ebf27440f4d297aa0
BLAKE2b-256 03cb33e76b825dab44ca1138eeba393ba75b8bcbc19a1c00f2855696b4f2da5a

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