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

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0.dev8.tar.gz
Algorithm Hash digest
SHA256 c84a9a59b254cee209e7bbaeab4168bcf654999f25a4eb6c9f4030d35e7bb932
MD5 9a40c506431aa1211ac62479023250f3
BLAKE2b-256 bae1efb0a7192d1fafcca593beec0a624906558290d7a04175e24855278e1e2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.0.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 56a369f1a2727824a5602f4c7c0f0d3f8b15e89b6ceeb63b40aafc8fd8155e51
MD5 577a88c93d3d31dc503ba4ef6ae17958
BLAKE2b-256 b319d4b371d5702f23d4bb220eb712be4e9cab36c2b88c5498098713a5f037a3

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