{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"}],"enrichment":{"capability":"Pycel translates Excel spreadsheets into executable Python code that runs independently of Excel, using a graph-based computation model with caching and lazy evaluation.","skillfed_tags":["excel-interop","formula-evaluation","code-generation"],"use_cases":["Automate recurring spreadsheet calculations in production without Excel licensing or manual re-entry.","Audit and version-control complex financial or engineering models by converting them to readable Python code.","Integrate Excel-based business logic into Python data pipelines or web services.","Visualize formula dependencies and data flow in large spreadsheets using graph export tools.","Test spreadsheet formulas programmatically by evaluating them in a Python test suite."],"what_it_does":"Pycel is a Python library that reads an Excel workbook and compiles its formulas into a directed acyclic graph of Python functions, then evaluates that graph to produce results without requiring Excel. It supports common mathematical functions (sin, cos, atan2), operators, ranges, and lookup functions like MIN, MAX, INDEX, and LINEST. The compiled code can be exported and analyzed using graph visualization tools like Gephi.\n\nThe library is designed for spreadsheets with hundreds or thousands of formulas where you need reproducible, auditable computation outside Excel. It depends on networkx for graph representation, numpy for numerical operations, openpyxl for reading .xlsx files, python-dateutil for date handling, and ruamel.yaml for configuration. The codebase is intentionally small and relatively fast, though the author notes that truly high-performance use cases might require replacing the graph with sparse-matrix-based dependency tracking.","worth_installing":"Yes, if you have a stable Excel workbook with supported functions and can accept GPLv3 licensing. The low install friction and graph-based design make it suitable for one-time or occasional spreadsheet compilation. However, maintenance is dormant (last release October 2021), so expect no new function support or bug fixes; verify that your spreadsheet's functions are already implemented before committing to this library. Not recommended for proprietary projects due to copyleft licensing."},"id":"pycel","links":{"html":"https://skillfed.io/packages/pycel","md":"https://skillfed.io/packages/pycel.md","pypi":"https://pypi.org/project/pycel/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-10-13","license_spdx":null,"license_treatment":"copyleft","name":"pycel","python_support":"supports_current","summary":"A library for compiling excel spreadsheets to python code & visualizing them as a graph"},"popularity":{"monthly_downloads":326982,"position":7570,"tier":"top_15000"},"security":{"n_vulnerabilities":2},"version":"1.0b30"}
