Skip to main content

xwl library

Project description

WSGI dispatcher that maps HTTP requests to python functions of same/similar name.

  • function params taken from query string and/or POST content

  • function access control via python decorators

  • JSON support for parameters and responses

  • small javascript library with convenience async postToServer

  • and getFromServer functions

(see the bottom of this readme for release history)

see xwl.example which implements a HTTP server.py using dispatcher.py to map HTTP requests to app and app.submodule functions

Release History

  • 1.0.2 fix None return type handling

  • 1.0.1 add missing files to whl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xwl-1.0.2.tar.gz (37.5 kB view details)

Uploaded Source

Built Distribution

xwl-1.0.2-py3-none-any.whl (45.6 kB view details)

Uploaded Python 3

File details

Details for the file xwl-1.0.2.tar.gz.

File metadata

  • Download URL: xwl-1.0.2.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for xwl-1.0.2.tar.gz
Algorithm Hash digest
SHA256 57126732572bc8686c16b58fb689cdb8db05a3031b7ba611f9b8931593d03fbf
MD5 f47b37a9be8c54dfc03c84f7827ce38d
BLAKE2b-256 4da44962c70324dcf7cd78e2e9e303acc7c003e23c741a5069460e10bd6ffd84

See more details on using hashes here.

File details

Details for the file xwl-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: xwl-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 45.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for xwl-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b03b547d29654184dd51d0b602151475f966338b974d64f3ff4df985b70adde3
MD5 253836d4e212f162c0c58806948b696a
BLAKE2b-256 cea37b5dc159267a078a330320b5dad861b8dc63653f774801ebc9afce4f40be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page