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

Uploaded CPython 3.10+Windows ARM64

beancount_format-0.1.20-cp310-abi3-win_amd64.whl (524.1 kB view details)

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.20-cp310-abi3-manylinux_2_28_x86_64.whl (616.3 kB view details)

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

beancount_format-0.1.20-cp310-abi3-manylinux_2_28_aarch64.whl (586.7 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

beancount_format-0.1.20-cp310-abi3-macosx_11_0_arm64.whl (551.6 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.20-cp310-abi3-macosx_10_12_x86_64.whl (591.6 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: beancount_format-0.1.20.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.20.tar.gz
Algorithm Hash digest
SHA256 3602e101ba7707ccdf26d58ed8c76d39f781b3fad0516f17bd9632caece5856c
MD5 01ec3988d59c6ce2155724a9e1e522ff
BLAKE2b-256 ad8bc6e00f7dac3aec2321a3c39d1a7f12cfcba62421236d822dd2da7842e57c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.20-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a2f8a110cec966b99d7d2d4cdf70fc5cee6887de273f5ac603a028dd94524dd2
MD5 8650aca0b6e1f9ab1d1721a13a74cbed
BLAKE2b-256 6370d256a1f467389df623d1870399ffa6053097095e0e2bb8f532204b8ecbea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.20-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c624ef640abcc29e8df0af510b357c062f67df9aba3040194f200fa3e68d36b9
MD5 646b15e982eae234a31ab7e83cab77ef
BLAKE2b-256 437606dca8b8252f92497211e4142d093a910a9701987a0b500e253f1c7527d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.20-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa02656f71eab45dd15bc081cc07c5e92af4457766fb4d70ea742433d5e5e4f3
MD5 63e0eff140c04437dd811d25de52fe5b
BLAKE2b-256 f89fdfcdfea524c7ef800889162244bd65ea81f073eb519de1dda0c8ab61711d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.20-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ed179c9dce566870d30924fed4a66e4b207498596cd98434f89234f99edb314c
MD5 acacd5e0ac3ca19f0c7c92733c138df5
BLAKE2b-256 d38d77efd2b5a0dfc3811c34a623bdb99d42bbdbbc571de26d778b6da55f454b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.20-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57374be7572e74f96d11649256aef2d515aaface9063853278f3bab4b4756ad1
MD5 5fd0297625a546b96fac01bb963c6a5b
BLAKE2b-256 9316a6af0e52940d48137466f16b59885d13f08af00abcadeecf228b57170599

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.20-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 024de85bc627d6ce220a5db1bb0225a80f6bb4aa87723d993b376dca84c090fe
MD5 28656abfbfaead66ad3c8788ed61e3bd
BLAKE2b-256 4360e24dd08bbc66ef7eeb8eeccf6f2040f6ba681469fc45b67828dd170d1ff9

See more details on using hashes here.

Provenance

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