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.

Usage

from pollyweb import hello
print(hello())

Demo key generator

In addition to the hello helper, the package includes a simple demo module that can generate a public/private key pair. After installation run::

python -m pollyweb.demo.keys

By default this writes pub.pem and priv.pem in the current working directory. You can customize the output names with --pub and --priv, and change the RSA key size with --bits.

A lightweight console script named pollyweb-keys is installed as well, so the same functionality is available via::

pollyweb-keys

For temporary experiments you can use the tmp/ directory which is committed empty but ignored by git. Place any generated keys there to keep your working tree clean::

python -m pollyweb.demo.keys --pub tmp/pub.pem --priv tmp/priv.pem

Another helper script demonstrates a second command. It takes a public key filename and a DKIM identifier; older versions accepted two positional arguments, but the current syntax is key/value based. Both values are ignored and the command simply prints a fixed API URL::

pollyweb-setup dkim=pub.key id=key1

The module form works the same way::

python -m pollyweb.demo.setup dkim=pub.key id=key1

The equal sign can be replaced with a colon if you prefer::

pollyweb-setup dkim:pub.key id:key1

These forms allow easy extension if additional parameters are introduced later.

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-0.1.11.tar.gz (9.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-0.1.11-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pollyweb-0.1.11.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pollyweb-0.1.11.tar.gz
Algorithm Hash digest
SHA256 fc7a15e28b23b897d352cd367a2305584150fcce3026d3cdfa8dc8c57b3ac6a3
MD5 a1dbb055c8a2575ec2727062de514cc2
BLAKE2b-256 4dda8df00a950652d1f4f7732c94357c003c684fb067127e2bae73a6311ca1ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pollyweb-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pollyweb-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1c62dd0946b3ff8ad9ade44010fc244f02f39b76d6c13848f2887279d20f74c9
MD5 606474e534a4740d8c1e68125ea28a91
BLAKE2b-256 91ceb8451ed20da988edad4030b03b3101be1846ec27fb6875633f92e98c5f6e

See more details on using hashes here.

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