Logics is a user-friendly formula language with a subset of Python's expression syntax
Project description
Logics
A tiny, sandboxed, secure and extendable formula language with a flavor of Python.About
Logics is a tiny formula language, with the goal to provide equal syntax and semantics for different runtime contexts.
- logics-js is a pure JavaScript implementation of Logics provided as npm-package.
- logics-py is a pure Python implementation of Logics provided as PyPI-package.
Both packages are under recent development and not stable right now. They are maintained in separate version numbers.
Features
- Python-like expression syntax, including list comprehensions
- Python-inspired type system for all JSON-serializable types
- Some Logics-specific specialities
- Separate implementations in JavaScript and Python with equal syntax and similar semantics
- Secure, running in a sandboxed environment apart from the host language
- Provides a set of functions to be used in expressions
- Extendable to custom functions
License
Copyright © 2022 by Jan Max Meyer, Mausbrand Informationssysteme GmbH.
Mausbrand and ViUR are registered trademarks of Mausbrand Informationssysteme GmbH.
Logics is free software under the MIT license.
Please see the LICENSE file for details.
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
logics_py-0.0.1.tar.gz
(10.6 kB
view hashes)
Built Distribution
logics_py-0.0.1-py3-none-any.whl
(12.0 kB
view hashes)
Close
Hashes for logics_py-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc96fe807ff7aa813ef719a439a704be9198745da2a85a96e598ad8c6386d6e |
|
MD5 | e359f311a33a9527bc18658d6da1b618 |
|
BLAKE2b-256 | a9c7204dd3593b4ee15d2d42b1eb965a09b9d23de666dff87d92838b93e6854d |