Repository navigation
Releases
Releases · eloualiche/ResearchSetup
v0.4.2
v0.4.1
Fixes
- Fix internal function naming in link_contracts.ncl (rename
serialize_recordsto_serialize_recordsto follow underscore convention for internal functions)
v0.4.0
What's New
Updated documentation with new file structure and TOML-first workflow.
Install
curl -fsSL https://github.com/eloualiche/ResearchSetup/releases/latest/download/install.py | uv run --script -File Structure
_tools/
├── scripts/
│ └── link_json.py # Main linker script
└── nickel/
├── link_contracts.ncl # Type contracts
└── links_template.ncl # Your config (edit this)
Usage
# Edit your links
vim _tools/nickel/links_template.ncl
# Export and link
nickel export --format toml _tools/nickel/links_template.ncl > links.toml
uv run _tools/scripts/link_json.py links.tomlSee README for Snakemake integration examples.
v0.3.0
Changes
New file structure
_tools/
├── scripts/
│ └── link_json.py
└── nickel/
├── link_contracts.ncl
└── links_template.ncl
Improvements
- link_json.py: Refactored with dataclass, better error handling, cleaner output
- Removed link.py wrapper: Use Snakemake or run commands directly
- TOML-first: Examples now show TOML export (cleaner than JSON)
Install
curl -fsSL https://github.com/eloualiche/ResearchSetup/releases/latest/download/install.py | uv run --script -Usage
# 1. Edit your links
vim _tools/nickel/links_template.ncl
# 2. Export and link
nickel export --format toml _tools/nickel/links_template.ncl > links.toml
uv run _tools/scripts/link_json.py links.tomlOr with Snakemake - see README for examples.
v0.2.0
Changes since v0.1.0
- Improved documentation with detailed explanation of install command syntax
- Better CLI help with examples and descriptions
- Fixed piped execution (when using
curl | uv run --script -) - Use release URL for stable downloads
Install
curl -fsSL https://github.com/eloualiche/ResearchSetup/releases/latest/download/install.py | uv run --script -Requirements
v0.1.0
Initial release of ResearchSetup.
Features
- Declarative link definitions using Nickel templates
- Three link types: single file, multiple files, directory
- Self-contained Python scripts with uv inline dependencies
- Configurable installation location (
--destoption)
Quick Install
curl -fsSL https://raw.githubusercontent.com/eloualiche/ResearchSetup/main/install.py | uv run --script -