Skip to main content

PyPI - Downloads Documentation Documentation DOI Pipeline status Coverage report

Framework to represent structured directories in python as FileTree objects. FileTrees can be read in from simple text files describing the directory structure. This is particularly useful for pipelines with large number of input, output, and intermediate files. It can also be used to visualise the data in structured directories using FSLeyes or file-tree on the command line.

Running tests

Tests are run using the pytest framework. After installation (pip install pytest) they can be run from the project root as:

pytest src/tests

Release procedure

  • Create a new release branch
  • Make sure "CHANGELOG.md" is up to date
    • All commits can be seen in gitlab by clicking the "Unreleased" link in "CHANGELOG.md"
    • Add new header just below "## [Unreleased]" with the new version
    • Update the footnotes for both the new version and [Unreleased]
  • Run bump2version patch/minor/major
  • Merge branch on gitlab
  • Push to pypi by running custom pipeline job in gitlab

Download files

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

Source Distribution

file-tree-1.2.1.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

file_tree-1.2.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file file-tree-1.2.1.tar.gz.

File metadata

  • Download URL: file-tree-1.2.1.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for file-tree-1.2.1.tar.gz
Algorithm Hash digest
SHA256 0c1fbc4d1d2ff248c99e264d36c65e4049d11b02a41ee345c7621bfc33a536ff
MD5 029a516fba3c513b157bd9d63adcc6a0
BLAKE2b-256 00b7894e036626bfe072cf69d4cab3681fc4f9d0ed9739e1d8ba513b7398861a

See more details on using hashes here.

File details

Details for the file file_tree-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: file_tree-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for file_tree-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe3b4798fb5b123abbababf6b052017cb9e6887f99f4ef65812b0015b2a9921
MD5 ab0299c1a0ea918e7d2e008f4f1b6ae1
BLAKE2b-256 14f84ce0dbd898c265dba20415869ccc7ac42203d7190c3ed95d305812c139cf

See more details on using hashes here.

Supported by

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