semvec/pypi-packages huggingface dataset:
django-goncord 0.2.6
A django widget which allows you to create multiple auth system.
License: MIT
Keywords: django,auth,goncord,admin

# django-goncord
Django auth system.

Tested with Django 1.10.4 and Python 3.5.

## Installation guide

First install package using pip

```sh
pip install django-goncord
```

After installation register middleware and authentication backend in settings

```python
MIDDLEWARE_CLASSES = [
    ...
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django_goncord.middleware.GoncordMiddleware',
    ...
]

...

AUTHENTICATION_BACKENDS = [
    'django.contrib.auth.backends.RemoteUserBackend',
]
```

Then register auth system url parameters in settings

```python
GONCORD = {
    'BASE_URL': 'URL like http://www.my-site.ru',
}
```

You can define your own authentication urls

```python
GONCORD = {
    ...
    'VALIDATE_URL': 'SUB_URL like /validate',
    'LOGIN_URL': 'SUB_URL like /login',
    'LOGOUT_URL': 'SUB_URL like /logout',
    'REGISTER_URL': 'SUB_URL like /register',
    'UPDATE_PAYLOADS_URL': 'SUB_URL like /update',
    'RESET_PASSWORD_URL': 'SUB_URL like /reset_password',
    ...
}
```

at the end specify Django **LOGIN_URL** parameter

for working with package use **login_required** decorator from **django.contrib.auth.decorators**

For using special methods like **login** import **goncord** from **django_goncord.backends**

## django_goncord.backends.goncord methods

### login(request, data)
provide request for authenticate user
> require: django request object and data for submitting to remote server

### logout(request)
provide request for logout user
> require: django request object

### validate(request)
provide token validation for user on remote server
> require: django request object

### register(data)
provide user registration request
> require: data for submitting to remote server

### reset_password(request, data)
provide password reset for authenticated user
> require: django request object and data for submitting to remote server

all methods return response result from remote server
fioctl 1.1
Frame.io cli
License: MIT

# fioctl

## Installation

### PyPi

The cli requires python3 to take advantage of it's more modern threading capabilities.  So
you need to do:

```bash
pip3 install fioctl
```

### From Source

```bash
git clone git@github.com:Frameio/fioctl.git
cd fioctl && python3 setup.py install
```

Note that it does currently require python3.

## Set Up

First, generate an access token in frame.io and configure with:

```bash
fioctl configure
```

This will ask you to set a profile name, and input your token.

The cli supports multiple profiles in the event you have multiple tokens that can
be configured.  They can be specified like

```bash
fioctl config first_profile.bearer_token <token1>
fioctl config second_profile.bearer_token <token2>
fioctl config profiles.default first_profile
```

To see available commands, run:

```bash
fioctl --help
```

## Basics

Commands are organized around core API types, like `comments`, `assets`, etc.

Any command result can be formatted as `json`, `csv`, or as `table` (usually default),
using the `--format <format>` option.  Some commands, like `fioctl assets traverse <id>`
support `tree` formatting as well.  In addition, a default table format can be set with 
`fioctl config table.fmt <fmt>`

Additionally, you can select the columns to project in a command with the `--columns col1,col2,...`
option.  If you want to select a nested attribute in a column, use the `.` operator.

To preserve formatting for a command family, like `projects`, do `fioctl config projects.columns col1,col2,...`.  To set a new table format, do `fioctl config table.fmt <new_table_fmt>`.  Look at the python docs for tabulate to see the options available. 

Update commands usually accept an option like `--values col=val,col.nested=other_val`