![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
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.
This package uses uv for project management. You will need to install uv to develop this package.
First clone the repository:
git clone https://git.fmrib.ox.ac.uk/fsl/file-tree.git
Then we can ask uv to set up the local envoriment.
cd file-tree
uv sync
Tests are run using the pytest framework.
This will already be available in the uv
virtual environment.
uv run pytest src/tests
The documentation is build using sphinx.
cd doc
uv run sphinx-build source build
open build/index.html
Merge requests with any bug fixes or documentation updates are always welcome.
For new features, please raise an issue to allow for discussion before you spend the time implementing them.
pyproject.toml
Tests are run using the pytest framework. After installation (pip install pytest
) they can be run from the project root as:
pytest src/tests
FAQs
Describe structure directory for visualisation and pipeline
We found that file-tree demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.