semvec/pypi-packages huggingface dataset:
ssh_authorizer 1.3
Manager for remote ~/.ssh/authorized_keys.
License: BSD

Manager for remote ~/.ssh/authorized_keys.

Usage: ssh-authorizer {help,get,add,del,test} [--raw] ssh_string ...

command:
        help:       Print this help.

        get:        Display remote authorized_keys.
        get --raw:  Display without formating.

        add:        Add keys to remote authorized_keys.
        del:        Delete keys from remote authorized_keys.
        test:       Test keys exist in remote authorized_keys.

ssh_string:     String with connect info: [user@]host[:port].
                By default user is current system user, port=22.

keys:           For commands "add" and "test" this is list of files with keys.
                If empty -- "~/ssh/id_rsa.pub" used.

keys:           For commad "del" this is key indeces for delete.
                See "get" without "--raw".

Examples:

ssh-authorizer get username@hostname
    Get authorized_keys in host hostname for user username.

ssh-authorizer add user@host
    Add your local "~/ssh/id_rsa.pub" to remote "~/ssh/authorized_keys".

ssh-authorizer add user@host key.pub key2.pub
    Add "key.pub" "key2.pub" to remote "~/ssh/authorized_keys".

ssh-authorizer del user@host 1 3
    Delete fist and third keys from remote "~/ssh/authorized_keys".

ssh-authorizer test user@host key.pub key2.pub
    "key.pub" "key2.pub" already in remote "~/ssh/authorized_keys"? Check it.

TODO:

ssh-authorizer del user@host
    Delete your "~/ssh/id_rsa.pub" from remote "~/ssh/authorized_keys".

ssh-authorizer del user@host zzz@macbook
    Delete key "zzz@macbook" from remote "~/ssh/authorized_keys".

get --short:  Like "get", but without key hashes.

Human readable errors.
django-gubbins 1.1.2
A collection of useful snippets for enhancing or replacing functionality within Django
License: BSD
Keywords: django

django-gubbins is a collection of useful snippets for enhancing
or replacing functionality within Django. For more documentation, see the github
page at https://github.com/carlio/django-gubbins

Automatic downcasting to model subclasses :
This is for the case when you have a model hierarchy, with several models inheriting from
a base class, and you want to query the base class but get instances of the subclasses
out of the query set.

`EnumField` : provides an easy way to have a model field which only accepts 
some values, and at the same time makes it easy to reference those values in your code.

`JSONField` : allows you to store JSON strings in a database. 

`ReusableAppURLs` : a simple way to create the correct URL configuration for a reusable
django app.

`SlowFileUploadHandler` : can be used to really slow down handling of file uploads. 
This is an implementation of the Django file upload handler which will sleep between 
processing chunks in order to simulate a slow upload. This is intended for development 
when creating features such as an AJAXy file upload progress bar, as uploading to a 
local process is often too quick.
Mlask 0.2
manage.py for Flask
License: BSD

mlask is still fun
==================

Mlask brings a bit of django like structure to
`Flask <http://flask.pocoo.org/>`_ apps.

Installation:
-------------

::

    pip install mlask

Create your first app:
----------------------

To create the skeleton run:

::

    mlask-admin.py startapp your_apps_name

This command will create a folder named your_apps_name with the
following files:

* manage.py
* config.py
* tests.py
* views.py

For the "hello world" examples check "views.py" and "tests.py".

When you're ok with your first app, start the testing server by running:

::

    python manage.py runserver

Then run the tests I'm sure you've written:

::

    python manage.py test

Edit "config.py" to change server settings, add aditional modules to
your app and to define your own configuration. All uppercase variables from
"config.py" are accessible from "app.config" module.
More on Flask configuration: `flask.pocoo.org/docs/config/ <http://flask.pocoo.org/docs/config/>`_.

And that's mostly it. For full Flask documentation visit
`flask.pocoo.org/docs/api/ <http://flask.pocoo.org/docs/api/>`_.

All built in commands:
----------------------

::

    runserver       Starts testing server
    rungunicorn     Starts Gunicorn server
    shell           Starts interactive shell with defined app
    syncdb          Creates all tables defined by SQLAlchemy declarative
    test            Runs all tests in "config.TEST_MODULES"
    startapp        Creates an app direcory structure for the given app name in the current directory

Define your own command:
------------------------

Create a file mycommands.py with the following content:

::

    from mlask.management.commands import BaseCommand

    class ExampleCommand(BaseCommand):
        __command_name__ = 'example' #optional
        __help__ = 'Short help' #optional

        def update_parser(self, parser):
            # Define rules for parsing the input.
            # Check argparse for full documentation.

            parser.add_argument('text', help="Text to print")

        def run(self, options):
            print options.text

Add "your_apps_name.mycommands" module to config.py "MODULES" and
test it out by running:

::

    python manage.py example "Hello"