Automic VaultAutomic Vault

brew

Install snakefmt with Homebrew, Nix

Snakemake code formatter. Version 2.0.3 via Homebrew; verified 2026-06-27.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install snakefmt

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#snakefmt

nixpkgs package indexes · pkgs/by-name/sn/snakefmt/package.nix · source: api.github.com

overview

Package summary

Snakemake code formatter

Commands and aliases

  • snakefmt

history

Project history and usage

snakefmt is the Snakemake code formatter, modeled culturally on opinionated formatters such as Black while targeting Snakefiles and Snakemake-specific syntax.

Project history

The official GitHub repository was created in February 2020 and v0.1.0 was published in June 2020. The project metadata and README describe it as the uncompromising Snakemake code formatter.

Adoption history

snakefmt is distributed through Homebrew and Nix in the supplied package metadata and supports pre-commit integration from its official README, making it easy to add to package and repository hygiene workflows.

How it is used

Users run snakefmt against Snakefiles or directories. By default it searches parent directories for pyproject.toml and reads snakefmt and Black configuration from that file; command-line options override config values.

Why package nerds care

snakefmt matters to package and workflow maintainers because it standardizes Snakemake formatting, can run in pre-commit, and reduces noisy diffs in scientific workflow repositories.

Timeline

  • 2020: Official GitHub repository created.
  • 2020: v0.1.0 published on GitHub releases.
  • 2026: Project metadata lists snakefmt 2.x and a Python 3.11+ requirement.

Related projects

  • Snakemake
  • Black
  • shfmt
  • pre-commit

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
pyproject.toml

executables

Installed executables

CommandKindExposureNote
snakefmtcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.0.3
manager updated2026-06-27
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/snakemake/snakefmt

install metadata

Package metadata

Package keybrew:snakefmt
Version2.0.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/snakefmt
Homepagehttps://github.com/snakemake/snakefmt/
Repositoryhttps://github.com/snakemake/snakefmt
Upstream docshttps://github.com/snakemake/snakefmt#readme
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/da/9b/c3dce69468a32d9b2dd9366c41c472b59ecafa28971761e8620466fb288f/snakefmt-2.0.3.tar.gz
Last updated2026-06-27T05:29:21Z
Pulseupdated
Dependenciespython@3.14
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesnakefmt
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

snakefmt

nix profile install nixpkgs#snakefmt
  • normalized package name match
  • Matched by: Snakefmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sn/snakefmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment