Skip to main content

Improve reading flow by arranging functions and other code blocks.

Project description

funkshway 🕺

Improve reading flow by arranging functions and other code blocks.

The formatter applies the following prioritized ordering:

  • Idiomatic structure (dunders and other conventions)
  • Topological order (callers before the helpers they use)
  • Lexical order (for a stable, idempotent layout)

Formatting whitespace, ordering imports and other linting rules are out of scope.

Usage

# Format specific files in-place
funkshway files path/to/file.py [other/files.py ...]

# Recursive mode from current folder
funkshway .

# Log errors but exit with zero
funkshway --relaxed .

Unresolvable code blocks will trigger an error, and that file will be skipped.

Development environment

Initialize with just bootstrap (includes linters). Test with just test.

See just --list for additional SDLC commands.

New releases are delivered via PyPI Trusted Publishing.

Sharing and contributions

funkshway 🕺
https://lofidevops.neocities.org
Copyright 2026 David Seaward and contributors and contributors
SPDX-License-Identifier: Apache-2.0

Shared under Apache-2.0. We adhere to the Contributor Covenant 3.0, and certify origin per DCO 1.1 with a signed-off-by line. Contributions under the same terms are welcome.

Submit security and conduct issues as private tickets. Sign commits with git commit --signoff. For a software bill of materials run reuse spdx. For more details see CONDUCT, COPYING and CONTRIBUTING.

Colophon

Feng shui is the practice of arranging objects to improve flow.

Built (almost) exclusively with AGENTS.md, specification.toml and PLAN.md for agent guidance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funkshway-2026.5.5.tar.gz (85.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

funkshway-2026.5.5-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file funkshway-2026.5.5.tar.gz.

File metadata

  • Download URL: funkshway-2026.5.5.tar.gz
  • Upload date:
  • Size: 85.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for funkshway-2026.5.5.tar.gz
Algorithm Hash digest
SHA256 ab964512242a477a0d9821ec5c4e7e084a2ddec7675fb12632e09bcc14613221
MD5 088452f67ccf10b204c83def25f0587b
BLAKE2b-256 dbc5f35213adb0ef7cd2200096936de4e06cd2b8995dbf02927fa509188bb671

See more details on using hashes here.

File details

Details for the file funkshway-2026.5.5-py3-none-any.whl.

File metadata

  • Download URL: funkshway-2026.5.5-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for funkshway-2026.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b4adc7228e46557e7091fdf54302155b9b9243f0a43e877b5673ba5338fcaaf5
MD5 e5b8e81eebba17f0a5c7e4b46fbf550c
BLAKE2b-256 eb698eae7af77453055862885a9dfbe1bf7bc6c32194301b31eb1dbb8e6c4e52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page