semvec/pypi-packages huggingface dataset:
basic-calcs 0.0.3
python library for basic calculations.
Requires Python: >=3
Keywords: math, add, subtract, multiply, divide

# basic_calcs 0.0.3

`basic_calcs` is a python library for basic calculations. It has no dependencies, just the standard library. It can run on almost any OS or python version.

> [!WARNING]
> `basic_calcs` is still in alpha and has many missing features. 

## Installation 

Install using this command:
```sh
pip install basic_calcs
```

## Build from source

To build from source, first fork this repository and clone it. Then, install the developer dependencies:
```sh
pip install build setuptools
```
It is recommended to run this in a virtual environment. Then, to install it, run `pip install .`

> [!NOTE]
> While developing, you might need to build it multiple times. For that, instead of `pip install .`, run `pip install -e .`. This installs 
> `basic_calcs` in editable mode, meaning that you don't have to install it every time and it will automatically update when you edit a file.

## Usage

Usage is very simple. Currently, there are only a few functions. Their usage is as follows:
```py
from basic_calcs import *

add([10, 5])
# 15. add all the numbers you want to add in the list

subtract([10, 5])
# 5. add all the numbers you want to subtract in the list

multiply([10, 5])
# 50. add all the numbers you want to multiply in the list

divide(10, 5)
# 2

floor(10, 4)
# usually this would be 2.5 but in floor its rounded to 3

power(10, 2)
# 100

root(9, 2)
# 3

area_triangle(10, 2)
# 10

area_quad(10, 2)
# 20

area_circle(5)
# if radius is 5 then area is 78.57

area_polygon(2, 4)
# 4
```
Every function also has a `verbose` parameter which provides a more verbose answer. it defaults to `False`. Use it as follows:
```py
from basic_calcs import add

add(5, 5, True) # it works the same for the rest of the functions
# 5 + 5 = 10
```
kwp2txt 0.0.1
Tool for converting Kamban word processor (KWP) files
Requires Python: >=3.8
Keywords: tamil, kamban, kwp

# KWP to UTF-8 Tamil Text Converter

Converts legacy KWP-encoded Tamil files into modern UTF-8 format, making them compatible with modern systems and editors.

## 💾 Installation

```
pip install kwp2txt
```

## 🔧 Usage

```bash
kwp2txt <input_file> <output_file>
```

```bash
kwp2txt Tamil_doc.kwp Tamil_doc.txt
```

## 🐞 Know issues
- Document with mixture of English and Tamil will not be handled properly. All text will be treated as Tamil.
- Notepad and Wordpad might have some trouble detecting text files as UTF-8. Use Notepad++ or VSCode

## ℹ️ Note
- This tool is extremely experimental.
- Use [KWP Converter](https://kamban.com.au/en/downloads/product/127-kwp-convertor) for better results.