{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/9"}],"enrichment":{"capability":"Connects Python to SAP HANA to build machine learning models and query data directly in the database using PAL and APL algorithms without moving data to the client.","skillfed_tags":["sap-hana","in-database-ml","enterprise-analytics"],"use_cases":["Build classification or regression models on large HANA tables without exporting data to Python for training.","Perform exploratory data analysis on HANA data with built-in visualization and reporting functions.","Train and persist machine learning models directly in HANA for low-latency inference in production.","Analyze text documents stored in HANA using text mining functions like tf_analysis and text classification.","Develop geospatial or graph-based analytics on data modeled as spatial or network structures in HANA."],"what_it_does":"hana-ml is a Python client that bridges data scientists to SAP HANA's in-database machine learning capabilities. It provides a SAP HANA DataFrame abstraction for querying and filtering data without pulling it to the client, plus APIs to PAL (Predictive Analysis Library) and APL (Automated Predictive Library) for training and scoring models directly in the database. The package also includes visualization tools (EDA plots, model reports, Shapley-value explanations), model persistence (save/load/delete in HANA tables), text mining, and spatial/graph analytics.\n\nThe package depends on hdbcli for database connectivity and uses pandas, numpy, plotly, and shapely for data manipulation and visualization. It requires an active SAP HANA instance with appropriate security roles and APL version 1905 or higher for full functionality. Typical workflow involves establishing a connection, creating a HANA DataFrame from a table or SQL query, training a model, and predicting on new data\u2014all with computation happening server-side.","worth_installing":"Yes, if you have SAP HANA infrastructure and need to build ML models on large datasets without data movement. The package is actively maintained, supports modern Python versions, and offers low install friction. However, the SAP DEVELOPER LICENSE AGREEMENT is non-standard and requires review; one known vulnerability (PYSEC-2023-172) should be investigated before production use. Not suitable for standalone Python ML work or non-SAP environments."},"id":"hana-ml","links":{"html":"https://skillfed.io/packages/hana-ml","md":"https://skillfed.io/packages/hana-ml.md","pypi":"https://pypi.org/project/hana-ml/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-28","license_spdx":null,"license_treatment":"unclear","name":"hana-ml","python_support":"supports_current","summary":"Python Machine Learning Client for SAP HANA"},"popularity":{"monthly_downloads":125519,"position":11810,"tier":"top_15000"},"security":{"n_vulnerabilities":1},"version":"2.29.26072700"}
