Skip to main content

An R formatter, written in Rust.

Project description

air-formatter

An R formatter. Written in Rust.

This package provides the air command-line tool as a Python package, making it easy to install via pip or uv.

Installation

Install a global installation of air with uv:

uv tool install air-formatter

or with pip

pip install air-formatter

This puts air on the PATH, so you can run:

# Format R file
air format path/to/file.R

# Format all R files in a directory
air format path/to/directory/

Alternatively, invoke air via uvx for one-off formatting without a global install:

uvx --from air-formatter air format path/to/file.R

To use a specific version of air:

# Global install
uv tool install air-formatter@0.8.2

# One off runs
uvx --from air-formatter@0.8.2 air format path/to/file.R

About

Air is an opinionated R formatter built by Posit. For more information, see the main repository.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

air_formatter-0.9.0-py3-none-win_arm64.whl (2.7 MB view details)

Uploaded Python 3Windows ARM64

air_formatter-0.9.0-py3-none-win_amd64.whl (2.9 MB view details)

Uploaded Python 3Windows x86-64

air_formatter-0.9.0-py3-none-manylinux_2_28_x86_64.whl (3.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

air_formatter-0.9.0-py3-none-manylinux_2_28_aarch64.whl (3.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

air_formatter-0.9.0-py3-none-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

air_formatter-0.9.0-py3-none-macosx_10_12_x86_64.whl (3.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file air_formatter-0.9.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: air_formatter-0.9.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for air_formatter-0.9.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 da19c02975363eec4c18ccaaa6f524fc3971ff9cb49b2018d3381b878a47739a
MD5 4a601d73f777f5129c2f31f5399077bb
BLAKE2b-256 16eda6ec985f4a9bd8aefe6b151fa79c842262a1b49e71157489e5fb4ce98f43

See more details on using hashes here.

File details

Details for the file air_formatter-0.9.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: air_formatter-0.9.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for air_formatter-0.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 440b38d1d88c449f1ddb742ddcbe144219550751121446dc718e05c60593f8d8
MD5 ea79de0974181748d00fdb2f56887eb3
BLAKE2b-256 90d66240a8b0c93f0b7502b2242d921883e35741757df4c4fb13ea27a23b85fc

See more details on using hashes here.

File details

Details for the file air_formatter-0.9.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: air_formatter-0.9.0-py3-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for air_formatter-0.9.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 87e896992cf39af7eeb3a36970f8aa514e8702a6ba6adc913f9ecd79eaa607b8
MD5 3ea00bd427d101a3b36dda49719fb7c2
BLAKE2b-256 aef49a25606ec69cb75af1a62826400e30b94ee7a291ede355d3c717b524a247

See more details on using hashes here.

File details

Details for the file air_formatter-0.9.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: air_formatter-0.9.0-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for air_formatter-0.9.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fb204dfc7a077dfa38833f0a7b091c870045fd9949e6717fbea3135969c5f618
MD5 ed666c1c4dacbea48bb07f5e8f1b3a58
BLAKE2b-256 90821f977479efcd937882a6a7d7351055616f935cd79806576c74dd019a4524

See more details on using hashes here.

File details

Details for the file air_formatter-0.9.0-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: air_formatter-0.9.0-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for air_formatter-0.9.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11a242e321073f0c38d8a253b57a059119087fa3211f7c7139160f733a540511
MD5 98e0e9715ba3ae7725e96674c5a45a96
BLAKE2b-256 c161a0abd6265c49e4231a36cfbcd15095689db76e607ce2a22cc9be122c8692

See more details on using hashes here.

File details

Details for the file air_formatter-0.9.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: air_formatter-0.9.0-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for air_formatter-0.9.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1df151a9f836796b11fc8044adf262c5eafeea4880778ac386b36e820e71819b
MD5 763742b49c90793c5c541f8f2db02faf
BLAKE2b-256 ae8657c9ab9256037523032e25120dd0fe1bbc807ca73b05cf4585a0b0b6931e

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