timone
Current version: 0.0.5
timone is a lightweight object router to store Git LFS objects on different storage backend, including S3 compatible systems.
timone implements a simple token-based authentication system based on JWT, which streamlines authentication and authorization.
Install
timone requires python>=3.7 and can be installed as follows:
$ pip install timone
Configuration
timone adheres to the 12 factor principles to manage settings.
# timone service parameters
TIMONE_ENDPOINT_URL=http://127.0.0.5:8000
TIMONE_TOKEN_SECRET=mykey
TIMONE_STORAGE=S3Storage
TIMONE_OBJECT_EXPIRESIN=3600
# timone storage parameters for s3-like storage
TIMONE_STORAGE_S3_URL=https://s3.wasabisys.com
TIMONE_STORAGE_S3_REGION=eu-central-1
TIMONE_STORAGE_S3_BUCKET=bucket-xyz
TIMONE_STORAGE_S3_KEY=xxxx
TIMONE_STORAGE_S3_SECRET=yyy
Deployment
timone is a WSGI application, thus it requires a WSGI HTTP Server, like gunicorn, to run.
You can run your timone instance using gunicorn as follows:
$ gunicorn 'timone.wsgi:run()'
You can then create token to access the service using pyjwt. For example, you can run the following command to create a token for user bob:
$ pyjwt --key=mykey encode user=bob
where key is the TIMONE_TOKEN_SECRET.
Authors
- Giovanni Stracquadanio, dr.stracquadanio@gmail.com
Release files for timone 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| timone-0.0.5.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| timone-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / timone-0.0.5.tar.gz
| Download URL | timone-0.0.5.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ef53a5cb32e1e11c81f4cd7f80845b7347c05b6c6cdab6f66cdd2c741914381
|
|
BLAKE2b-256 checksum How to use checksums |
6810cfb0c4077f5f75add4ee9fe06eca0e8b141fc5c0ca007b0dca0589b733fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|
Release files / timone-0.0.5-py3-none-any.whl
| Download URL | timone-0.0.5-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b65763bbd5bd89c6af9040d6ea1185461a6486fd36f1e7cbaf03ea491fd9c359
|
|
BLAKE2b-256 checksum How to use checksums |
55782e45ce512700d8965472fac8dacff277c6fdf4b8d8c3a231e8b569a6ed9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|