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.1.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.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swarmauri_tool_downloadpdf-0.6.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5d64cc80c1b088f115a5ec9b50942dd8254775bd20815d0710c98214c3a69a51
MD5 54322bf714186420e1ca382503e233e2
BLAKE2b-256 a97154591b1709dcfdf8ad445db112208cc8aef74e20da710935ddc202b98205

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38a1c68edcb63b7d2679ae0d676bb22fe4edb5df558a546e9f2264538c4d2ecc
MD5 2c819bffb59dd1ca8af9b18519babb32
BLAKE2b-256 daeb5c3608e1cd312ea132f176639715deec35c073164ac22791dd79823fe6a1

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