Skip to main content

MediaMan backs up arbitrary media files to arbitrary cloud services!

Project description

MediaMan

MediaMan is a set of tools to manage the backing up of arbitrary media files to various cloud services for long-term storage and occasional retrieval.

It places a heavy emphasis on confidentiality, simple storage and retrieval (including bulk operations), heavy indexing, and user experience.

Installation

TBD

Try it out

TBD

Usage

TBD

License

TBD

Personal Setup Guide

pip:
$ pip3 install google-api-python-client
$ pip3 install oauth2client

bash:
$ GOOGLE_APPLICATION_CREDENTIALS="/Users/matthewcotton/Repos/MyRepos/MediaMan/mediaman/drive/credentials/serviceaccount/xxx.json" p


python:
>>> from apiclient.discovery import build
>>> drive = build("drive", "v3")
>>> drive.files().list().execute()
{'files': [{'id': '...',
            'kind': 'drive#file',
            'mimeType': 'application/pdf',
            'name': 'Getting started'}],
 'incompleteSearch': False,
 'kind': 'drive#fileList'}

>>> file_metadata = {'name': 'test.txt'}
>>> media = googleapiclient.http.MediaFileUpload("test.txt")
>>> file_receipt = drive.files().create(body=file_metadata, media_body=media, fields="id").execute()
>>> file_receipt
{'id': '...'}

>>> drive.files().list().execute()
{'files': [{'id': '...',
            'kind': 'drive#file',
            'mimeType': 'text/plain',
            'name': 'test.txt'},
           {'id': '...',
            'kind': 'drive#file',
            'mimeType': 'application/pdf',
            'name': 'Getting started'}],
 'incompleteSearch': False,
 'kind': 'drive#fileList'}

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

mediaman-0.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

mediaman-0.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mediaman-0.0.1.tar.gz.

File metadata

  • Download URL: mediaman-0.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for mediaman-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e927a7f74327190cf213f76b35902f88fdf0eea4ec524cdb3ae57ba9bac82bb8
MD5 02f80844140526ccb62adfa658d7beae
BLAKE2b-256 46d598e617762250e91a60d59bd7a99b7cff5818dcaf0fe996dceba89399e62e

See more details on using hashes here.

File details

Details for the file mediaman-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mediaman-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for mediaman-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1482760a03dab1a80aebcdca47b0383c37fd9d8db7eef442c44ceda90fa4465c
MD5 b2dbe7837ceb3b8dda3f01db5eea4ca7
BLAKE2b-256 343ce3955f68c570c5a8845be9ae1856d765ec0f84f07161f88e8ef89fba4c97

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page