Skip to content

robinmitra/taxman

Repository files navigation

Tax Tools

Taxman provides a set of tools for computing Income Tax and National Insurance contributions for the UK tax system.

It currently supports calculating Income Tax and National Insurance contributions (for both employer and employee), and deducting these to return the net income.

At the moment, it can only calculate these for the tax year 2018-19, but support for configuring it to calculate for any tax year will be added soon.

Requirements

The current version of Taxman has been tested to work on Python 3.6. Although it may work on other versions, it is recommended to use this version in case you encounter any problems.

Installation

The easiest way to install Taxman is to use pip:

pip install taxman

Building from source

If you wish to build and install Taxman from source, following these steps:

  1. Clone the repository:
git clone git@github.com:robinmitra/taxman.git
  1. Install Pipenv if it isn't already, as this project uses it to help manage dependencies. Once you have Pipenv, install all dependencies (including dev):
pipenv install --dev
  1. Activate the virtual environment created by Pipenv:
pipenv shell
  1. Run tests to ensure everything is setup correctly:
make test
  1. Install the package:
python setup.py install

Usage

Run the following to print Income Tax and National Insurance contributions, along with the net income, for a given salary and personal allowance:

taxman calculate --employment-income 85000 --personal-allowance 11850

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages