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
Metadata
Release files for ugoki 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ugoki-1.0.3.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ugoki-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.6 kB
Release files / ugoki-1.0.3.tar.gz
| Download URL | ugoki-1.0.3.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8f017c53901b8709effe1f9a3352664c78ca07d05b42f07121134d5269d544b
|
|
BLAKE2b-256 checksum How to use checksums |
c910f969430a2c78ab78594ab5bb0b5e3388a4da7b5a0c1a5cf80fd63092166a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.9 CPython/3.9.7 Linux/5.14.6-arch1-1
|
Release files / ugoki-1.0.3-py3-none-any.whl
| Download URL | ugoki-1.0.3-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1d7796e702f13d3c8dfe21602605e29213f266fde76eb4d7c6b637d2c3e1aea
|
|
BLAKE2b-256 checksum How to use checksums |
71e5c72fa127901dd2e72e20e3830e8493c92b5e95947dffb1fd078e23cab8db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.9 CPython/3.9.7 Linux/5.14.6-arch1-1
|