# Installer snakefmt avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de snakefmt pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:snakefmt
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install snakefmt
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#snakefmt
```

  Preuve: nixpkgs package indexes: pkgs/by-name/sn/snakefmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:snakefmt
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/snakefmt>
- **Version:** 2.0.3
- **Résumé source:** Snakemake code formatter
- **Page d'accueil:** <https://github.com/snakemake/snakefmt/>
- **Dépôt:** <https://github.com/snakemake/snakefmt>
- **Docs amont:** <https://github.com/snakemake/snakefmt/>
- **Licence:** MIT
- **Archive source:** <https://files.pythonhosted.org/packages/da/9b/c3dce69468a32d9b2dd9366c41c472b59ecafa28971761e8620466fb288f/snakefmt-2.0.3.tar.gz>
- **Dernière mise à jour:** 2026-06-27T05:29:21Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- snakefmt (cli)
- snakefmt (alias)

## Dépendances

- python@3.14

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.0.3
- gestionnaire mis à jour: 2026-06-27
- données locales: OK
- dépôt amont: https://github.com/snakemake/snakefmt
- info: No cached GitHub release or tag data was available.
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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

### Sources

- <https://api.github.com/repos/snakemake/snakefmt>
- <https://api.github.com/repos/snakemake/snakefmt/releases>
- <https://github.com/snakemake/snakefmt>
- <https://github.com/snakemake/snakefmt/blob/master/pyproject.toml>
- input source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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

- Unix: pyproject.toml
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** snakefmt
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Nix - snakefmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/snakefmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/fr/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [black](https://pkg.so/fr/brew/black/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [pgformatter](https://pkg.so/fr/brew/pgformatter/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [rubyfmt](https://pkg.so/fr/brew/rubyfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [yapf](https://pkg.so/fr/brew/yapf/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [jsonpp](https://pkg.so/fr/brew/jsonpp/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [sql-formatter](https://pkg.so/fr/brew/sql-formatter/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [gersemi](https://pkg.so/fr/brew/gersemi/) - Shares pkgdb curated category or tags: cli, code-style, developer-tools, formatter, python.
- [odinfmt](https://pkg.so/fr/brew/odinfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter.
- [autopep8](https://pkg.so/fr/brew/autopep8/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, formatter.

## Combined YAML source

View the package source record on GitHub. [combined/snakefmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/snakefmt.yml)


## Sources

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