turtle alternatives and similar packages
Based on the "System" category.
Alternatively, view turtle alternatives based on common mentions on social networks and blogs.
taffybar9.9 3.4 turtle VS taffybarA gtk based status bar for tiling window managers such as XMonad
bench9.9 0.0 turtle VS benchCommand-line benchmark tool
optparse-applicative9.9 3.7 turtle VS optparse-applicativeApplicative option parser
xmobar9.9 8.7 turtle VS xmobarA minimalistic status bar
angel9.7 0.0 turtle VS angelProcess Monitoring/Management, Like Daemontools
process9.6 3.4 turtle VS processLibrary for dealing with system processes
date-cache9.6 0.0 turtle VS date-cacheA fast logging system for Haskell
nix-diff9.6 0.0 turtle VS nix-diffExplain why two Nix derivations differ
unix9.6 2.1 turtle VS unixPOSIX functionality
ghc-hotswap9.5 0.0 turtle VS ghc-hotswapExample code for how we swap compiled code within a running Haskell process.
nix-deploy9.5 0.0 turtle VS nix-deployDeploy software or an entire NixOS system configuration to another NixOS system
hapistrano9.5 6.6 turtle VS hapistranoDeploy tool for Haskell applications, like Capistrano for Rails
optparse-generic9.5 0.0 turtle VS optparse-genericAuto-generate a command-line parser for your datatype
envy9.4 0.0 turtle VS envy:angry: Environmentally friendly environment variables
directory9.3 2.1 turtle VS directoryPlatform-independent library for basic file system operations
filepath9.2 6.6 turtle VS filepathHaskell FilePath core library
pid19.2 0.0 turtle VS pid1Do signal handling and orphan reaping for Unix PID1 init processes
typed-process9.2 4.5 turtle VS typed-processAlternative API for processes, featuring more type safety
log9.0 2.6 turtle VS logStructured logging solution.
clock9.0 0.0 turtle VS clockHigh-resolution clock functions: monotonic, realtime, cputime.
openssh-github-keys9.0 0.0 turtle VS openssh-github-keysControl SSH access to your servers via GitHub teams
clifm9.0 0.0 turtle VS clifmCommand Line Interface File Manager
hail8.9 0.0 turtle VS hailA service for pull-based continuous deployment based on hydra.
ekg-core8.9 0.0 turtle VS ekg-coreLibrary for tracking system metrics
hnix-store-core8.9 3.4 turtle VS hnix-store-coreHaskell implementation of the nix store API
monky8.8 0.0 turtle VS monkyThe main repository for monky
atomic-write8.7 0.0 turtle VS atomic-writeWrites files atomically in Haskell while preserving permissions
logsink8.7 0.0 turtle VS logsinkA logging framework for Haskell
ekg-cloudwatch8.7 0.0 turtle VS ekg-cloudwatchCloudWatch stats for ekg
hobbes8.7 0.0 turtle VS hobbesA cross-platform file activity monitor
cef8.7 0.0 turtle VS cefA Haskell library for CEF (Commont Event Format)
system-fileio8.6 0.0 turtle VS system-fileioContains the system-filepath and system-fileio packages
unix-compat8.6 0.0 turtle VS unix-compatHaskell portable POSIX-compatibility layer
apotiki8.6 0.0 turtle VS apotikia faster debian repository
language-puppet8.5 0.0 turtle VS language-puppetA library to work with Puppet manifests, test them and eventually replace everything ruby.
logger8.5 0.0 turtle VS loggerFast & extensible logging framework for Haskell!
which8.4 0.0 turtle VS whichDetermine the full path to an executable.
twitch8.4 0.0 turtle VS twitchA high level file watcher DSL
ascii-progress8.4 0.0 turtle VS ascii-progressA simple Haskell progress bar for the console. Heavily borrows from TJ Holowaychuk's Node.JS project
optparse-declarative8.4 0.0 turtle VS optparse-declarativeDeclarative command-line option parser
executable-hash8.3 0.0 turtle VS executable-hashProvides the SHA1 hash of the program executable
plugins8.3 0.0 turtle VS pluginsDynamic linking and runtime evaluation of Haskell, and C, including dependency chasing and package resolution.
ekg-statsd8.3 0.0 turtle VS ekg-statsdFlush system metrics to statsd
hinotify8.3 0.0 turtle VS hinotifyHaskell binding to inotify
directory-contents8.2 0.0 turtle VS directory-contentsRecursively build a tree of directory contents, avoiding symlink cycles
lxc8.2 0.0 turtle VS lxcHigh level Haskell bindings to LXC (Linux containers).
halfs8.2 0.0 turtle VS halfsThe Haskell File System: A file system implementation in Haskell
HFuse8.2 0.0 turtle VS HFuseHaskell bindings for the FUSE library
hen8.2 0.0 turtle VS henHaskell bindings to Xen hypervisor interface
nix-derivation8.1 0.0 turtle VS nix-derivationParse and render *.drv files
ONLYOFFICE Docs — document collaboration in your environment
Do you think we are missing an alternative of turtle or a related project?
Turtle is a reimplementation of the Unix command line environment in Haskell so
that you can use Haskell as a scripting language or a shell. Think of
coreutils embedded within the Haskell language.
- Install Stack
$ stack ghci turtle Prelude> :set -XOverloadedStrings Prelude> import Turtle
... and try out some basic filesystem operations:
Prelude Turtle> cd "/tmp" Prelude Turtle> mkdir "test" Prelude Turtle> touch "test/foo" Prelude Turtle> testfile "test/foo" True Prelude Turtle> rm "test/foo" Prelude Turtle> testfile "test/foo" False Prelude Turtle> rmdir "test" Prelude Turtle> view (lstree "/usr/lib") FilePath "/usr/lib/gnome-screensaver" FilePath "/usr/lib/gnome-screensaver/gnome-screensaver-dialog" FilePath "/usr/lib/libplist.so.1.1.8" FilePath "/usr/lib/tracker" FilePath "/usr/lib/tracker/tracker-miner-fs" FilePath "/usr/lib/tracker/tracker-extract" FilePath "/usr/lib/tracker/tracker-writeback" FilePath "/usr/lib/tracker/tracker-search-bar" FilePath "/usr/lib/tracker/tracker-store" FilePath "/usr/lib/libgif.so.4.1" ...
To learn more, read the turtle tutorial.
turtle library focuses on being a "better Bash" by providing a typed and
light-weight shell scripting experience embedded within the Haskell language.
If you have a large shell script that is difficult to maintain, consider
translating it to a "
turtle script" (i.e. a Haskell script using the
Among typed languages, Haskell possesses a unique combination of features that greatly assist scripting:
- Haskell has global type inference, so all type annotations are optional
- Haskell is functional and not object-oriented, so boilerplate is minimal
- Haskell can be type-checked and interpreted quickly (< 1 second startup time)
Batteries included: Command an extended suite of predefined utilities
Interoperability: You can still run external shell commands
Portability: Works on Windows, OS X, and Linux
Exception safety: Safely acquire and release resources
Streaming: Transform or fold command output in constant space
Patterns: Use typed regular expressions that can parse structured values
printf-style text formatting
shelly, this package does not use a monad transformer to keep track of
state like the current working directory or environment variables. Instead, all
state changes are made to the process's global state.
turtle's types and idioms are reasonably complete and I don't expect there
to be significant changes to the library's core API. The only major
functionality that I might add in the future would be to wrap
optparse-applicative in a simpler API.
The set of available tools currently covers as many filesystem utilities as I
could find across Hackage, but I would like to continue to add to the set of
available tools to minimally match
- The haskell-turtle tag on Stack Overflow
How to contribute
Contribute more utilities
License (BSD 3-clause)
Copyright (c) 2017 Gabriella Gonzalez\ All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Gabriella Gonzalez nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*Note that all licence references and agreements mentioned in the turtle README section above are relevant to that project's source code only.