This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

SHCS: Self Hosted Cloud Storage

solution of sef hosted cloud storage

Installation

pip install shcs

Or

git clone https://github.com/fraoustin/shcs.git
cd shcs
python setup.py shcs

Usage

for run shcs

cd
shcs --help

    Usage: shcs [options] args

    run a api server for Self Hosted Cloud Storage

    Options:
      --version             show program's version number and exit
      -h, --help            show this help message and exit
      -H HOST, --host=HOST  the hostname to listen on
      -p PORT, --port=PORT  the port of the webserver
      -d DIR_SHCS, --dir=DIR_SHCS
                            dir of SHCS
      -l LEVEL, --log=LEVEL
                            level of log: DEBUG,INFO,WARNING,CRITICAL,ERROR

    by Frederic Aoustin

SHCS -d ./data
URL explain
/api/doc documentation of Api
/api/login log a user in
/api/logout logout
/api/version get version
/api/path list of files and directorys
/api/rm del file or directory
/api/mkdir create a directory
/api/upload upload file

Configuration

list of parameters

  • SHCS_HOST (default 0.0.0.0)
  • SHCS_PORT (default 5000)
  • SHCS_CONF_DIR (default .)
  • SHCS_LEVEL_LOG (default logging.DEBUG)
  • SHCS_USER_XX OR USERS (default guest/guest)

load configuration from 3 ways (in order)

  • from ~/.shcs/conf.py, sample
USERS = [{'id':0, 'username':'tutu','password':'toto'},
         {'id':1, 'username':'tyty','password':'titi'},
        ]
SHCS_PORT=80
  • from env
export SHCS_PORT=80
export SHCS_USER_0='tutu:toto'
export SHCS_USER_1='tyty:titi'
  • from command line for ABLOG
SHCS -p 80

Test

git clone https://github.com/fraoustin/shcs.git
cd shcs
python setup.py install
python -m unittest discover -s test/

FEATURE

  • manage access directory by .htacess
  • optimize upload
  • manage trash

V. 0.1.7

manage view logout

V. 0.1.6

manage long path

V. 0.1.5

add helped

V. 0.1.4

Correction of button add (show only logged)

V. 0.1.3

Correction of button add, del button single function

V. 0.1.2

Correction of requirement

V. 0.1.1

Correction of setup.py

V. 0.1.0

Add functionality

  • browse
  • upload
  • login

V. 0.0.0

  • init
Release History

Release History

0.1.7

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
shcs-0.1.7.tar.gz (19.0 kB) Copy SHA256 Checksum SHA256 Source Nov 3, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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