Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
py-shandy-sqlfmt Sqlfmt formats your dbt SQL files so you don't have to
0.32.0_1 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.32.0Version of this port present on the latest quarterly branch.
Maintainer: ume@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-05-31 14:48:05
Last Update: 2026-10-18 09:26:51
Commit Hash: c56222c
Also Listed In: python
License: APACHE20
WWW:
https://sqlfmt.com
https://github.com/tconbeer/sqlfmt
Description: #
sqlfmt formats your dbt SQL files so you don't have to. It is similar in nature to black, gofmt, and rustfmt (but for SQL). sqlfmt promotes collaboration. An auto-formatter makes it easier to collaborate with your team and solicit contributions from new people. You will never have to mention (or argue about) code style in code reviews again. sqlfmt is fast. Forget about formatting your code, and spend your time on business logic instead. sqlfmt processes hundreds of files per second and only operates on files that have changed since the last run. sqlfmt works with Jinja. It formats the code that users look at, and therefore doesn't need to know anything about what happens after the templates are rendered. sqlfmt integrates with your workflow. As a CLI written in Python, it's easy to install locally on any OS and run in CI. Plays well with dbt, pre-commit, SQLFluff, VSCode, and GitHub Actions. sqlfmt powers the dbt Cloud IDE's Format button. sqlfmt is not configurable, except for line length. It enforces a single style. sqlfmt maintains comments and some extra newlines, but largely ignores all indentation and line breaks in the input file. sqlfmt is not a linter. It does not parse your code into an AST; it just lexes it and tracks a small subset of tokens that impact formatting. This lets us "do one thing and do it well:" sqlfmt is very fast, and easier to maintain and extend than linters that need a full SQL grammar. For now, sqlfmt only works on select, delete, grant, revoke, and create function statements (which is all you need if you use sqlfmt with a dbt project). It is being extended to additional DDL and DML. Visit this tracking issue for more information.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}shandy-sqlfmt>0:devel/py-shandy-sqlfmt@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-shandy-sqlfmt/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-shandy-sqlfmt
  • pkg install py312-shandy-sqlfmt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-shandy-sqlfmt listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-shandy-sqlfmt
Package flavors (<flavor>: <package>) #
  • py312: py312-shandy-sqlfmt
distinfo: #
TIMESTAMP = 1792296330 SHA256 (tconbeer-sqlfmt-0.32.0-v0.32.0_GH0.tar.gz) = 6bcf4c29f2f803751cf1d9250d20a6dc687b61412e18b4f6e48b5c3e3dfe54ad SIZE (tconbeer-sqlfmt-0.32.0-v0.32.0_GH0.tar.gz) = 238649

Packages (timestamps in pop-ups are UTC): #
py311-shandy-sqlfmt
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.26.0-
FreeBSD:14:quarterly---0.26.0-
FreeBSD:15:latest--n/a0.26.0n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

py312-shandy-sqlfmt
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.32.00.32.0_1--0.32.0_1
FreeBSD:14:quarterly0.32.00.32.0--0.32.0
FreeBSD:15:latest0.32.0_10.32.0_1n/a-n/a
FreeBSD:15:quarterly0.32.00.32.0n/a-n/a
FreeBSD:16:latest0.32.00.32.0_1n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-hatchling>=0 : devel/py-hatchling@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-pytest>=7,1 : devel/py-pytest@py312
  2. python3.12 : lang/python312
Runtime dependencies: #
  1. py312-black>=0 : devel/py-black@py312
  2. py312-click>=8.0<9.0 : devel/py-click@py312
  3. py312-Jinja2>=3.0<4.0 : devel/py-Jinja2@py312
  4. py312-platformdirs>=2.4<5.0 : devel/py-platformdirs@py312
  5. py312-tqdm>=4.67<5.0 : misc/py-tqdm@py312
  6. python3.12 : lang/python312
This port is required by: #
for Run #
  1. databases/py-harlequin

Configuration Options: #
No options to configure
Options name: #
devel_py-shandy-sqlfmt
USES: #
python
FreshPorts was unable to extract/find any pkg message #
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/tconbeer/sqlfmt/tar.gz/v0.32.0?dummy=/
Collapse this list.

Number of commits found: 14 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.32.0_1
18 Oct 2026 09:26:51
commit hash: c56222c8a03c555d8f36f0ea7099b8fb4e04e41acommit hash: c56222c8a03c555d8f36f0ea7099b8fb4e04e41acommit hash: c56222c8a03c555d8f36f0ea7099b8fb4e04e41acommit hash: c56222c8a03c555d8f36f0ea7099b8fb4e04e41a files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Add settings for test.
0.32.0
11 Aug 2026 01:55:47
commit hash: b0e36b0191059cabd411fc2142fcdf5e2143ddf3commit hash: b0e36b0191059cabd411fc2142fcdf5e2143ddf3commit hash: b0e36b0191059cabd411fc2142fcdf5e2143ddf3commit hash: b0e36b0191059cabd411fc2142fcdf5e2143ddf3 files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.32.0
0.31.0
04 Aug 2026 13:40:05
commit hash: 07bcf0b020ebcc4d748454d8e3230d5cb0287017commit hash: 07bcf0b020ebcc4d748454d8e3230d5cb0287017commit hash: 07bcf0b020ebcc4d748454d8e3230d5cb0287017commit hash: 07bcf0b020ebcc4d748454d8e3230d5cb0287017 files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.31.0
0.30.0
26 Jun 2026 20:47:39
commit hash: f66359167bac6a25e0d05d54589b519dd90612e2commit hash: f66359167bac6a25e0d05d54589b519dd90612e2commit hash: f66359167bac6a25e0d05d54589b519dd90612e2commit hash: f66359167bac6a25e0d05d54589b519dd90612e2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-shandy-sqlfmt: Clean up USES=python

