Command line wallet tooling built on the pollyweb library.
Project description
pollyweb-cli
pollyweb-cli provides the pw command, a small wallet-style CLI built on top of the pollyweb Python package.
It helps you:
- create a local PollyWeb key pair
- bind that identity to a PollyWeb-enabled domain
- send signed shell commands to a remote domain
Install
Install the CLI globally from PyPI with pipx:
pipx install pollyweb-cli
Or install it globally with pip:
python3 -m pip install pollyweb-cli
After installation, the CLI is available as:
pw --help
For more setup details, see docs/install.md.
Quick Start
Create your local key pair:
pw config
This writes your keys to:
~/.pollyweb/private.pem~/.pollyweb/public.pem
Bind your wallet to a domain:
pw bind vault.example.com
This sends a signed Bind@Vault request to https://pw.vault.example.com/inbox and stores the returned bind token in ~/.pollyweb/binds.yaml.
Open an interactive shell against a domain:
pw shell vault.example.com
Each command you enter is sent as a signed Shell@Domain message that includes your configured bind list and command text.
To inspect the signed shell request and raw response for each command:
pw shell --debug vault.example.com
Debugging Bind Requests
Use --debug with pw bind to print the raw outbound request payload and inbound response body:
pw bind --debug vault.example.com
This is useful when you want to inspect the exact signed JSON being sent or troubleshoot an unexpected server response.
Command Summary
pw configgenerates a PollyWeb key pair in~/.pollywebpw config --forcereplaces an existing key pairpw bind <domain>requests and stores a bind token for a domainpw bind --debug <domain>shows bind request and response payloadspw shell <domain>starts an interactive remote shell sessionpw shell --debug <domain>shows shell request and response payloads
For more examples and command behavior, see docs/usage.md.
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
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 pollyweb_cli-0.1.14.tar.gz.
File metadata
- Download URL: pollyweb_cli-0.1.14.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7600d9fcde16c0f46013bc71e30f926d7c9f3bbb352eda1522bdaec756da215a
|
|
| MD5 |
1b6647e9372413ada324e7c3b73ab3a3
|
|
| BLAKE2b-256 |
10847af71d320b5b9d8565d210a6039105c35904e4fde46df409fe20e4282507
|
Provenance
The following attestation bundles were made for pollyweb_cli-0.1.14.tar.gz:
Publisher:
publish.yml on pollycore/wallet-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pollyweb_cli-0.1.14.tar.gz -
Subject digest:
7600d9fcde16c0f46013bc71e30f926d7c9f3bbb352eda1522bdaec756da215a - Sigstore transparency entry: 1098281244
- Sigstore integration time:
-
Permalink:
pollycore/wallet-cli@925e2369745bed2c9b417099bfa538c7869b6424 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pollycore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@925e2369745bed2c9b417099bfa538c7869b6424 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pollyweb_cli-0.1.14-py3-none-any.whl.
File metadata
- Download URL: pollyweb_cli-0.1.14-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
873bf17e437454091e8977d90d31c80bb99709de9f9d34f41ece9b6a0968f211
|
|
| MD5 |
4e2e98907fdbe61c52e97174816912fc
|
|
| BLAKE2b-256 |
8fea63b03baa292e596ac41a519592dd41ffed5d531bce4936ae2504cf3736a7
|
Provenance
The following attestation bundles were made for pollyweb_cli-0.1.14-py3-none-any.whl:
Publisher:
publish.yml on pollycore/wallet-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pollyweb_cli-0.1.14-py3-none-any.whl -
Subject digest:
873bf17e437454091e8977d90d31c80bb99709de9f9d34f41ece9b6a0968f211 - Sigstore transparency entry: 1098281676
- Sigstore integration time:
-
Permalink:
pollycore/wallet-cli@925e2369745bed2c9b417099bfa538c7869b6424 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pollycore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@925e2369745bed2c9b417099bfa538c7869b6424 -
Trigger Event:
push
-
Statement type: