Skip to main content

Utility for small-scale Finnish double-ledger bookkeeping

Project description

Bookkeeper

Introduction

This is a simple double-ledger bookkeeping tool for a small business, operated from the command line.

Installation

pip install pybookkeeper

Usage

Create a directory for your ledger, and run bookkeeper from there. Your directory should contain ledger-defs.txt, which defines your ledger map, and the outline of the generated statements.

The transactions for accounts are stored in data-YYYY-MM.txt files.

For example, for year 2025, you would have:

  • directory 2025
  • file 2025/ledger-defs.txt
  • files 2025/data-2025-01.txt, 2025/data-2025-02.txt, etc.

Running

bookkeeper 2025 

will generate in directory output/, which is created if it does not exist, the files general-ledger.txt, statement.txt and journal.txt.

You can change the output directory with --output-directory, as follows

bookkeeper 2025 --output-directory 2025-books

Release process

  • Update version in pyproject.toml
  • Update ChangeLog
  • Run tests with tox
  • Tag release

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

pybookkeeper-0.11.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybookkeeper-0.11.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file pybookkeeper-0.11.0.tar.gz.

File metadata

  • Download URL: pybookkeeper-0.11.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pybookkeeper-0.11.0.tar.gz
Algorithm Hash digest
SHA256 13cac7db948dc0251a7de68aa17caddc36ca681c31f875cf14ef17b9bc1c2d3b
MD5 0dd5c419067fe8aafb380a03b84b4fe1
BLAKE2b-256 3c9d1ce2fe59293350ce4b54d168ba109636ff02bd4680721d15277c6d68181b

See more details on using hashes here.

File details

Details for the file pybookkeeper-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: pybookkeeper-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pybookkeeper-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36bc08c9aa0b508e84cbdd65f3e820a352a0fde05cdd080763d207a9aa39a70d
MD5 9f721d3d7545314a646a7d90b2e6f071
BLAKE2b-256 6298c660445aa0f797c3c2b62ee295ff61d8d91db39f8fbca3aad0046c665e38

See more details on using hashes here.

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