{"id":28508840,"url":"https://github.com/surrealdb/surrealml","last_synced_at":"2025-07-02T22:32:32.681Z","repository":{"id":195036694,"uuid":"674627717","full_name":"surrealdb/surrealml","owner":"surrealdb","description":"A machine learning library for Python and Rust, for PyTorch, Tensorflow and SKLearn models","archived":false,"fork":false,"pushed_at":"2025-06-26T10:58:31.000Z","size":23452,"stargazers_count":104,"open_issues_count":13,"forks_count":16,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-06-30T07:19:05.835Z","etag":null,"topics":["artificial-intelligence","artificial-intelligence-framework","database","machine-learning","machine-learning-library","python-ml","rust-ml","surreal","surrealdb","surrealml"],"latest_commit_sha":null,"homepage":"https://surrealdb.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/surrealdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-04T12:04:59.000Z","updated_at":"2025-06-24T14:01:54.000Z","dependencies_parsed_at":"2023-09-16T08:45:20.248Z","dependency_job_id":"c2608115-6bae-4416-a372-da9fb21e71cd","html_url":"https://github.com/surrealdb/surrealml","commit_stats":null,"previous_names":["surrealdb/surrealml"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/surrealdb/surrealml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fsurrealml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fsurrealml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fsurrealml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fsurrealml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surrealdb","download_url":"https://codeload.github.com/surrealdb/surrealml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fsurrealml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262728053,"owners_count":23354688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","artificial-intelligence-framework","database","machine-learning","machine-learning-library","python-ml","rust-ml","surreal","surrealdb","surrealml"],"created_at":"2025-06-08T21:39:54.191Z","updated_at":"2025-07-02T22:32:32.652Z","avatar_url":"https://github.com/surrealdb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SurrealMl\n\nThis package is for storing machine learning models with meta data in Rust so they can be used on the SurrealDB server.\n\n## What is SurrealML?\n\nSurrealML is a feature that allows you to store trained machine learning models in a special format called 'surml'. This enables you to run these models in either Python or Rust, and even upload them to a SurrealDB node to run the models on the server\n\n## Prerequisites\n\n1. A basic understanding of Machine Learning: You should be familiar with ML concepts, algorithms, and model training processes.\n2. Knowledge of Python: Proficiency in Python is necessary as SurrealML involves working with Python-based ML models.\n3. Familiarity with SurrealDB: Basic knowledge of how SurrealDB operates is required since SurrealML integrates directly with it.\n4. Python Environment Setup: A Python environment with necessary libraries installed, including SurrealML, PyTorch or SKLearn (depending on your model preference).\n5. SurrealDB Installation: Ensure you have SurrealDB installed and running on your machine or server\n\n## New Clients\n\nWe have removed `PyO3` for a raw dynamic C lib written in rust. This is how working with Python and we can also link this dynamic C lib to other languages such as JavaScript. The new `Python` client is housed in the `clients`\ndirectory. Please visit this for the updated installation and API docs.\n\n\n# Running CI locally\n\nRunning CI locally can be done with the following command:\n\n```bash\ncargo make --no-workspace preflight\n```\n\nThis runs a series of tests in docker containers for dynamic C lib loading and `core` tests for `sklearn`, `tensorflow`, and `pytorch`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurrealdb%2Fsurrealml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurrealdb%2Fsurrealml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurrealdb%2Fsurrealml/lists"}