Metadata-Version: 2.4
Name: sichercalc
Version: 0.0.0.dev1
Summary: A lightweight AST based expression evaluator
Author-email: Orly Neto <orly2carvalhoneto@gmail.com>
Maintainer-email: Orly Neto <orly2carvalhoneto@gmail.com>
License-Expression: MIT
Project-URL: Repository, https://github.com/Stalot/sichercalc
Project-URL: Issues, https://github.com/Stalot/sichercalc/issues
Project-URL: Changelog, https://github.com/Stalot/sichercalc/blob/main/CHANGELOG.md
Keywords: ast
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# sichercalc

Fork of [ast_calculator](https://github.com/mrfuxi/ast_calculator), modernized and refactored as a reusable library.

## What is SicherCalc?

When you need to evaluate simple mathematical or logical expressions supplied by
untrusted users, you need a sandboxed environment that prevents arbitrary code
execution. SafeCalc parses the expression into an abstract syntax tree (AST),
inspects each node, and evaluates only those that belong to a predefined,
whitelisted set of operations.

### Why AST?

An abstract syntax tree (AST) is a tree‑structured representation of source code.
By operating on the AST we can precisely control which constructs are allowed,
eliminating the security risks associated with `eval()`.

## Features

- No `eval()` – pure AST parsing and controlled evaluation  
- Extensible – register your own custom functions  
- Works on Python 3.10+

## Getting Started

### Installation

```bash
pip install sichercalc
```

# CHANGELOG

## 0.0.0.dev1

- New publishing try due to workflow error in 0.0.0.dev0.
- Invalid development status classifier and workflow corrections.

## 0.0.0.dev0

Hello, world!
