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.17.tar.gz (25.7 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.17-cp310-abi3-win_amd64.whl (523.8 kB view details)

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.17-cp310-abi3-manylinux_2_28_x86_64.whl (616.1 kB view details)

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

beancount_format-0.1.17-cp310-abi3-manylinux_2_28_aarch64.whl (586.8 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

beancount_format-0.1.17-cp310-abi3-macosx_11_0_arm64.whl (551.5 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.17-cp310-abi3-macosx_10_12_x86_64.whl (591.5 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: beancount_format-0.1.17.tar.gz
  • Upload date:
  • Size: 25.7 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.17.tar.gz
Algorithm Hash digest
SHA256 50cfb962ecf2b031dcb8156a6d89edb974ee71a679acc716d9c138c42d9f34c1
MD5 fff26b64a0bd7f902d0451602075cc87
BLAKE2b-256 f86ae18d5787410f0a116da9244d974ba1948c4745c0f25adc9e68ab7ea6bc9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.17-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 503445602b5a3f817b65ac8906c050698774965844dd8fa61a7374d52b00bd4e
MD5 6294dcda0b4a57b11c3d46165637273b
BLAKE2b-256 07b8ed6b7c5c222e356a0e912fa7e7a8fcc735db34d9925a185996790c321e35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.17-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d373177546c2a310b66689ec5eb315371a49e32a22f8af109720081d340a074b
MD5 c06904dbd6a1eb98ed8fa31303b155aa
BLAKE2b-256 1291661a22d1d3b5834f91c94b6b002b4ec14edd7beb6114d590b1cb7e83c6eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.17-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b3b080ddc30a95788253abbc34ff51c98475a41268b5950d56a6953b0e9430c3
MD5 58f4549ade91771b695e575cac496e5d
BLAKE2b-256 f3e9dffa4edcadd6ea707b02560089561dc44f2f9349d41b60d1428a50c7ca8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.17-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe6a284c5a99cc4180b90dd6cdabf9bcc0192356bb051a178db212a0e21fd7d2
MD5 2acbb512d81fd05ba38966c3a1461f62
BLAKE2b-256 9dd339ffcea6a7ef475c42afa1f94591ea1b85b95f623db2da56ff819a1a5a3a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.17-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 716fd354c2f08a0412b1fb9657f6c4878695f03d48ea1b791b1aed1467163a4e
MD5 e463933f91d772bdc5458a12279c42c7
BLAKE2b-256 cad654ee0f42569be51ed5e4af383a80b10a7751128ce1b7ce8c8cfcfdbf00b4

See more details on using hashes here.

Provenance

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