semvec/pypi-packages huggingface dataset:
persist 3.2.1
Persistent archival of python objects in an importable format.
Requires Python: >=3.6.2

# Persistent Archival of Python Objects

[![Documentation Status](https://readthedocs.org/projects/persist/badge/?version=latest)](https://persist.readthedocs.io/en/latest/?badge=latest)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/forbes-group/persist.svg)](https://lgtm.com/projects/g/forbes-group/persist/context:python)
[![Tests](https://github.com/forbes-group/persist/actions/workflows/tests.yml/badge.svg)](https://github.com/forbes-group/persist/actions/workflows/tests.yml)
[![Pypi](https://img.shields.io/pypi/v/persist.svg)](https://pypi.python.org/pypi/persist)
[![pyversions](https://img.shields.io/pypi/pyversions/persist.svg)](https://pypi.python.org/pypi/persist)[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Persistent archival of python objects in an importable format.

This package provides a method for archiving python objects to disk for long-term persistent storage.  The archives are importable python packages with large data stored in the [npy](https://docs.scipy.org/doc/numpy/neps/npy-format.html) numpy data format, or [HDF5](http://www.hdfgroup.org/HDF5/) files using the [h5py](http://www.h5py.org) package (if it is installed). The original goal was to overcomes several disadvatages of pickles:

1. Archives are relatively stable to code changes.  Unlike pickles, changing the underlying code for a class will not change the ability to read an archive if the API does not change.
2. In the presence of API changes, the archives can be edited by hand to fix them since they are simply python code.  (Note: for reliability, the generated code is highly structured and not so "pretty", but can still be edited or debugged in the case of errors due to API changes.)
3. Efficient storage of large arrays.
4. Safe for concurrent access by multiple processes.

**Documentation:**
   http://persist.readthedocs.org

**Source:**
   https://alum.mit.edu/www/mforbes/hg/forbes-group/persist
   
**Issues:**
   https://alum.mit.edu/www/mforbes/hg/forbes-group/issues

## Installing

This package can be installed from [PyPI](https://pypi.org/project/persist/):

```bash
python3 -m pip install persist
```

or from source:

```bash
python3 -m pip install hg+https://alum.mit.edu/www/mforbes/hg/forbes-group/persist
```
wsgi-auth-middleware 0.1.2
HTTP authentication WSGI middleware
Requires Python: >=3.8
Keywords: GSSAPI, HTTP, PAM, WSGI, authentication, kerberos, middleware

# wsgi-auth-middleware

`wsgi-auth-middleware` provides WSGI middleware to perform HTTP authentication (RFC7235) using a variety of schemes.

[![PyPI - Version](https://img.shields.io/pypi/v/wsgi-auth-middleware.svg)](https://pypi.org/project/wsgi-auth-middleware)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wsgi-auth-middleware.svg)](https://pypi.org/project/wsgi-auth-middleware)

-----

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Supported Specifications](#supported-specifications)
- [License](#license)

## Installation

Each backend requires additional dependencies that must be explicitly chosen using the [PEP508 Extras](https://peps.python.org/pep-0508/#extras) that cover it. The following command will install `wsgi-auth-middleware` with all supported backends.

```console
pip install wsgi-auth-middleware[gssapi,pam]
```

## Usage

This middleware package provides the `HttpAuthWsgiMiddleware` class and various callables that implement authentication primitives. The result of wrapping a WSGI app with `HttpAuthWsgiMiddleware` will be a new WSGI app that performs HTTP authentication and, upon success, places the authenticated username string in `environ["REMOTE_USER"]`.

`wsgi-auth-middleware` is designed to be flexible. You can mix and match HTTP authentication schemes (frontends) with any system authentication backends that support their interfaces. Typical usage looks like this:

```python
from wsgi_auth_middleware import HttpAuthWsgiMiddleware
from wsgi_auth_middleware.frontends import BasicFrontend, NegotiateFrontend
from wsgi_auth_middleware.backends import PamBackend, GssapiBackend

pam_backend = PamBackend(service='my_pam_service')
basic_frontend = BasicFrontend(auth_backends=[pam_backend], realm='my realm')

gssapi_backend = GssapiBackend(fqdn='example.org')
negotiate_frontend = NegotiateFrontend(auth_backends=[gssapi_backend])

# Authentication will be tried in the sequential order given by `auth_frontends`.
authenticated_app = HttpAuthWsgiMiddleware(
    app=my_wsgi_app,
    auth_frontends=[negotiate_frontend, basic_frontend]
)
```

## Supported Specifications

### Currently supported HTTP authentication schemes

* [RFC7235 - Hypertext Transfer Protocol (HTTP/1.1): Authentication](https://datatracker.ietf.org/doc/html/rfc7235)
* [RFC7617 - The 'Basic' HTTP Authentication Scheme](https://datatracker.ietf.org/doc/html/rfc7617)
* [(Kerberos only) RFC4559 - SPNEGO-based Kerberos and NTLM HTTP Authentication in Microsoft Windows](https://datatracker.ietf.org/doc/html/rfc4559)

### WSGI specifications

* [PEP 3333 – Python Web Server Gateway Interface v1.0.1](https://peps.python.org/pep-3333/)
* [A very basic description of authentication opportunities in WSGI](https://wsgi.readthedocs.io/en/latest/specifications/simple_authentication.html)

## License

`wsgi-auth-middleware` is distributed under the terms of the [ISC](https://spdx.org/licenses/ISC.html) license.
deltabot-web2pdf 0.2.0
Download websites as PDF in Delta Chat
Requires Python: >=3.8
Keywords: deltachat, bot, web, pdf

# Web to PDF

[![Latest Release](https://img.shields.io/pypi/v/deltabot-web2pdf.svg)](https://pypi.org/project/deltabot-web2pdf)
[![CI](https://github.com/deltachat-bot/web2pdf/actions/workflows/python-ci.yml/badge.svg)](https://github.com/deltachat-bot/web2pdf/actions/workflows/python-ci.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Delta Chat bot that allows to fetch websites as PDF. Just send any URL to the bot
in private or add it to get a PDF in any message containing an URL.

## Install

```sh
pip install deltabot-web2pdf
```

You also need to install wkhtmltopdf package. Debian/Ubuntu example:

```sh
sudo apt-get install wkhtmltopdf
```

**Warning!** Version in debian/ubuntu repos have reduced functionality (because it
is compiled without the wkhtmltopdf QT patches), such as adding outlines, headers,
footers, TOC etc. To use this options you should install static binary from
wkhtmltopdf site: https://wkhtmltopdf.org/

## Usage

Configure the bot's Delta Chat account:

```sh
web2pdf init bot@example.com PASSWORD
```

You can run `web2pdf init` several times to add multiple different accounts to the
bot so it can be reached in more than one email address.

The bot's display name, avatar and status/signature can also be tweaked:

```
web2pdf config selfavatar "/path/to/avatar.png"
web2pdf config displayname "My Bot"
web2pdf config selfstatus "Hi, I am a Delta Chat bot"
```

To run the bot so it starts processing messages:

```sh
web2pdf serve
```

To see all available options run `web2pdf --help`