dtool-symlink-0.3.1
توضیحات
Create dataset where data directory is a symlink
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dtool-symlink-0.3.1 |
| نام | dtool-symlink |
| نسخه کتابخانه | 0.3.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Tjelvar Olsson |
| ایمیل نویسنده | tjelvar.olsson@gmail.com |
| آدرس صفحه اصلی | https://github.com/jic-dtool/dtool-symlink |
| آدرس اینترنتی | https://pypi.org/project/dtool-symlink/ |
| مجوز | MIT |
README
======
Add ability to create dataset where data directory is a symlink.
Installing this package provides the dtool command line client with a storage
broker named ``symlink``. This is useful if one wants to mark up files in a
directory as a dataset without having to re-organise their structure on disk.
For example if one wants to mark up some Next Generation Sequencing data that
has arrived on an external hard disk as a dataset before copying the resulting
dataset to some other form of storage.
If one wants to make use of the
``dtool_symlink.storagebroker.SymLinkStorageBroker`` class programatically one
needs to set an attribute called ``symlink_path`` on the
``SymLinkStorageBroker`` instance with the path to the directory to be linked
before calling the ``create_structure`` method. For example::
from dtool_symlink.storagebroker import SymLinkStorageBroker
symlink_storage_broker = SymLinkStorageBroker("/path/to/dataset")
symlink_storage_broker.symlink_path = "/mnt/my_data/"
symlink_storage_broker.create_structure()
Installation
------------
To install the dtool-symlink package.
.. code-block:: bash
cd dtool-symlink
python setup.py install
نحوه نصب
نصب پکیج whl dtool-symlink-0.3.1:
pip install dtool-symlink-0.3.1.whl
نصب پکیج tar.gz dtool-symlink-0.3.1:
pip install dtool-symlink-0.3.1.tar.gz