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.25.tar.gz (26.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.25-cp310-abi3-win_arm64.whl (787.7 kB view details)

Uploaded CPython 3.10+Windows ARM64

beancount_format-0.1.25-cp310-abi3-win_amd64.whl (867.2 kB view details)

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.25-cp310-abi3-manylinux_2_28_x86_64.whl (958.0 kB view details)

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

beancount_format-0.1.25-cp310-abi3-manylinux_2_28_aarch64.whl (877.4 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

beancount_format-0.1.25-cp310-abi3-macosx_11_0_arm64.whl (820.3 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.25-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.25.tar.gz.

File metadata

  • Download URL: beancount_format-0.1.25.tar.gz
  • Upload date:
  • Size: 26.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.25.tar.gz
Algorithm Hash digest
SHA256 6de13996d565b6114ff0351328299142926e037bf4371154a479f1a240681723
MD5 0d31565359ae8f9156ef9ed9003dd91b
BLAKE2b-256 c470904c8505ffd581d56f922258c1416dbc5ba7c20e60b1c61915e6a1c1af05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.25-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9f78c9727a8e01848a0e273f91fc80ea17d4b53c6d2331eadd5619a0167147b8
MD5 c18c3580462cb3eb14c54eaae5a5b90f
BLAKE2b-256 c0dc4aa3289ed5dcc61725ec6ec87874ce58bd9d6e1c6c2f9268bc5ab12e1ac0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.25-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6dbff4ff287d4024836ecf5737ce5a15a52317f7ddd792fbe176c7f9265f5ed3
MD5 55c06eb6ebf899bdfac6c2938eb911a8
BLAKE2b-256 3a839e72979eb036f242aa53f8b721803ac7cfa5ccfd39e463d24385217d9f67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.25-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 965e4133aa9e8f714e195fef9d833554cced025e1e3013ae8492d03a109995b2
MD5 e109bec2d6b9b88f7ea6684db03f4fc5
BLAKE2b-256 88c7c12f9ed107d84b33fcbf2ff6844acceeeedbcce693e2147ca8222b69d8aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.25-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bb685efd68df409d90182d3405d074a4abe3153c2e72a01dd3c8c68c517663a4
MD5 e075cab51e6a376960fea17a438f909a
BLAKE2b-256 7d57e0ed8943c0769552857ae8ab06337e8934771e64ef2d301a9fc75314cf82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.25-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 150e8e98d4b80173b2e2c7637ab85fa1e962f37ff21047e02b2a7dc6366e1c91
MD5 be12bd34f229e0dacd5da522525d6865
BLAKE2b-256 3832f82d024f062d6102e3e468e89c708b65b804fda6187b84fbce6fabd5eaa8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.25-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 646990f3c6a1dc01a6ff7964714f7fdf5de822b0dc5b55421e86d23e6d3363d1
MD5 eb107abae171d7838ec77191056eab34
BLAKE2b-256 9abf7ab05f45b7839260ccf2392ed972c21bd405e8decf9d1998b8b3935678a7

See more details on using hashes here.

Provenance

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