Skip to main content

This is an experimental package, allowing the calculation of income tax rates in Germany (useful for freelancers, since they usually pay tax once per year only, resulting in a substantial amount owed).

The package is fairly incomplete, but can be used as a starting point; bug reports, feedback and pull requests are very welcome.

CLI

While being usable as a library, the package comes with an optional CLI. To use it, the click package must be installed as well:

$ detax --help
Usage: detax [OPTIONS] INCOME

Options:
  -y, --year INTEGER          Tax year
  -c, --church-tax [rk|ev]
  -s, --state TEXT
  -p, --perc / -P, --no-perc  Show total tax percentage
  --help                      Show this message and exit.

An example calculation for Baden-Württemberg:

$ detax -y 2017 -c rk -s BW 50000
Steuerjahr: 2017
Bundesland: BW
Einkommen: 50000.0 €
Anz. Kinder: 0
Steuerklasse: 1
Kirchensteuer: katholisch, 8.00 %, capped at 3.50 % total income

   12636.00 €    Einkommenssteuer
     694.98 €    Solidaritätszuschlag
    1010.88 €    Kirchensteuer
-------------
   14341.86 €    Gesamt
Tax percentage: 28.7%

Metadata

Release files for detax 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for detax 0.1
File Size Uploaded
detax-0.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for detax 0.1
File Interpreter ABI Platform
detax-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / detax-0.1.tar.gz

Download URL detax-0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b805222ca0db30b935c1f659ed17e7010bc1d95461358eaa16ad5bf1cbc547d3
BLAKE2b-256 checksum
How to use checksums
aa2f8a29f6d96a38702bd0799ebf5c08a16b5de46a482810eaf70279c39155e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / detax-0.1-py3-none-any.whl

Download URL detax-0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cd4b2dd4a5da06663b235de6c2a6ee8dc8e5d7fe0462521fb5cc1308cf1a969
BLAKE2b-256 checksum
How to use checksums
9fab58cff93f203b593b3456bc5e2b2b33a1764d606fd446b4d6b81ba05852db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page