Skip to content

File storage (HTTP storage) API with IP Auth based on Bottle & SQLite

Notifications You must be signed in to change notification settings

osya/File_Storage_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Storage API

Build Status Coverage Status

File storage (HTTP storage) API with IP Auth based on Bottle & SQLite

Developed File storage (HTTP storage) API with IP Auth based on Bottle & SQLite.

In the scope of this task I developed Bottle plugin for IP Auth, which can work with Bottle-SQLite plugin.

Used technologies:

  • Python & Bottle & SQLite
  • Testing: PyTest & Webtest
  • Travis CI
  • This project uses multiprocessing module for removing expired uploaded files in background in separate process.

Installation

  1. Clone project on your machine
  2. virtualenv env
  3. Activate virtual env:
    • Under Windows: env\Scripts\activate.bat
    • Under Linux: source env/bin/activate
  4. pip install -r requirements/dev.txt
  5. cd <path_where_you_cloned_app>
  6. nohup python manage.py runserver

Usage

Tests

To run all tests, run

    python manage.py test

Releases

No releases published

Packages

No packages published

Languages