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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

beancount_format-0.1.21-cp310-abi3-manylinux_2_28_x86_64.whl (616.5 kB view details)

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

beancount_format-0.1.21-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.21-cp310-abi3-macosx_11_0_arm64.whl (551.6 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

beancount_format-0.1.21-cp310-abi3-macosx_10_12_x86_64.whl (591.9 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: beancount_format-0.1.21.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.21.tar.gz
Algorithm Hash digest
SHA256 f982e77b5c62f627e0146b94e192083ed61f69f576a0d9c1c4eaa19d16adbe40
MD5 40e7545ba6fb67a0dd748a36a2fee916
BLAKE2b-256 51941d95ceee9df080ad165394b93fff7e44e5e83efd7d5a2eb75c885f108aed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.21-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f30da4f304591b5f0556ab3c7f2003dcbc1eab7d3fc40737d772106d5dbcc7c8
MD5 a2347275d63b94c678825a87671c979b
BLAKE2b-256 c55aafab06f24f5e1338bcd06a11b7859c35a8ee978cb22f154e11fbed35ae31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.21-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 67a8c234145889aeb76d3142f0a706ae9a9cfecfcee52b9a52431283e00efd33
MD5 7378180f38fc022eda60000f0f573c26
BLAKE2b-256 eb8d6bbe1d3bcc89fea78b7b225cd397bedc6c62be34e650709ef5c46451bc43

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.21-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f8a7963d727839db671540034f3c2ff09c9773d947e0355fa4647113cbcc76ee
MD5 9bc5be2554ee4e96008458fd82f385b1
BLAKE2b-256 e4f725a664576e476a911842ab939f050478890a0767c5139b921cd78b3edc12

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.21-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fdee1a3eb731723dc4ab4faa2bd4cd525cd892254ddee149c4bc77534b7a670b
MD5 c4923f95cd3e3d2e5622b400a9f6bc32
BLAKE2b-256 c94d0094e1ba7601da5b4f9606b8d8b084e4bd4f655402096b34e1c87be09ac9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.21-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f92ed30e1807569b371d0d1335b665c920a312c06006c5c2ae1aedbaa72697a3
MD5 5c7fd3097308ee76e49b084e74d84fea
BLAKE2b-256 63dd1f39882ba89d577f9a371ddd3eeb249098f262b170c863384b149a7dd2ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for beancount_format-0.1.21-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b79b2356d0582db3cf648be3f76516914d615448b771e9112e3a3ee02d1de5a9
MD5 6a521d12406bf0c693c31872a33e139e
BLAKE2b-256 02a15a90b4f33ca532516b7d1a4ec2e2ab7c87a092b90769bb37d24083d7ccf2

See more details on using hashes here.

Provenance

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