Skip to main content

Beancount formatter powered by dprint-plugin-beancount

Project description

beancount-format

beancount formatter.

Install

pip install beancount-format

Usage

as CLI

beancount-format ./

as library

from bean_format import format_text

source = "2010-01-01 open Assets:Cash\n"
formatted = format_text(source)
print(formatted)

# Override formatter options
formatted = format_text(
    source,
    path="ledger.beancount",  # defaults to "<memory>"
    line_width=88,
    indent_width=2,
    new_line="lf",  # "lf" or "crlf"
)
print(formatted)

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

beancount_format-0.1.24.tar.gz (26.5 kB view details)

Uploaded Source

Built Distributions

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

beancount_format-0.1.24-cp310-abi3-win_arm64.whl (787.7 kB view details)

Uploaded CPython 3.10+Windows ARM64

beancount_format-0.1.24-cp310-abi3-win_amd64.whl (867.1 kB view details)

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.24-cp310-abi3-manylinux_2_28_x86_64.whl (957.8 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

beancount_format-0.1.24-cp310-abi3-manylinux_2_28_aarch64.whl (877.3 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

beancount_format-0.1.24-cp310-abi3-macosx_11_0_arm64.whl (820.1 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.24-cp310-abi3-macosx_10_12_x86_64.whl (926.3 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file beancount_format-0.1.24.tar.gz.

File metadata

  • Download URL: beancount_format-0.1.24.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for beancount_format-0.1.24.tar.gz
Algorithm Hash digest
SHA256 9526dc9062f6d722e25c2e716852d421dd27bb3ac9ff785c40f086237598ce34
MD5 90b76054620784b316cf823ce56ce900
BLAKE2b-256 78748fe7c76a425416ced6263cef858e1daba1b5729b3a7ea2df587467f4da67

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.24.tar.gz:

Publisher: release.yaml on trim21/beancount-format

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beancount_format-0.1.24-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.24-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 4143fe6b998521af9d73eddf61d836c5094c5668c68de7caa94ca3bb00b7ed08
MD5 f5be0504046a469cb89995baed4c597f
BLAKE2b-256 43587238d0e011016b9c730e2de5e1555ca84bf23f3b8931e46c4ee8dcba7b38

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.24-cp310-abi3-win_arm64.whl:

Publisher: release.yaml on trim21/beancount-format

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beancount_format-0.1.24-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.24-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f226c163287429caa2ab849f72a7c612ca97fecb63663ed80e6a123173d1fd67
MD5 59634059b167c509cbf32edf1eb28ecc
BLAKE2b-256 fb7e08d49b276fa2dc3c966de44f3715abc13c2ab36508625cc54e49c78dd27f

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.24-cp310-abi3-win_amd64.whl:

Publisher: release.yaml on trim21/beancount-format

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beancount_format-0.1.24-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.24-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f6e4f498c18dc26f7e8ff1d91d034eda833d6f1d0e154d3e7f06b88cf0125e6
MD5 1d3888fa4223d58e122d00062501190f
BLAKE2b-256 e67b98c35a7ce4a6857827af6b399d5f763c9c86a2770d0f49aeec260f6b8e8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.24-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: release.yaml on trim21/beancount-format

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beancount_format-0.1.24-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.24-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4525bc4ea656bea6181a4c33b1cbbcda54a6bf970dac0543e385dd36f3f7c64e
MD5 ff9c85d24453d917be4f9ffa09f51e81
BLAKE2b-256 443829441f0753921f979489ae393ba0d5c2fe7a9613f20ddb18ddc8254831e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.24-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: release.yaml on trim21/beancount-format

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beancount_format-0.1.24-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.24-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 289eef1fb97243b11f69c679bea636f26f6220633c9b24acfecff9c199445041
MD5 1288a9f51989dc730070d4e0221ea843
BLAKE2b-256 2e54ca3f6576a667784584291abaf876f4d21f3593dfb33782dac3c911461c2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.24-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yaml on trim21/beancount-format

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beancount_format-0.1.24-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.24-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 44fbd67308bd96506ce76e6aeba8da3567a1122bed5474ca448480eea72dddaa
MD5 052275cc8f5d9075e3e57315ff32da47
BLAKE2b-256 0e902d2598d9397dad14a3e8fcfb44fd499fe775345644b535615203f741f308

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.24-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yaml on trim21/beancount-format

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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