/pfioh

Path File IO Handler

Primary LanguagePythonMIT LicenseMIT

pfioh - v1.5.14.2

image

image

image

Table of Contents

Overview

This repository provides pfioh -- a server process (think of it as anonymous ftp that natively understands recursive paths) that allows for file/path push/copy.

  • pfioh: a file IO manager;

pfioh

pfioh is a service that pushes/pulls files and directories between different locations.

Installation

Installation is relatively straightforward, and we recommend using either python virtual environments or docker.

Python Virtual Environment

On Ubuntu, install the Python virtual environment creator

Then, create a directory for your virtual environments e.g.:

You might want to add to your .bashrc file these two lines:

Then you can source your .bashrc and create a new Python3 virtual environment:

To activate or "enter" the virtual env:

To deactivate virtual env:

Using the fnndsc/ubuntu-python3 dock

We provide a slim docker image with python3 based off Ubuntu. If you want to play inside this dock and install pman manually, do

This docker has an entry point python3. To enter the dock at a different entry and install your own stuff:

Now, install pfioh and friends using pip

If you do the above, remember to commit your changes to the docker image otherwise they'll be lost when you remove the dock instance!

where <container-ID> is the ID of the above container.

Using the fnndsc/pfioh dock

The easiest option however, is to just use the fnndsc/pfioh dock.

and then run

Usage

pfioh usage

For pfioh detailed information, see the pfioh wiki page.