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_URLASPOSE_SELF_HOSTASPOSE_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.
- In PyPI, add a trusted publisher for repository
andruhovski/apdf-tools, workflowpublish.yml, environmentpypi, and project nameapdf-cloud-cli. - Update the version in
pyproject.tomlandsrc/apdf_cloud_cli/__init__.py. - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25a266250afa4fec4303a4e91c39320c1df3f67ceac2a10f5dc97914c6e24268
|
|
| MD5 |
41281ca4ec0e259be382429b19367171
|
|
| BLAKE2b-256 |
82016c4a7c81c0f047da8f3de7612484a6479d6116f374ca9de6e3f735c31966
|
Provenance
The following attestation bundles were made for apdf_cloud_cli-0.1.0.tar.gz:
Publisher:
publish.yml on andruhovski/apdf-tools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apdf_cloud_cli-0.1.0.tar.gz -
Subject digest:
25a266250afa4fec4303a4e91c39320c1df3f67ceac2a10f5dc97914c6e24268 - Sigstore transparency entry: 1818442305
- Sigstore integration time:
-
Permalink:
andruhovski/apdf-tools@425e1635bd80a7398cd46125633f20717d50959b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/andruhovski
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@425e1635bd80a7398cd46125633f20717d50959b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48482b153d455b2c6981a1c39126b4044217ccd19abcb44bcddf4e7733a2d990
|
|
| MD5 |
63726bfac1ef4ef33542bad878cce2fc
|
|
| BLAKE2b-256 |
959f2de028564863cdfc2a39a57d08155aa140cf69c979dcbeac5eb5d8760f13
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apdf_cloud_cli-0.1.0-py3-none-any.whl -
Subject digest:
48482b153d455b2c6981a1c39126b4044217ccd19abcb44bcddf4e7733a2d990 - Sigstore transparency entry: 1818442388
- Sigstore integration time:
-
Permalink:
andruhovski/apdf-tools@425e1635bd80a7398cd46125633f20717d50959b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/andruhovski
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@425e1635bd80a7398cd46125633f20717d50959b -
Trigger Event:
push
-
Statement type: