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

This version

0.7.2

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.2.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.

swarmauri_tool_downloadpdf-0.7.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.2.tar.gz
Algorithm Hash digest
SHA256 a8a1e3af42b610a5a704fb4e07c9ab998b6005bd846dec97870e64b16a6fab2f
MD5 78aadd86249b193877594372c159d41f
BLAKE2b-256 2f69820b713b8997d4c5e1c7591b8dee5df618f2845efa11b8fefd60f3286e52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_downloadpdf-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26ecc5c4dd571c0c0a03c9d3ef4d84564304a226e3d8dca041290559aba21720
MD5 f5049f3a0a6f139dca57631964194279
BLAKE2b-256 f887df8183778b724c36528d8a75ef42274dfa585641ca09bc426550ddf778a7

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