A set of CLI tools for computing Income Tax and National Insurance contributions for the UK tax system.
Project description
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:
`bash pip install taxman `
Building from source
If you wish to build and install Taxman from source, following these steps:
Clone the repository:
`bash git clone git@github.com:robinmitra/taxman.git `
2. 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):
`bash pipenv install --dev `
Activate the virtual environment created by Pipenv:
`bash pipenv shell `
Run tests to ensure everything is setup correctly:
`bash make test `
Install the package:
`bash 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:
`bash taxman --employment-income 85000 --personal-allowance 11850 `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file taxman-0.2.0.tar.gz.
File metadata
- Download URL: taxman-0.2.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f532256e3411466c304d0672f9ea586fcbd1cadb68cedf7187a58ea7f4761b28
|
|
| MD5 |
bc23609f43dea39b6af7a2eadf42210f
|
|
| BLAKE2b-256 |
d28f10ecca6f8a79db469034b1e0e9faf55e31d9bbe55c37a3cc6bd5f0a4c0bd
|