Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ariebovenberg/tinex
🧮 Python wrapper for tinyexpr
https://github.com/ariebovenberg/tinex
cython expression-evaluator mathematical-expressions tinyexpr
Last synced: about 1 month ago
JSON representation
🧮 Python wrapper for tinyexpr
- Host: GitHub
- URL: https://github.com/ariebovenberg/tinex
- Owner: ariebovenberg
- License: mit
- Created: 2017-10-24T19:28:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-07T07:44:46.000Z (about 7 years ago)
- Last Synced: 2024-10-12T13:11:29.082Z (2 months ago)
- Topics: cython, expression-evaluator, mathematical-expressions, tinyexpr
- Language: C
- Homepage: https://tinex.readthedocs.io
- Size: 57.6 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- License: LICENSE
Awesome Lists containing this project
README
Tinex
=====.. image:: https://img.shields.io/pypi/v/tinex.svg
:target: https://pypi.python.org/pypi/tinex.. image:: https://img.shields.io/pypi/l/tinex.svg
:target: https://pypi.python.org/pypi/tinex.. image:: https://img.shields.io/pypi/pyversions/tinex.svg
:target: https://pypi.python.org/pypi/tinex.. image:: https://travis-ci.org/ariebovenberg/tinex.svg?branch=master
:target: https://travis-ci.org/ariebovenberg/tinex.. image:: https://readthedocs.org/projects/tinex/badge/?version=latest
:target: http://tinex.readthedocs.io/en/latest/?badge=latest
:alt: Documentation StatusA python wrapper for tinyexpr_, a mathematical expression parser in C.
.. _tinyexpr: https://codeplea.com/tinyexpr
Quickstart
----------.. code-block:: python
>>> import tinex
>>> tinex.eval('sqrt(a^2+b^2)', a=3, b=4)
5.0Installation
------------.. code-block:: bash
$ pip install tinex
Documentation
-------------View the docs here_.
.. _here: http://tinex.readthedocs.io/en/latest/