semvec/pypi-packages huggingface dataset:
spill 0.0.1a0
A utility for generating Flask scaffolding and boilerplate.
License: MIT
Keywords: Flask web development

Spill
=====

A utility for generating Flask scaffolding and boilerplate. Very early
stage. The aim is to be simple: no YAML or configuration files, just
pass along a few arguments.

::

    spill foo -b api main -m user group --db-type sqlite --db-orm sqlalchemy

creates:

::

    ./foo/
        |-- .gitignore
        |-- config.py
        |-- manage.py
        |-- README.md
        |-- requirements.py
        |-- /app
            |-- __init__.py
            |-- models.py
            |-- /api
                |-- __init__.py
                |-- errors.py
                |-- forms.py
                |-- views.py
            |-- /main
                |-- __init__.py
                |-- errors.py
                |-- forms.py
                |-- views.py
        |-- /templates

Usage
-----

::

    usage: spill [-h] [-b BLUEPRINTS [BLUEPRINTS ...]] [-m MODELS [MODELS ...]]
                 [--db-type [{sqlite,mysql,mongodb}]]
                 [--db-orm [{sqlalchemy,mongoengine}]] [--no-forms]
                 [--no-templates]
                 [project]

    Creates scaffolding and boilerplate for a Flask application.

    positional arguments:
      project               Name of Flask project to spill. If no project
                            specified, will assume CWD is the project directory.

    optional arguments:
      -h, --help            show this help message and exit
      -b BLUEPRINTS [BLUEPRINTS ...], --blueprints BLUEPRINTS [BLUEPRINTS ...]
                            A list of blueprints to create (Defaults: 'main' and
                            'api')
      -m MODELS [MODELS ...], --models MODELS [MODELS ...]
                            A list of model objects
      --db-type [{sqlite,mysql,mongodb}]
                            The type of database you will use
      --db-orm [{sqlalchemy,mongoengine}]
                            The ORM you will use
      --no-forms            No Flask-WTF forms
      --no-templates        No Jinja2 templates

Currently built with/for Python 2.7.

Installation
============

::

    pip install spill
android-debian-builder 1.1.0
Bootstrap a Debian system in a file, mostly for deploying to Android.
License: MIT

=============================================================
android-debian-builder -- bootstrap a Debian system in a file
=============================================================

This tool uses Multistrap_ to bootstrap a Debian (or Debian-based) system into
an image file as well as adding an Android-targeted launcher script to chroot
into the system.

Installation
============
Requirements on the host system:

* Python_ 3.3 or up
* Jinja_ 2.7 or up
* Multistrap_
* because of Multistrap: a Debian_ (or Debian-based) system

Requirements on the target device:

* root access
* Busybox (this might be pre-installed on your system or you could use one of
  the various installers on the Play Store)
* a kernel that supports loop mounts and whatever file system you wish to use

Installation with *pip*::

    # pip3 install android-debian-builder

Installation from the source tarball::

    # python3 setup.py install

Usage
=====
Simply running ``android-debian-builder`` (as root) will start building a Debian
image in the current directory. To see possible command line options, run
``android-debian-builder --help``. Usually, you'll want to customise the
configuration; the easiest way is to dump the default configuration with
``android-debian-builder --print-config`` and build your own based on that.

Additional example configurations are included. These can be found in
``android_debian_builder/examples`` in the source distribution or in the
``examples` subdirectory of the installed package. To include one of these
examples in your configuration setup, prefix the file name with
``builtin:examples/`` on the command line, like so::

    # android-debian-builder --config builtin:examples/jessie-armhf.cfg

.. _Multistrap: https://wiki.debian.org/Multistrap
.. _Python: https://python.org
.. _Jinja: http://jinja.pocoo.org/
.. _Debian: https://debian.org