semvec/pypi-packages huggingface dataset:
django-oidc-user 0.3.6
Creates an OpenID Connect compliant User model.
Keywords: django

# Django OpenID Connect User

An extended User model that is designed to have the majority of the attributes of what the OpenID Connect specification mentions.

## How to install

Installation can be done with a single command:

```
$ pip install django-oidc-user
```

## How to use

Setup in your project is easy. Just add it to your installed apps:

```python
INSTALLED_APPS = [
    . . .
    'django_oidc_user',
]
```

And you will need to set it as your default User model, so add the following line to your settings:

```python
AUTH_USER_MODEL = 'django_oidc_user.User'
```

After you have done this make sure you **run migrations** using the following command:

```
$ python manage.py migrate django_oidc_user
```

You can import the model to use in your views like so:

```python
from django_oidc_user.models import User
```
fabrica-de-bere 0.0.3
A small example package
Requires Python: >=3.7

# Fabrica de bere

The library is a wrapper for the Punk API.

## Installation

```sh
pip install fabrica_de_bere
```

## Functionalities

- Get a beer by ID
- Get a random beer
- Get all beers
- Get beers

### Create a new object

```python
punk_api = FabricaDeBere("https://api.punkapi.com/v2/")
```

##### _Parameters_:
 - url: string, optional. If not given, it will try to use the environment variable PUNK_API_URL


### Get a beer by ID

Returns a Beer object with the given ID.

```python
punk_api.get_beer_by_id(id)
```

##### _Parameters_:
 - id: int

### Get a random beer

Returns a Beer object with a random beer.

```python
punk_api.get_random_beer()
```

### Get all beers

Returns an iterator that stores all the beers from the API as Beer objects.

```python
punk_api.get_all_beers()
```

### Get a beer by ID

Returns an iterator that stores the beers from the API as Beer objects, filtered base on the given parameters.

```python
beers = punk_api.get_beers(
        abv_gt=5,
        abv_lt=9,
        ibu_gt=55,
        ibu_lt=90,
        ebc_gt=18,
        ebc_lt=25,
        beer_name="Buzz",
        yeast="American_Ale",
        brewed_before=datetime.datetime(2014, 9, 5),
        brewed_after=datetime.datetime(2011, 3, 12),
        hops="Fuggles",
        malt="Caramalt",
        food="chicken",
        ids=[1, 2, 9],
    )
```

##### _Parameters_:
 - abv_gt: int
 - abv_lt: int
 - ibu_gt: int
 - ibu_lt: int
 - ebc_gt: int
 - ebc_lt: int
 - beer_name: string
 - yeast: string
 - brewed_before: datetime; only looks at the month and year
 - brewed_after: datetime; only looks at the month and year
 - hops: string
 - malt: string
 - food: string
 - ids: list of int
uptapi 0.1
Uptycs API helper library (for Python 3)

Uptycs API helper library (for Python 3)

This modules contains classes to interact with the Uptycs API using Python
Some commonly used classes include:
   UptApiAuth()     - Read an Uptycs API key file and create authorization header
   UptApiCall()     - Call an Uptycs API method
   UptAlertRule()   - Get or Create an alert rule
   UptAssets()      - Show/update assets registered in Uptycs, add/remove tags from assets
   UptEventRule()   - Get or Create an event rule
   UptLkpTable()    - Get or Create a lookup table (typically for whitelists/blacklists)
   UptQueryGlobal() - Run a query against global (flight recorder)
   UptQueryRt()     - Run a query against realtime