Skip to main content

A package to generate WSSE Headers

Project description

WsseHeaders: WSSE for Python™

WsseHeaders is the only WSSE Token generation library for Python, safe for human consumption.

>>> import WsseHeaders
>>> r = WsseHeaders.WsseToken(username="yodebu", orgName="yodebu", token="base64tokenstring")
>>> r.generateHeaders()
UsernameToken Username="yodebu", PasswordDigest="EU4mrjk9tD3AVl3N1oJ6Yc+PA4k=", Nonce="e52165a00ae24d62bd44adb96f7c95dd", Created="2018-10-16T19:51:43+00:00", Organization="EXAMPLE_ORG"

optional parameter: pad which is defaulted to False and takes only Boolean values.

>>> import WsseHeaders
>>> r = WsseHeaders.WsseToken(username="yodebu", orgName="yodebu", token="base64tokenstring", pad=True)
>>> r.generateHeaders()
UsernameToken Username="yodebu", PasswordDigest="EU4mrjk9tD3AVl3N1oJ6Yc+PA4k=", Nonce="e52165a00ae24d62bd44adb96f7c95dd", Created="2018-10-16T19:51:43+00:00", Organization="EXAMPLE_ORG"

WsseHeaders officially supports Python 3.0 and above.

Installation

To install WsseHeaders, simply use pipenv (or pip, of course):

$ pipenv install WsseHeaders
✨🍰✨

Documentation

Fantastic documentation to be available shortly at http://docs.python.org/, for a limited time only.

How to Contribute

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  3. Write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.

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

WsseHeaders-0.0.11.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

WsseHeaders-0.0.11-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file WsseHeaders-0.0.11.tar.gz.

File metadata

  • Download URL: WsseHeaders-0.0.11.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.12

File hashes

Hashes for WsseHeaders-0.0.11.tar.gz
Algorithm Hash digest
SHA256 75609e7174841a8f9458712937cbd6aaac8fedf4b85b54ffbdfd273961c59bfe
MD5 dc9949c59efa6fc513403ed10c3bfe98
BLAKE2b-256 cac441adb985e3524b29fd788cf582b4a6383681ff00c81a94000cd9a9c5e94a

See more details on using hashes here.

File details

Details for the file WsseHeaders-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: WsseHeaders-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.9.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.12

File hashes

Hashes for WsseHeaders-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6f16e76ba633ae25b1b753e3437942cc319cd48efb8be14ef91d93b1dec1004b
MD5 df4df22cfae8775cb33fdd34e82de8d4
BLAKE2b-256 12c75c70583423a16a108064dff412ef4d7ffb87e42910545a5a960ef6b86f96

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