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.72.tar.gz (68.8 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.72-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pollyweb-1.0.72.tar.gz
  • Upload date:
  • Size: 68.8 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.72.tar.gz
Algorithm Hash digest
SHA256 b9f01446a2df7bc25bdb66b9f034904faf200d0dd145ab7410d5e2e0161ef2d2
MD5 9b08badcba54c2291e1077d81b33042f
BLAKE2b-256 dad84c51f333eb8d6be6e2bb39f8e7420b21af847b9b343c502bf528d89831c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pollyweb-1.0.72.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.72-py3-none-any.whl.

File metadata

  • Download URL: pollyweb-1.0.72-py3-none-any.whl
  • Upload date:
  • Size: 33.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.72-py3-none-any.whl
Algorithm Hash digest
SHA256 7c405ae53dac816d0d2a67c7fbc905d4741b035c8b20c3cf8c643cf1eb30e77a
MD5 ff647ec5244ed79d6c975b5f93bee23f
BLAKE2b-256 4b4b386915572bad33353b516fc2a7cf63d3d921f30ffb3711d435b6b5ba2f4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pollyweb-1.0.72-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