Skip to main content

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.

cd dtool-symlink
python setup.py install

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtool-symlink-0.3.1.tar.gz (3.3 kB view details)

Uploaded Source

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 file

0.3.0

1 file

0.2.0

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page