semvec/pypi-packages huggingface dataset:
bottle-beaker 0.1.3
Bottle plugin beaker, WSGI middleware for sessions and caching
License: MIT

=============
bottle-beaker
=============

Bottle plugin to session and caching library with WSGI Middleware


Example
-------

.. code-block:: python

    import bottle
    from bottle.ext import beaker

    session_opts = {
        'session.type': 'file',
        'session.cookie_expires': 300,
        'session.data_dir': './data',
        'session.auto': True
    }

    app = beaker.middleware.SessionMiddleware(bottle.app(), session_opts)

    @bottle.route('/test')
    def test():
        s = bottle.request.environ.get('beaker.session')
        s['test'] = s.get('test',0) + 1
        s.save()
        return 'Test counter: %d' % s['test']

    bottle.run(app=app)
debpackager 0.1.3
debpackager package any project to debian package
License: MIT
Keywords: debian lin packaging package daemon dh-make

.. image:: https://circleci.com/gh/urban48/debpackager/tree/master.svg?style=svg
    :target: https://circleci.com/gh/urban48/debpackager/tree/master

Overview
========

debpackager is a cli tool used for creating debian packages
inspired by `fpm <https://github.com/jordansissel/fpm>`_ and `maven <https://maven.apache.org/i>`_

Main Features:

 * Provides easy control over project packaging process using configuration     
   file called project.json (like pom.xml in maven)
 * Solves the problem of python projects need debian dependencies to work.  
 * Making your code a Linux daemon with just few simple steps.
 * Greatly simplifies the packaging and deployment process. 
 * Package version management in SemVer standard (http://semver.org/) 

What does it do
===============
Creates debian binary packages out of any project, no metter what language.  
Do not really follow Debian packaging policy or all the packaging guidelines.  
Provides an easy way to configure, manage and create a deb package that can be deployed
on Linux.

By adding `project.json <https://github.com/urban48/debpackager/wiki/conventions-and-usage#projectjson>`_ file to any project, debpackager will create debian out of it.

If you have a python project you can set the type in the configuration to 'python', and debpackager will create and package virtualenv with your project out of your requirements.txt.

Environment
===========
* Python >=2.7
* Linux

Dependencies
============
* dh-make

Install
=======

.. code-block:: shell

        sudo apt-get install dh-make

.. code-block:: shell

        pip install debpackager

Usage
=====

Must have `project.json <https://github.com/urban48/debpackager/wiki/conventions-and-usage#projectjson>`_ at your project root directory

**build**

.. code-block:: shell

    usage: debpackager build [-h] [--install-dependencies] [--no-clean] [-t] [-p] [-v]

    optional arguments:
      -h, --help            show this help message and exit
      --install-dependencies
                            install deb dependencies before build (used for python virtualenv creation)
      --no-clean            leave behind everything used to create the debian package.
      -t , --type           set project type, default: auto detect
      -p , --path           set path to project, default: current location
      -v , --version        set version manually

Documentation
=============

See `wiki <https://github.com/urban48/debpackager/wiki>`_


Contributing
============

By participating in this project you agree to abide by its terms.