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.62.tar.gz (66.9 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.62-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pollyweb-1.0.62.tar.gz
  • Upload date:
  • Size: 66.9 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.62.tar.gz
Algorithm Hash digest
SHA256 796e7e2c929ee118e8fddf6c65ee3199589a380c99fb17f5f2148a5f300c76e4
MD5 c15c8fef6163bd6dc71cce884086b9d9
BLAKE2b-256 c8c22d62a2ff579a4f809583f1cccf2bb2b4abda8386fa6135f98d99bb62db6f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pollyweb-1.0.62-py3-none-any.whl
  • Upload date:
  • Size: 31.7 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.62-py3-none-any.whl
Algorithm Hash digest
SHA256 0068643f0c424a24105162329659d30d9aff4af8ffa3e0bfeabf15e0cdd58db3
MD5 1c417abc125741da49ccdcd9c7403e42
BLAKE2b-256 cd04404bb192df75033436a77df8fd5fabd0668b9cf1509fb1290ca17a11f697

See more details on using hashes here.

Provenance

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