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.18.tar.gz (32.4 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.18-cp310-abi3-win_amd64.whl (523.7 kB view details)

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.18-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.18-cp310-abi3-manylinux_2_28_aarch64.whl (586.6 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.18-cp310-abi3-macosx_10_12_x86_64.whl (591.4 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: beancount_format-0.1.18.tar.gz
  • Upload date:
  • Size: 32.4 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.18.tar.gz
Algorithm Hash digest
SHA256 2529364883dcae6883284d89c2a0545ae972ff0a1756fcb4656a211fb8b0164a
MD5 3d95ac17eeb2766b2e67085277e5cc51
BLAKE2b-256 44985e03be271221eefabcadb63c08f3506c1f689cf133fb6006a1861bf775ee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.18-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0f8e90ddac79326366a3170b242d83ad567043cd223ecb9a300888908e8cf7d0
MD5 1a06a085f6aa7770dffcfc6440368557
BLAKE2b-256 2b9ef5e02acd6a140d8b13b576fcfc3f180608845593aa21518ab379392ca432

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.18-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b4c1e9b3a9cae351693c1256e97246b60cf676a8de8eca719412630fb8ca7309
MD5 10c1930985997a48c2b4b65672dfe43a
BLAKE2b-256 d9517b307b25afa3dc1c75a7d974ac19fb947c2f56c96b66d5d083d0684e5d9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.18-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 625e662111a93a121b80749d362b5d5d92bbf21dd0ad83898d8314fb34993fa4
MD5 fcb5857bcbea1350ddcea58a2a898be0
BLAKE2b-256 3dcc424dae0f2aeeac0889e2e08b8c7e869b9cdb884f3aa98c06b39f6688bbbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.18-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 63ab289db8f946a3b1de77aca07a1feaf831e7a6e2ce7cdffa44b02844c8cd73
MD5 53a0dc8c9a8c15f86f3d7b3e74cd223a
BLAKE2b-256 ed0e05c9ba998fa051bfb67ec77c25521fced36976b66848f462c89859546662

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.18-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a0d0ed1c04f20ca653b31a8399aa1b966412bfe0fb48e750a0a7dbb2e0a5827b
MD5 9bac3659c79abc5088afe7e3d110aac7
BLAKE2b-256 609d1c87e050900da15152ce41a71034e23591067333a792398fd6a51291e44c

See more details on using hashes here.

Provenance

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