Skip to main content

Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C++/CLI, Objective‑C, C# and Java programming languages

Project description

Astyle Python distribution

pre-commit.ci status github/workflow

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

pypi/status pypi/v pypi/downloads pypi/format pypi/implementation pypi/pyversions

This project packages the astyle utility as a Python package.

Install

pip install astyle

Installing is not needed for pre-commit.

Usage

shell

astyle --help
# or
python -m astyle --help

python

from astyle import astyle

astyle("--help")

pre-commit

.pre-commit-config.yaml:

repos:
  - repo: https://github.com/Freed-Wu/mirrors-astyle
    rev: 3.4.8
    hooks:
      - id: astyle
pre-commit install
git commit

Please use https://github.com/Freed-Wu/mirrors-astyle, it uses binary wheel and will be faster than this repository which uses source code.

Similar Projects

pre-commit hooks

Python distributions

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

astyle-3.4.8.tar.gz (19.9 kB view hashes)

Uploaded Source

Built Distributions

astyle-3.4.8-pp310-pypy310_pp73-win_amd64.whl (216.3 kB view hashes)

Uploaded PyPy Windows x86-64

astyle-3.4.8-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

astyle-3.4.8-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

astyle-3.4.8-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

astyle-3.4.8-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

astyle-3.4.8-pp39-pypy39_pp73-win_amd64.whl (216.3 kB view hashes)

Uploaded PyPy Windows x86-64

astyle-3.4.8-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

astyle-3.4.8-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

astyle-3.4.8-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

astyle-3.4.8-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

astyle-3.4.8-pp38-pypy38_pp73-win_amd64.whl (216.3 kB view hashes)

Uploaded PyPy Windows x86-64

astyle-3.4.8-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

astyle-3.4.8-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

astyle-3.4.8-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

astyle-3.4.8-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

astyle-3.4.8-pp37-pypy37_pp73-win_amd64.whl (216.2 kB view hashes)

Uploaded PyPy Windows x86-64

astyle-3.4.8-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

astyle-3.4.8-pp37-pypy37_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

astyle-3.4.8-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

astyle-3.4.8-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

astyle-3.4.8-cp311-cp311-win_arm64.whl (216.2 kB view hashes)

Uploaded CPython 3.11 Windows ARM64

