Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

The simplest PhotoBackup server, made with bottle

Project Description

# The Python PhotoBackup server implementation

The Python3 implementation of PhotoBackup server, made with [bottle](http://bottlepy.org/). It follows the [official API](https://github.com/PhotoBackup/api/blob/master/api.raml), currently in [version 2](https://github.com/PhotoBackup/api/releases/tag/v2).

## Installation

Install through [PyPI](https://pypi.python.org/pypi):

pip install photobackup_bottle

Then run the installer, which asks for the directory to save your pictures to and the server password:

photobackup init

The script looks for the directory to be writable by the usual www-data user. It fails gracefully if it is not, just warning you to make it work properly. This step creates a .photobackup file in the user’s home directory, containing:

  • BindAddress, the IP address (default is 127.0.0.1) ;
  • MediaRoot, the directory where the pictures are written in ;
  • Password, the SHA-512 hashed password ;
  • PasswordBcrypt, a Bcrypt-ed version of your SHA-512 hashed password ;
  • Port, the port (default is 8420).

## Usage

Launch the server with:

photobackup run

By default, it runs on host 127.0.0.1, port 8420 and reloads automatically.

## Production

To put in production, use [Nginx](http://nginx.org/) to bind a sever name to http://127.0.0.1:8420.

Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.1.0a1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
photobackup_bottle-0.1.2.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Dec 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting