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.22.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.22-cp310-abi3-win_arm64.whl (782.8 kB view details)

Uploaded CPython 3.10+Windows ARM64

beancount_format-0.1.22-cp310-abi3-win_amd64.whl (862.8 kB view details)

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.22-cp310-abi3-manylinux_2_28_x86_64.whl (948.0 kB view details)

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

beancount_format-0.1.22-cp310-abi3-manylinux_2_28_aarch64.whl (873.4 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

beancount_format-0.1.22-cp310-abi3-macosx_11_0_arm64.whl (816.6 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.22-cp310-abi3-macosx_10_12_x86_64.whl (922.4 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: beancount_format-0.1.22.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.22.tar.gz
Algorithm Hash digest
SHA256 5c60f06760f5814c8a69ed1d5611fa67f564f9c87cef3d09b50c069b8dc19194
MD5 839de9f9bf0d096da1bf42193043a5e9
BLAKE2b-256 ed220492e7e9650967f3a92ebf7780e3f09673c0c05afaa455925e5b098d201b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.22-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f9cf352541bda753f423bd85e2ed9cc1e6a691bb01abfa13c2e811ed5fdee2b6
MD5 b927c6af7718c0276a55d43f634611e0
BLAKE2b-256 cb01dfbe26242d4acd19ab7b26b350becd61d7dde29b9ea07f21983397885fad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.22-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0a99599b5eebcdebd3e0ddfbb4044edaec0112f9786c88df77b74dfb2242a600
MD5 ec3ed0466f1d020d86c3580b93f5d7ce
BLAKE2b-256 727309652743124d88c23dd89bcc8c93ec26d4685406e6483659c2b6c8252c22

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.22-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 17a496993259944526e422436c68d3ada4d2b819485b95e8d5bccdb642a87c41
MD5 b8b4d3303435813d0762a5710342e613
BLAKE2b-256 16cc9f8b97791e20abc3400ef054b72f245d258d92fce6c83d940f1e12e98190

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.22-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c75d8e3b593ce2a6ae82e76d88854842551af6b7e99f2386a612dffcc1a78f32
MD5 afc85bdb75dbe543108039cd8e0418d9
BLAKE2b-256 5592ddc9d48ae8c85ccdc4f43411486d1c001332b687025ecf9e7cb329c6e8f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.22-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9e18722d3d10d6b5edb17a7599c2cf3c6ed2562a81dcc207fcd2e39a1f6bb54
MD5 ccba1fb3789106f2ef6d5d96a6cc03ca
BLAKE2b-256 3ed48251e27b97b6509bbb5faf62c08cc0f6ce4c2a5cc479b25609b96e7d268d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.22-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bba0edbc03d6df5378e3e759c29a9d55da06cf91cbe4035dbcfd40e9d69c4725
MD5 86dd11d7e5eadf8e23df440b94fda74d
BLAKE2b-256 6d7da4ab92eedfcb668c968360e50355310febed560e3473562bd652b86e80df

See more details on using hashes here.

Provenance

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