Skip to main content

CLI and MCP server tools for Aspose PDF Cloud

Project description

APDF Cloud CLI + MCP Tools

Stage 1 exposes APDF storage and PDF operations through both a CLI and an MCP server.

Configuration

Set credentials before running CLI commands or the MCP server:

$env:ASPOSE_CLIENT_ID = "your-client-id"
$env:ASPOSE_CLIENT_SECRET = "your-client-secret"

Optional environment variables:

  • ASPOSE_BASE_URL
  • ASPOSE_SELF_HOST
  • ASPOSE_STORAGE_NAME

CLI

The canonical executable is apdf-cloud-cli. A shorter apdf alias is also installed for convenience.

apdf-cloud-cli storage list /
apdf-cloud-cli storage upload .\sample.pdf /sample.pdf
apdf-cloud-cli storage download /sample.pdf .\sample.pdf
apdf-cloud-cli pdf merge /a.pdf /b.pdf merged.pdf
apdf-cloud-cli pdf extract-text sample.pdf --output sample.txt
apdf-cloud-cli mcp serve

Development

Install the package with development dependencies:

python -m pip install -e ".[dev]"

Run the default test suite:

python -m pytest -q

Build and validate the package distributions:

python -m build
python -m twine check dist/*

Publishing

Publishing is handled by GitHub Actions with PyPI trusted publishing.

  1. In PyPI, add a trusted publisher for repository andruhovski/apdf-tools, workflow publish.yml, environment pypi, and project name apdf-cloud-cli.
  2. Update the version in pyproject.toml and src/apdf_cloud_cli/__init__.py.
  3. Push a matching version tag, for example:
git tag v0.1.0
git push origin v0.1.0

Stage 2 Roadmap

  • Split PDF files
  • Extract images from PDF files
  • Extract tables from PDF files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apdf_cloud_cli-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apdf_cloud_cli-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file apdf_cloud_cli-0.1.0.tar.gz.

File metadata

  • Download URL: apdf_cloud_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for apdf_cloud_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25a266250afa4fec4303a4e91c39320c1df3f67ceac2a10f5dc97914c6e24268
MD5 41281ca4ec0e259be382429b19367171
BLAKE2b-256 82016c4a7c81c0f047da8f3de7612484a6479d6116f374ca9de6e3f735c31966

See more details on using hashes here.

Provenance

The following attestation bundles were made for apdf_cloud_cli-0.1.0.tar.gz:

Publisher: publish.yml on andruhovski/apdf-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file apdf_cloud_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: apdf_cloud_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for apdf_cloud_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48482b153d455b2c6981a1c39126b4044217ccd19abcb44bcddf4e7733a2d990
MD5 63726bfac1ef4ef33542bad878cce2fc
BLAKE2b-256 959f2de028564863cdfc2a39a57d08155aa140cf69c979dcbeac5eb5d8760f13

See more details on using hashes here.

Provenance

The following attestation bundles were made for apdf_cloud_cli-0.1.0-py3-none-any.whl:

Publisher: publish.yml on andruhovski/apdf-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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