twdragon / knowledge-package-zenodo-demo

Python 3 script demonstrates the logic of deployment for 'Knowledge Package' object

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Knowledge Package - deployment demo

DOI

This repository contains a Python 3 script that demonstrates the logic of deployment for so called 'Knowledge Package' in accordance to the concept described in the following documents (WIP):

Workflow description

The script loads the video recorded during demonstration of the presentation into the directory. Procedures of creating directory and downloading of the persistently-identified data are cosidered as deployment operations for different knowledge packages. The identification is artificial: in fact only the video file itself is persistently identified using IPFS, the directory creation is verified via encoding of the name into base64 system.

Running

To run the demo, just dive into the cloned directory and run via Python 3:

python3 demo-archivarius.py

After successful execution (Internet connection is required) in the script's directory the new subdirectory called packages will be created. Inside the another subdirectory containing the video will be placed.

Dependencies

  • POSIX-compatible operating system
  • Python 3.2 or later
  • yaml
  • binascii
  • base64

About

Python 3 script demonstrates the logic of deployment for 'Knowledge Package' object


Languages

Language:Python 100.0%