semvec/pypi-packages huggingface dataset:
avoid_disaster 1.3
Script backups easily to Amazon S3
License: BSD
Keywords: backups amazon s3

avoid_disaster
---------------

Avoid Disaster can be used to script daily, weekly or monthly backups and upload them to S3.

For more information check out:
http://amix.dk/blog/post/19529#Avoid-Disaster-Script-backups-easily-to-Amazon-S3

Examples
----------

Example of creating a backups of test_dir/::

    import os
    from avoid_disaster import S3Uploader, gunzip_dir, generate_file_key

    #--- Globals ----------------------------------------------
    AWS_KEY = 'YOUR AWS KEY'
    AWS_SECRET = 'YOUR AWS SECRET'

    s3_uploader = S3Uploader(AWS_KEY,
                             AWS_SECRET,
                             'backups.your_domain.com')

    #--- Easy usage ----------------------------------------------
    #Daily
    s3_uploader.compress_and_upload('test_dir/',
                                    'test_dir.%(weekday)s.tgz',
                                    replace_old=True)

    #Monthly
    s3_uploader.compress_and_upload('test_dir/',
                                    'test_dir.%(month_name)s.tgz',
                                    replace_old=True)

    #Weekly
    s3_uploader.compress_and_upload('test_dir/',
                                    'test_dir.%(week_number)s.tgz',
                                    replace_old=True)


    #--- Generic usage ----------------------------------------------
    file_key = generate_file_key('test_dir.%(weekday)s.tgz')
    gz_filename = gunzip_dir('test_dir/', file_key)
    s3_uploader.upload(file_key, gz_filename, replace_old=True)
    os.remove(gz_filename)

Copyright: 2010 by amix
License: BSD.
django-klisha 1.0.4
A standards-compliant and responsive photoblog web application, written in Python and Django
License: BSD
Keywords: django,blog,photoblog,weblog,post,news,responsive

===============================
klisha - Django-based photoblog
===============================

klisha is a standards-compliant and responsive photoblog web application, 
written in Python and uses the Django web framework.

.. figure:: https://raw.github.com/zenzire/django-klisha/master/docs/images/responsive.png
   :alt: Responsive design


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

Create a virtualenv

::

    ~$ virtualenv ~/django-klisha
    ~$ cd ~/django-klisha
    ~$ source ./bin/activate

Clone the code

::

    ~$ git clone https://github.com/zenzire/django-klisha.git

Install required pip packages

::
    
    (django-klisha):~$ cd django-klisha
    (django-klisha):~/django-klisha$ pip install -r requirements.txt

Launch the server

::

    (django-klisha):~/django-klisha$ ./manage.py runserver



klisha-powered sites
====================

* http://www.mierzejewski.net - Captured Moments


Release notes
=============

Version 1.0.4 (2013-Sep-16):
---------------------------------
* Updated Django to 1.5.4 (security fix)

Version 1.0.3 (2013-Aug-14):
---------------------------------
* Created pip package

Version 1.0.2 (2013-Aug-14):
----------------------------

* Admin: Added vertical display of the tags' filter interface
* Updated Django from 1.5.1 to 1.5.2
* Updating Description, Screenshots and Installation paragraphs in README.rst file

Version 1.0.1 (2013-Aug-05):
----------------------------
  
* Added links to the next and the previous picture on picture detail page
* Added KLISHA_WEBSITE_DESCRIPTION optional parameter to settings
* Added Installation and Release notes paragraphs in README.rst file
 
Version 1.0.0 (2013-Jul-25):
----------------------------

* Initial version