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.23.tar.gz (26.3 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.23-cp310-abi3-win_arm64.whl (787.9 kB view details)

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.23-cp310-abi3-manylinux_2_28_x86_64.whl (958.1 kB view details)

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

beancount_format-0.1.23-cp310-abi3-manylinux_2_28_aarch64.whl (877.2 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.23-cp310-abi3-macosx_10_12_x86_64.whl (926.4 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: beancount_format-0.1.23.tar.gz
  • Upload date:
  • Size: 26.3 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.23.tar.gz
Algorithm Hash digest
SHA256 ffb177868d6430a4c6e4f0b214db83e2fbb294c64c0a35bbbbd8948759827836
MD5 809b3b28519bb824a7661e47dbfdaf56
BLAKE2b-256 be2a4367b7ecacb682bc4ab67cc5bbaa9e709e5f9086d21721a65389621d87b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.23.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.23-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.23-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 bfd04483cda96bb2d3464b0d59ea690994151582a604ed7c4f647912265e931c
MD5 7c81bcff71fffc620d7462ef38826b66
BLAKE2b-256 10309bf151e030d405691c090f85bfcc2b0ca96192ef1747e8eab54a219ff6ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.23-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.23-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.23-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 adbbd6b7bebf637a66e23db9c8452d2f5971c32393f52242565ea6c70421b826
MD5 1867f8d4e6fb0e043676a6e2f4e7a492
BLAKE2b-256 76386952b53652780e7bbf924ef34443e9e2c910a26c5c484e57ccb30469a21b

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.23-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.23-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.23-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0c118bd95e42ed8e03a5fc5bf3172c8923f01454d5d3d7f22c06386f58b09ccf
MD5 5667611d25a6a2408d7158d4d762cafe
BLAKE2b-256 0caaa74df403d51c90f07199290e8a401ce390ad5619ee1de2f87eb6ad6d2135

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.23-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.23-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.23-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c56afe211b737328c4067965f2f1f87fd34e7970c2d37546af924c1ab7ce8a19
MD5 69fb7e624d66f7ec2458ff26058c5f19
BLAKE2b-256 d33446a08b780799c20f9268215d93f268a4cf71efb8d326ae6b2e9dba081599

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.23-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.23-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.23-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 268821eeda277d3d84447216244adccd4a8207c94dfe763f650f2bc561d1d19c
MD5 2b16d745291a2e7a29a774f6c4836c7b
BLAKE2b-256 c6216bb918b8a752a86ef60df576709ee63dcec24cbb36eadb776159f220e72b

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.23-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.23-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for beancount_format-0.1.23-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 028ae351f63157b01eedacfd30ee276795b97a8dc485d99adeaaa480acef36cd
MD5 b570d0d3001b908ce3f45bcfd25150d5
BLAKE2b-256 52526893bb0839a975db058ae189eec7c00973a9b9485b5207514c7c652a9afa

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_format-0.1.23-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