Python 3.10 is the minimal supported Python 3.

Approved by:	portmgr (blanket)
With hat:	python
0.30.0
05 May 2026 17:50:12
commit hash: 05714bc4cc9e424f77e116337f6176f0ed2f9f55commit hash: 05714bc4cc9e424f77e116337f6176f0ed2f9f55commit hash: 05714bc4cc9e424f77e116337f6176f0ed2f9f55commit hash: 05714bc4cc9e424f77e116337f6176f0ed2f9f55 files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.30.0
0.29.0
13 Jan 2026 14:34:34
commit hash: 637cb64d7681fef9461f9043a356a5c9669de527commit hash: 637cb64d7681fef9461f9043a356a5c9669de527commit hash: 637cb64d7681fef9461f9043a356a5c9669de527commit hash: 637cb64d7681fef9461f9043a356a5c9669de527 files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.29.0
0.28.2
01 Nov 2025 17:23:22
commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8commit hash: 1403bb7765965eccd644a73cb136a155e46f7ea8 files touched by this commit
Matthias Andree (mandree) search for other commits by this committer
*: Revise USES=python:... version range constraints

and strip all lower bounds of 3.9 or 3.10 because they are implied now.

python:3.9-X  -> python:-X
python:3.9+   -> python
python:3.10-X -> python:-X
python:3.10+  -> python
(options such as ,build preserved)
0.28.2
25 Oct 2025 04:58:31
commit hash: a20cb3e48822b0b6357ccc9ea60d1a494bad396dcommit hash: a20cb3e48822b0b6357ccc9ea60d1a494bad396dcommit hash: a20cb3e48822b0b6357ccc9ea60d1a494bad396dcommit hash: a20cb3e48822b0b6357ccc9ea60d1a494bad396d files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.28.2
0.28.1
23 Oct 2025 11:14:10
commit hash: 49efa52770fdc9960b57a9d1701137ed2409b7d9commit hash: 49efa52770fdc9960b57a9d1701137ed2409b7d9commit hash: 49efa52770fdc9960b57a9d1701137ed2409b7d9commit hash: 49efa52770fdc9960b57a9d1701137ed2409b7d9 files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.28.1
0.28.0
18 Oct 2025 08:57:40
commit hash: 63b842ccbd346e0d8f31fbba51e6784eb60a61cecommit hash: 63b842ccbd346e0d8f31fbba51e6784eb60a61cecommit hash: 63b842ccbd346e0d8f31fbba51e6784eb60a61cecommit hash: 63b842ccbd346e0d8f31fbba51e6784eb60a61ce files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: poetry is not used for build anymore
0.28.0
18 Oct 2025 08:43:30
commit hash: 8520cff09b577c0ac110ba0baede43f67cbccf28commit hash: 8520cff09b577c0ac110ba0baede43f67cbccf28commit hash: 8520cff09b577c0ac110ba0baede43f67cbccf28commit hash: 8520cff09b577c0ac110ba0baede43f67cbccf28 files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: fix build
0.28.0
18 Oct 2025 08:32:28
commit hash: 8a331dfa5a97481ea432814dd1d6737e496fbe4ccommit hash: 8a331dfa5a97481ea432814dd1d6737e496fbe4ccommit hash: 8a331dfa5a97481ea432814dd1d6737e496fbe4ccommit hash: 8a331dfa5a97481ea432814dd1d6737e496fbe4c files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.28.0
0.27.0
02 Sep 2025 17:03:09
commit hash: b7e6e4849fa2b256daa4674dac803fd6e1e56df9commit hash: b7e6e4849fa2b256daa4674dac803fd6e1e56df9commit hash: b7e6e4849fa2b256daa4674dac803fd6e1e56df9commit hash: b7e6e4849fa2b256daa4674dac803fd6e1e56df9 files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: Update to 0.27.0
0.26.0
31 May 2025 14:47:41
commit hash: 5d1b71969afe17de840b19e8910505e706eaa28fcommit hash: 5d1b71969afe17de840b19e8910505e706eaa28fcommit hash: 5d1b71969afe17de840b19e8910505e706eaa28fcommit hash: 5d1b71969afe17de840b19e8910505e706eaa28f files touched by this commit
Hajimu UMEMOTO (ume) search for other commits by this committer
devel/py-shandy-sqlfmt: correct portname

Number of commits found: 14