API Server to serve random gifs with support for public suggestions
Project description
Ugoki API Server
Ugoki is a simple server for storing categorized gifs where anyone can suggest gifs but the owner can approve them only.
Usage
Production
To install the last stable version, simply run
$ pip install ugoki
To start a ugoki API server, run ugoki-prod with correct arguments.
$ ugoki-prod -h
usage: ugoki-prod [-h] [-p PORT] [-H HOST] STORAGE SERVE_ROOT AUTH_USER AUTH_PASSWORD DB_STRING
positional arguments:
STORAGE Path to store gifs
SERVE_ROOT Root where the gifs are served by the web server
AUTH_USER Username for API
AUTH_PASSWORD Password for API
DB_STRING String to connect to database. (e.g. sqlite:///ugoki.sqlite)
optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT Port to listen on. Default: 8000
-H HOST, --host HOST Host to listen for. Default: 127.0.0.1
Development
git clone https://gitlab.com/ceda_ei/ugoki.git/cd ugokipoetry installpoetry shellugoki-dev
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ugoki-1.0.3.tar.gz
(17.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ugoki-1.0.3-py3-none-any.whl
(18.4 kB
view details)
File details
Details for the file ugoki-1.0.3.tar.gz.
File metadata
- Download URL: ugoki-1.0.3.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.9 CPython/3.9.7 Linux/5.14.6-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8f017c53901b8709effe1f9a3352664c78ca07d05b42f07121134d5269d544b
|
|
| MD5 |
ec9c938e188d59b8f1edb45679cad28b
|
|
| BLAKE2b-256 |
c910f969430a2c78ab78594ab5bb0b5e3388a4da7b5a0c1a5cf80fd63092166a
|
File details
Details for the file ugoki-1.0.3-py3-none-any.whl.
File metadata
- Download URL: ugoki-1.0.3-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.9 CPython/3.9.7 Linux/5.14.6-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1d7796e702f13d3c8dfe21602605e29213f266fde76eb4d7c6b637d2c3e1aea
|
|
| MD5 |
15083254e5e058f769c3d210ce817f70
|
|
| BLAKE2b-256 |
71e5c72fa127901dd2e72e20e3830e8493c92b5e95947dffb1fd078e23cab8db
|