Skip to main content

A neutral, open, and global web protocol that allows any person or AI agent to chat with any business, place, or thing.

Project description

PollyWeb

PollyWeb logo

A neutral, open, and global web protocol that allows any person or AI agent to chat with any business, place, or thing.

Core APIs:

  • pw.KeyPair generates Ed25519 signing keys.
  • pw.Domain signs outbound messages and determines the DNS record to publish.
  • pw.DNS checks whether a domain's PollyWeb DKIM DNS records are compliant.
  • pw.Msg creates, signs, serializes, and validates messages.
  • pw.Prompt wraps Prompted@Host chat prompts as typed message bodies.

Package reference docs: docs/README.md

Prompt Usage

import pollyweb as pw

prompt = pw.Prompt(
    Text = "What size pizza would you like?",
    Options = ["small", "medium", "large"],
    Default = "medium",
    Input = "select",
)

msg = prompt.to_msg(
    To = "shop.example.com",
)

received = pw.Prompt.from_msg(msg)
assert received.Options == ["small", "medium", "large"]

Contributing

Contributor workflow, local checks, and publishing notes live in CONTRIBUTING.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

pollyweb-1.0.56.tar.gz (64.7 kB view details)

Uploaded Source

Built Distribution

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

pollyweb-1.0.56-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file pollyweb-1.0.56.tar.gz.

File metadata

  • Download URL: pollyweb-1.0.56.tar.gz
  • Upload date:
  • Size: 64.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pollyweb-1.0.56.tar.gz
Algorithm Hash digest
SHA256 fb7511352f35473a9b4ab8820e59ab0352ab181115af80f0806dccfae3b6cb54
MD5 81b6f441056b9129462b1339533e85d0
BLAKE2b-256 9d305ebb00317638e8ae87b0480303c8b4b48f798ac1bfcd317c914d33235b91

See more details on using hashes here.

Provenance

The following attestation bundles were made for pollyweb-1.0.56.tar.gz:

Publisher: publish.yml on pollyweb-org/pollyweb-pypi

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

File details

Details for the file pollyweb-1.0.56-py3-none-any.whl.

File metadata

  • Download URL: pollyweb-1.0.56-py3-none-any.whl
  • Upload date:
  • Size: 31.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pollyweb-1.0.56-py3-none-any.whl
Algorithm Hash digest
SHA256 e1c21fca61d884bf2328b9805c261f2598441be8c5b88d23b5b6f467d83088a9
MD5 d14aeaecc3bfda63ff09fe280a5c27d2
BLAKE2b-256 f889606ade245537d231d8716e4a3229332d96a2ece929769a7a56918d849798

See more details on using hashes here.

Provenance

The following attestation bundles were made for pollyweb-1.0.56-py3-none-any.whl:

Publisher: publish.yml on pollyweb-org/pollyweb-pypi

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