semvec/pypi-packages huggingface dataset:
vignette 5.1.1
Library to create FreeDesktop-compatible thumbnails
Requires Python: >=3.6
Keywords: cache,freedesktop,image,thumbnail,thumbnails,xdg

Vignette is a library to create and manage thumbnails following the FreeDesktop standard.

Thumbnails are stored in a shared directory so other apps following the standard can reuse
them without having to generate their own thumbnails.

Vignette can typically be used in file managers, image browsers, etc.

Thumbnails are not limited to image files on disk but can be generated for other file types,
for example videos or documents but also for any URL, for example a web browser could store
thumbnails for recently visited pages or bookmarks.

Vignette by itself can only generate thumbnails for local files but can retrieve
thumbnail for any file or URL, if another app generated a thumbnail for it. An app can also
generate a thumbnail by its own means and use vignette to push that thumbnail to the store.

Vignette has optional support for extra backends like ffmpegthumbnailer, poppler-utils,
ooo-thumbnailer, and more, if these tools are installed.

The range of files for which vignette can generate thumbnails depends on plugins
as it supports third-party libraries and tools. For example, if the
evince-thumbnailer command is installed, it will be able to generate thumbnails
for PDF files.
oidc-python-client 0.1.0
python client for getting oidc lite token
Requires Python: >=3.10,<4.0

# oidc-python-client

This is a python client for authentication with OIDC lite, the main purpose is to return a token to be used in all API requests to other OIDC lite protected micro services.

## Requirements.

Python >= 3.10

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:

```sh
pip install oidc_python_client
```
(you may need to run `pip` with root permission: `sudo pip install oidc_python_client`)

Then import the package:
```python
from oidc_python_client import oidc_client
```

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

from oidc_python_client import oidc_client
import logging
import pprint

logger = logging.getLogger(__name__)
logging.basicConfig()

if __name__ == "__main__":
    oidc_url = 'https://access.jecleveland.data-platform-cloud-services-sbx.tamg.cloud/oauth/token.iam'
    scopes = 'session:role:sbx_automated_user_role'
    audience = 'tripadvisor.us-east-1'

    token = oidc_client.request_jwt(scopes, audience, oidc_url)
    header, payload, signature = oidc_client.parse_jwt(token)
    
    logger.setLevel(logging.DEBUG)
    logger.info(f"Raw token: \n {token}")
    logger.info(f"Parsed token: \n Header: {pprint.pformat(header)} \n Payload: {pprint.pformat(payload)}")
```