astyle-3.4.8-cp311-cp311-win_amd64.whl (216.2 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

astyle-3.4.8-cp311-cp311-win32.whl (216.2 kB view hashes)

Uploaded CPython 3.11 Windows x86

astyle-3.4.8-cp311-cp311-musllinux_1_1_x86_64.whl (758.2 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

astyle-3.4.8-cp311-cp311-musllinux_1_1_s390x.whl (808.0 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ s390x

astyle-3.4.8-cp311-cp311-musllinux_1_1_ppc64le.whl (809.3 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ppc64le

astyle-3.4.8-cp311-cp311-musllinux_1_1_i686.whl (828.6 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

astyle-3.4.8-cp311-cp311-musllinux_1_1_aarch64.whl (737.3 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

astyle-3.4.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

astyle-3.4.8-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl (233.1 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ s390x

astyle-3.4.8-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (252.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

astyle-3.4.8-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

astyle-3.4.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.1 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

astyle-3.4.8-cp311-cp311-macosx_11_0_arm64.whl (223.1 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

astyle-3.4.8-cp311-cp311-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

astyle-3.4.8-cp311-cp311-macosx_10_9_universal2.whl (222.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

astyle-3.4.8-cp310-cp310-win_arm64.whl (216.2 kB view hashes)

Uploaded CPython 3.10 Windows ARM64

astyle-3.4.8-cp310-cp310-win_amd64.whl (216.2 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

astyle-3.4.8-cp310-cp310-win32.whl (216.2 kB view hashes)

Uploaded CPython 3.10 Windows x86

astyle-3.4.8-cp310-cp310-musllinux_1_1_x86_64.whl (758.2 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

astyle-3.4.8-cp310-cp310-musllinux_1_1_s390x.whl (808.0 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ s390x

astyle-3.4.8-cp310-cp310-musllinux_1_1_ppc64le.whl (809.3 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ppc64le

astyle-3.4.8-cp310-cp310-musllinux_1_1_i686.whl (828.6 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

astyle-3.4.8-cp310-cp310-musllinux_1_1_aarch64.whl (737.3 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

astyle-3.4.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

astyle-3.4.8-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (233.1 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

astyle-3.4.8-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (252.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

astyle-3.4.8-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

astyle-3.4.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.0 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

astyle-3.4.8-cp310-cp310-macosx_11_0_arm64.whl (223.1 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

astyle-3.4.8-cp310-cp310-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

astyle-3.4.8-cp310-cp310-macosx_10_9_universal2.whl (222.9 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

astyle-3.4.8-cp39-cp39-win_arm64.whl (216.2 kB view hashes)

Uploaded CPython 3.9 Windows ARM64

astyle-3.4.8-cp39-cp39-win_amd64.whl (216.2 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

astyle-3.4.8-cp39-cp39-win32.whl (216.2 kB view hashes)

Uploaded CPython 3.9 Windows x86

astyle-3.4.8-cp39-cp39-musllinux_1_1_x86_64.whl (758.2 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

astyle-3.4.8-cp39-cp39-musllinux_1_1_s390x.whl (808.0 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ s390x

astyle-3.4.8-cp39-cp39-musllinux_1_1_ppc64le.whl (809.3 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ppc64le

astyle-3.4.8-cp39-cp39-musllinux_1_1_i686.whl (828.6 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

astyle-3.4.8-cp39-cp39-musllinux_1_1_aarch64.whl (737.3 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

astyle-3.4.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.6 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

astyle-3.4.8-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (233.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

astyle-3.4.8-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (252.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

astyle-3.4.8-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

astyle-3.4.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.0 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

astyle-3.4.8-cp39-cp39-macosx_11_0_arm64.whl (223.1 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

astyle-3.4.8-cp39-cp39-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

astyle-3.4.8-cp39-cp39-macosx_10_9_universal2.whl (222.9 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

astyle-3.4.8-cp38-cp38-win_amd64.whl (216.2 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

astyle-3.4.8-cp38-cp38-win32.whl (216.2 kB view hashes)

Uploaded CPython 3.8 Windows x86

astyle-3.4.8-cp38-cp38-musllinux_1_1_x86_64.whl (758.2 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

astyle-3.4.8-cp38-cp38-musllinux_1_1_s390x.whl (808.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ s390x

astyle-3.4.8-cp38-cp38-musllinux_1_1_ppc64le.whl (809.3 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ppc64le

astyle-3.4.8-cp38-cp38-musllinux_1_1_i686.whl (828.6 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

astyle-3.4.8-cp38-cp38-musllinux_1_1_aarch64.whl (737.3 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

astyle-3.4.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.6 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

astyle-3.4.8-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (233.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ s390x

astyle-3.4.8-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (252.2 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

astyle-3.4.8-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

astyle-3.4.8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.0 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

astyle-3.4.8-cp38-cp38-macosx_11_0_arm64.whl (223.1 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

astyle-3.4.8-cp38-cp38-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

astyle-3.4.8-cp38-cp38-macosx_10_9_universal2.whl (222.9 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64)

astyle-3.4.8-cp37-cp37m-win_amd64.whl (216.2 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

astyle-3.4.8-cp37-cp37m-win32.whl (216.2 kB view hashes)

Uploaded CPython 3.7m Windows x86

astyle-3.4.8-cp37-cp37m-musllinux_1_1_x86_64.whl (758.2 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

astyle-3.4.8-cp37-cp37m-musllinux_1_1_s390x.whl (807.9 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ s390x

astyle-3.4.8-cp37-cp37m-musllinux_1_1_ppc64le.whl (809.2 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ppc64le

astyle-3.4.8-cp37-cp37m-musllinux_1_1_i686.whl (828.5 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

astyle-3.4.8-cp37-cp37m-musllinux_1_1_aarch64.whl (737.2 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ARM64

astyle-3.4.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (229.5 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

astyle-3.4.8-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl (233.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ s390x

astyle-3.4.8-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (252.1 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ppc64le

astyle-3.4.8-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl (244.4 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686

astyle-3.4.8-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (229.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

astyle-3.4.8-cp37-cp37m-macosx_10_9_x86_64.whl (222.9 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

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