
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
hotxlfp
Advanced tools
hotxlfp intends to be a python version of the javascript handsontable excel formula parser differences are acceptable to make it more pythonic or the function implementations more correct.
You can install using pip
pip install hotxlfp
import hotxlfp
p = hotxlfp.Parser()
p.parse('SUM(1,2,3)') # returns {'result': 6, 'error': None}
It's also fine to use semi-colons as separators (they're used by excel depending on your locale)
p.parse('SUM(1;2;3)') # returns {'result': 6, 'error': None}
Say you have a function called triple:
def triple(x):
return x*3
You can teach the parser to use it with set_function
p.set_function('TRIPLE', triple)
p.parse('TRIPLE(2)') # returns {'result': 6, 'error': None}
You can also set variables that you can then use in your formulas
p.set_variable('foo', 33)
p.parse('foo/3') # returns {'result': 11.0, 'error': None}
Fork the project
Depends on ply and python-dateutil.
To install dependencies automatically using pip run:
pip install -r requirements.txt
python -m unittest
coverage run --source hotxlfp setup.py test
Inside the project directory run:
python -m "scripts.update_supported_formulas"
FAQs
Unknown package
We found that hotxlfp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.