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.

Git push guard (tests + security audit)

This repository includes a pre-push hook at .githooks/pre-push that runs pytest and pip-audit against the local project, and blocks git push when tests fail or when dependency vulnerabilities are reported.

Enable it once per local clone:

git config core.hooksPath .githooks

Install the security scanner once:

python -m pip install pip-audit

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.12.tar.gz (10.0 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.12-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pollyweb-0.1.12.tar.gz
  • Upload date:
  • Size: 10.0 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.12.tar.gz
Algorithm Hash digest
SHA256 2ce44b15598db0ca1daf0fdd909b163f9439fed0d872f782913cd10c98b11000
MD5 a893b001e5f9d0e87d857a13f59f172b
BLAKE2b-256 b6845d9ea6e7eba82e1914fc97af5be11b0390ec5762dc3dd170792efeb223e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pollyweb-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 9.9 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 4d8ebcc3a03412e05cebf259a3771b3b21e19253979a0308d5b03a8210acbfa3
MD5 c725412ad920faaf539381aeac1ebb85
BLAKE2b-256 808947af9a31d212a0812a09b6ead6e664f1bdd4cccb4c9fb7c0594a249578de

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