Metadata-Version: 2.4
Name: ultimathe
Version: 0.1.2
Summary: The ultimate math library
Author-email: Snupkindeker <snupkindeker@yandex.ru>
License: MIT
Project-URL: Homepage, https://github.com/Snupkindeker/Ultimathe
Project-URL: Repository, https://github.com/Snupkindeker/Ultimathe
Project-URL: Issues, https://github.com/Snupkindeker/Ultimathe/issues
Keywords: math,parser,determine
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Dynamic: license-file

[English](README.md) | [Русский](README_RU.md)

# Ultimathe - the Ultimate Math Library

## Overview
**Ultimathe** is a Python library that lets you work with numbers and their properties, math operations and types,
parse expressions, visualize geometric shapes and so on.

### Library modules:
1. `Number` - different number types and their properties.
2. `Geometry` - geometric shapes and a visualizer for them.
3. `Determine` - determination of a number type by its value.
4. `Parser` - parser for math operations and expressions.
5. `Cache` - the cache system for `Determine` and `Parser` modules.
6. `Exceptions` - custom exceptions for `Determine` and `Parser` modules.
7. `Config` - number class names settings.

## Module descriptions
### Number

The `Number` module includes a variety of classes for different numbers. The full hierarchy of number classes is shown in
the [hierarchy.md](Number/hierarchy.md) file.

### Geometry

The `Geometry` module includes classes for different geometric shapes and objects, like Surface, Point, LineSegment etc.
It also includes a Visualizer class which visualizes an object, shape or surface via `Turtle` library.

### Parser

The `Parser` module includes 2 classes - MathOperation and MathParser.

MathOperation can execute a unary or a binary math operation, like substraction, square root or multiplication.

MathParser can parse a string math expression, for example `"(1.1 + 2.3) * (2^4)"`, with its `parse()` method, and return the result.
This class also can easily handle any issues with the expression, ignores spaces and uses the cache system to save time and resources.

### Cache

The `Cache` module includes the Cache class, which can store and get data from a `.json` storage file.

Cache is used by Determine and Parser modules, to store expression results and different numbers' class determination
results inside a `.json` file, so they don't waste time calculating/determining the same thing several times.

## License
This project is licensed under the [MIT License](LICENSE.txt).
