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.96.tar.gz (78.4 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.96-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pollyweb-1.0.96.tar.gz
  • Upload date:
  • Size: 78.4 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.96.tar.gz
Algorithm Hash digest
SHA256 de90920567ac86d359d6cb197a273b08b9bb1ba591fc7ebb200479d860d75d1e
MD5 06a69db81b3a17b287bc8510db46f0c1
BLAKE2b-256 85945a7be370efdf2d1aff4acbdce68fcaa501033aa1b9c3ff4398e67fd26df4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pollyweb-1.0.96-py3-none-any.whl
  • Upload date:
  • Size: 36.2 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.96-py3-none-any.whl
Algorithm Hash digest
SHA256 1d4852da5c455f91d111e5be6d33bb4ec6522d806e9cca59fdbf7fad7298ba7c
MD5 92eb50ccdaf31c681c65173eaed11480
BLAKE2b-256 5061815c1eaa07006bd3329168977c596b9e9b1daec6d36c6f07a808a094d82f

See more details on using hashes here.

Provenance

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