semvec/pypi-packages huggingface dataset:
python-jose-ext 1.3.2.4
JOSE implementation in Python
License: MIT
Keywords: jose jws jwe jwt json web token security signing

python-jose
===========

A JOSE implementation in Python

|Build Status| |Coverage Status| |Docs|

Docs are available on ReadTheDocs_.

The JavaScript Object Signing and Encryption (JOSE) technologies - JSON
Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), and
JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or
sign content using a variety of algorithms. While the full set of
permutations is extremely large, and might be daunting to some, it is
expected that most applications will only use a small set of algorithms
to meet their needs.


Principles
----------

This is a JOSE implementation that is fully compatible with Google App Engine
which requires the use of the PyCrypto library.


Installation
------------

::

    $ pip install python-jose


Usage
-----

.. code-block:: python

    >>> from jose import jwt
    >>> token = jwt.encode({'key': 'value'}, 'secret', algorithm='HS256')
    u'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ2YWx1ZSJ9.FG-8UppwHaFp1LgRYQQeS6EDQF7_6-bMFegNucHjmWg'

    >>> jwt.decode(token, 'secret', algorithms=['HS256'])
    {u'key': u'value'}


Thanks
------

This library was originally based heavily on the work of the folks over at PyJWT_.

.. |Build Status| image:: https://travis-ci.org/mpdavis/python-jose.svg?branch=master
   :target: https://travis-ci.org/mpdavis/python-jose
.. |Coverage Status| image:: http://codecov.io/github/mpdavis/python-jose/coverage.svg?branch=master
   :target: http://codecov.io/github/mpdavis/python-jose?branch=master
.. |Docs| image:: https://readthedocs.org/projects/python-jose/badge/
   :target: https://python-jose.readthedocs.org/en/latest/
.. _ReadTheDocs: https://python-jose.readthedocs.org/en/latest/
.. _PyJWT: https://github.com/jpadilla/pyjwt
stringutils 0.3.0
A functional string utility library for Python
License: MIT
Keywords: string helpers transform

stringutils
===========

A functional string utility library for Python 2 and 3. Closely inspired by implementations in Haskell and PHP.

For more documentation, please see `http://stringutils.readthedocs.io <http://stringutils.readthedocs.io/en/develop/>`_.

.. note::
    This package is still in an early development stage, and it is possible that the naming and API of some functions will change.

Features
--------

The main design goal of this library is to provide helpful string functions which complement what can already be done with *str*, *str.format* and *textwrap*. As such, it includes:

- A selective set of additional string helper functions.
- Extended versions of existing *str* methods as functions where useful.

Installation
------------

Install the latest release from `PyPI <https://pypi.org/project/stringutils/>`_:

.. code-block:: sh

    pip install stringutils

Usage
-----

All functions are available directly off the :code:`stringutils` package. You may choose to import individual functions by name, or import all.

.. code-block:: python

    from stringutils import reverse, unwords, words

    def reverse_words(string):
        return unwords(map(reverse, words(string)))

Contribute
----------

- Source code: https://github.com/huntie/stringutils
- Issue tracker: https://github.com/huntie/stringutils/issues

License
-------

The project is licensed under the MIT license.