semvec/pypi-packages huggingface dataset:
django-gstorage 0.5.1
Allow easy integration with Google storage for Django projects
License: MIT

django-gstorage
===============

.. image:: https://img.shields.io/pypi/v/django-gstorage.svg
   :alt: PyPi page
   :target: https://pypi.python.org/pypi/django-gstorage

.. image:: https://travis-ci.org/fyndiq/django-gstorage.svg?branch=master
    :alt: Travis CI Status
    :target: https://travis-ci.org/fyndiq/django-gstorage

.. image:: https://coveralls.io/repos/github/fyndiq/django-gstorage/badge.svg?branch=master
   :alt: Coverage status
   :target: https://coveralls.io/github/fyndiq/django-gstorage?branch=master

.. image:: https://readthedocs.org/projects/django-gstorage/badge/?version=latest&style=flat
   :alt: ReadTheDocs
   :target: https://django-gstorage.readthedocs.io/en/latest/

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
   :alt: License MIT
   :target: https://github.com/fyndiq/django-gstorage/blob/master/LICENSE


This library is intended to be a 'plug-and-play' replacement
for `django.core.files.storage.FileSystemStorage` but reading
and writing files from Google storage. So there are two goals -

- It should be possible to use this library in projects already
  using local filesystem but which want to start using Google storage.
  In this case, we read from Google storage but if that fails, read
  from local filesystem and also update Google storage.

- Make it simpler to use newer features of Google storage like
  encrypting files with sensitive information

  .. code-block:: python

	order_pdf = FileField(encrypted=True)

Examples
++++++++

Using the module to upload some files

.. code-block:: python

    >>> from gstorage.bucket import Bucket

    >>> bucket = Bucket.get_default()
    >>> bucket.copydir('share/storage/2016/10/01')


.. :changelog:

Release history
---------------

0.5.1 (2016-11-04)
++++++++++++++++++++++

- ``gstorage.storage.Storage`` implements the interface expected from
  ``django.core.files.storage.Storage``.  The only **supported interface**
  at this point is ``storage._save``, and other methods are experimental.
- Support Python 3.4 for new Django (1.9 and 1.10)
- Added an example project showing use of django-gstorage

0.4.1 (2016-10-30)
++++++++++++++++++

- Updated docstrings to sphinx style
- Added documentation for gstorage.utils

0.4.0 (2016-10-30)
++++++++++++++++++

**Features**

- Refactored tests and added seperate test files for each module.
- Updated documentation on readthedocs.io to include section about
  bucket.

0.3.0 (2016-10-28)
++++++++++++++++++

**Features**

- ``gstorage.bucket.Bucket.get_default`` allowing easy access to
  default bucket.
- ``gstorage.bucket.Bucket.copydir`` allowing easy upload of files
  to Google cloud.
tornado-async-pg 0.0.5
Async postgresql for Tornado.
License: MIT

Momoko
======

.. image:: https://img.shields.io/pypi/v/momoko.svg
    :target: https://pypi.python.org/pypi/momoko

.. image:: https://img.shields.io/pypi/dm/momoko.svg
        :target: https://pypi.python.org/pypi/momoko

.. image:: https://img.shields.io/travis/FSX/momoko.svg
        :target: https://travis-ci.org/FSX/momoko

Momoko wraps Psycopg2_'s functionality for use in Tornado_. Have a look at tutorial_ or full documentation_.

**Important:** This is the 2.x version of Momoko. It requires Tornado >= 4.0, uses futures instead of calllbacks
and introduces a slightly different API compared to 1.x version. While transition is very
straightforward, the API is not backward compatible with 1.x!

.. _Psycopg2: http://initd.org/psycopg/
.. _Tornado: http://www.tornadoweb.org/
.. _tutorial: http://momoko.readthedocs.org/en/master/tutorial.html
.. _documentation: http://momoko.readthedocs.org/en/master


Installation
------------

With pip::

    pip install momoko

Or manually::

    python setup.py install


Testing
-------

Set the following environment variables with your own values before running the
unit tests::

    make -C tcpproxy
    export MOMOKO_TEST_DB='your_db'
    export MOMOKO_TEST_USER='your_user'
    export MOMOKO_TEST_PASSWORD='your_password'
    export MOMOKO_TEST_HOST='localhost'
    export MOMOKO_TEST_PORT='5432'

And run the tests with::

    python setup.py test
rmate 1.0.3
Edit files over SSH.
License: MIT

rmate
=====

The ``rmate`` program enables editing files on a remote computer with
TextMate 2 via an SSH connection. This is a port of `the official Ruby
version`_ and was made for system that cannot (or just preferably do not) have
Ruby installed. This version (very intentionally) has no dependencies beyond
the Python standard library and has been tested with Python versions 2.4 - 3.5.

This port is probably compatible with Sublime Text, Atom, or other editors that
use the ``rmate`` protocol, but it is not officially tested.


Install
-------

Standalone
~~~~~~~~~~

``rmate`` is a single file script, so you can simply download it to a location
in your ``PATH``. For example, assuming ``/usr/local/bin`` is in the ``PATH``

::

    wget https://raw.githubusercontent.com/sclukey/rmate-python/master/bin/rmate
    chmod +x ./rmate
    mv ./rmate /usr/local/bin/rmate


PyPI
~~~~

You can also install ``rmate`` with ``pip``

::

    pip install rmate


SSH Connection Settings
~~~~~~~~~~~~~~~~~~~~~~~

For ``rmate`` to be able to connect back to TextMate, a port must be tunneled
through the ssh connection. By default, ``rmate`` uses port 52698, and the port
can be tunneled for an individual connection on the command line
::

    ssh -R 52698:localhost:52698 user@example.com

or for all connections by adding a rule to your ``~/.ssh/config``

::

    Host *
    RemoteForward 52698 localhost:52698

Usage
~~~~~

You can use ``rmate --help`` to see the usage

::

    usage: rmate [OPTION]... FILE...

          --host HOST  Connect to HOST. Use 'auto' to detect the host from
                       SSH. Defaults to localhost
      -p, --port PORT  Port number to use for connection. Defaults to 52698
      -w, --[no-]wait  Wait for file to be closed by TextMate
      -l, --line LINE  Place carat on line LINE after loading the file.
                       TextMate selection strings can be used
      -m, --name NAME  The display name shown in TextMate
      -t, --type TYPE  Treat file as having TYPE
      -f, --force      Open even if the file is not writable
      -v, --verbose    Verbose logging messages
      -h, --help       Show this help and exit
          --version    Show version and exit

    When FILE is -, read standard input.

More information can be found in `this blog post`_

.. _the official ruby version: https://github.com/textmate/rmate
.. _this blog post: http://blog.macromates.com/2011/mate-and-rmate/