{"id":34077359,"url":"https://github.com/nimbleboxai/nbox","last_synced_at":"2025-12-14T10:02:08.903Z","repository":{"id":41120176,"uuid":"390696010","full_name":"NimbleBoxAI/nbox","owner":"NimbleBoxAI","description":"The official python package for NimbleBox. Exposes all APIs as CLIs and contains modules to make ML 🌸","archived":false,"fork":false,"pushed_at":"2023-10-02T23:51:39.000Z","size":66804,"stargazers_count":86,"open_issues_count":5,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-11-29T08:25:00.925Z","etag":null,"topics":["data-science","machine-learning","ml-infrastructure","ml-platform","ml-service","mlops","mlops-automation","mlops-pipeline","mlops-tool","mlops-workflow","model-deployment","model-management","model-monitoring","model-serving","practical-mlops"],"latest_commit_sha":null,"homepage":"https://nimblebox.ai/docs/nbox/start","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NimbleBoxAI.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}},"created_at":"2021-07-29T11:06:41.000Z","updated_at":"2025-10-04T15:39:30.000Z","dependencies_parsed_at":"2024-06-21T05:47:16.077Z","dependency_job_id":"ec16d377-c541-4a21-b4ea-4f33acae4d0b","html_url":"https://github.com/NimbleBoxAI/nbox","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/NimbleBoxAI/nbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleBoxAI%2Fnbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleBoxAI%2Fnbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleBoxAI%2Fnbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleBoxAI%2Fnbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NimbleBoxAI","download_url":"https://codeload.github.com/NimbleBoxAI/nbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NimbleBoxAI%2Fnbox/sbom","scorecard":{"id":101791,"data":{"date":"2025-08-11","repo":{"name":"github.com/NimbleBoxAI/nbox","commit":"5aa17517c3820542b486c7aeb860a790a2c045bf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build and deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/sonarqube-build.yml:1","Warn: no topLevel permission defined: .github/workflows/update-docs.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build and deploy.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/NimbleBoxAI/nbox/build and deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sonarqube-build.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/NimbleBoxAI/nbox/sonarqube-build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sonarqube-build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/NimbleBoxAI/nbox/sonarqube-build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-docs.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/NimbleBoxAI/nbox/update-docs.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-docs.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/NimbleBoxAI/nbox/update-docs.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-docs.yaml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/NimbleBoxAI/nbox/update-docs.yaml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/update-docs.yaml:28","Warn: pipCommand not pinned by hash: .github/workflows/update-docs.yaml:29","Warn: pipCommand not pinned by hash: .github/workflows/update-docs.yaml:30","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-38","Warn: Project is vulnerable to: PYSEC-2024-4 / GHSA-2mqj-m65w-jghx","Warn: Project is vulnerable to: PYSEC-2023-165 / GHSA-cwvm-v4w8-q58c","Warn: Project is vulnerable to: PYSEC-2023-137 / GHSA-pr76-5cm5-w9cj","Warn: Project is vulnerable to: PYSEC-2023-161 / GHSA-wfm5-v35h-vwf4","Warn: Project is vulnerable to: GHSA-496j-2rq6-j6cc","Warn: Project is vulnerable to: GHSA-6628-q6j9-w8vg","Warn: Project is vulnerable to: GHSA-9hxf-ppjv-w6rq","Warn: Project is vulnerable to: GHSA-cfgp-2977-2fmm","Warn: Project is vulnerable to: GHSA-vqfr-h8mv-ghfj","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-8qvm-5x2c-j2w7","Warn: Project is vulnerable to: GHSA-mr82-8j83-vxmv","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: GHSA-2c2j-9gv5-cj73","Warn: Project is vulnerable to: GHSA-f96h-pmfr-66vw","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T10:17:35.036Z","repository_id":41120176,"created_at":"2025-08-15T10:17:35.036Z","updated_at":"2025-08-15T10:17:35.036Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27725923,"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","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["data-science","machine-learning","ml-infrastructure","ml-platform","ml-service","mlops","mlops-automation","mlops-pipeline","mlops-tool","mlops-workflow","model-deployment","model-management","model-monitoring","model-serving","practical-mlops"],"created_at":"2025-12-14T10:02:07.798Z","updated_at":"2025-12-14T10:02:08.897Z","avatar_url":"https://github.com/NimbleBoxAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://nimblebox.ai/\" target=\"_blank\"\u003e\u003cimg src=\"./assets/built_at_nbx.svg\" align=\"right\"\u003e\u003c/a\u003e\n[![PyPI - Python\nVersion](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue)](https://pypi.org/project/nbox/)\n[![Downloads](https://pepy.tech/badge/nbox)](https://pepy.tech/project/nbox)\n![GitHub](https://img.shields.io/badge/license-Apache--2.0-blueviolet)\n\n## 🧐 What is Nbox?\n\n`nbox` provides first class CLI + python package support for all NimbleBox infrastructure and services. You can \n\n\n```bash\n# on macos find the correct wheel file based on python version: https://github.com/pietrodn/grpcio-mac-arm-build/releases/tag/1.51.1\npip install \u003cwheel_url\u003e\n\npip install nbox\n```\n\nNext you need to authenticate yourself with the CLI:\n\n```bash\nnbx login\n```\n\n# Stability and Compatibility\n\nStatus: The library is currently undergoing heavy development.\n\n- `nbx projects`:\n  - `nbx projects - artifacts --help` stable ✅\n  - `nbx projects - run --help` stable ✅\n- `nbx jobs --help`: mostly stable 🟡\n- `nbx serve --help`: mostly stable 🟡\n\n\n# 🤷Why NimbleBox\n\n- Write and execute code in Python\n- Document your code that supports mathematical equations\n- Create/Upload/Share notebooks\n- Import notebooks from your local machine\n- Import/Publish notebooks from/to GitHub\n- Import external datasets (e.g. from Kaggle)\n- Integrate PyTorch, TensorFlow, Keras, OpenCV\n- Share your projects\n- Collaborate with your team\n\n# 🚀 Startup Program\n\n\u003ca href=\"https://nimblebox.ai/startup-program\"\u003e\u003cimg width=\"1281\" alt=\"image\" src=\"https://user-images.githubusercontent.com/89596037/188064820-c372f895-fef1-4a84-bd95-8a9a5c3d13d1.png\"\u003e\n\n\n#### If you're a new startup with(\u003c$1M raised,\u003c3 years since founded) then you're in luck to be the part of our startup program!\n#### Get *$420k* worth of deals on your favorite tools \n##### \u003ca href=\"https://nimblebox.ai/startup-program\"\u003eCheck it out !\n# 🎚 Features\n\n### 🏗️ Freedom To Build\n![Build Landing Page (2)](https://user-images.githubusercontent.com/89596037/181773716-ba63f167-af0d-48aa-921a-02e13238c0f2.gif)\n\n\n### 🦾 Automate with Ease\n![Jobs Landing Page](https://user-images.githubusercontent.com/89596037/181774553-99120354-72f5-4064-9216-4f8a5aa050be.gif)\n\n\n\n### 🚀 Intuitive Dashboard\n![Deploy Landing Page](https://user-images.githubusercontent.com/89596037/181775468-cc342a30-d87e-4576-8bdd-8ffdd75ff759.gif)\n\n\n# 🏁 Get Started\n\n\n**Install the package from pypi:**\n\n\nWhen loading nbox for the first time, it will prompt you the username and password and create a secrets file at ```~/.nbx/secrets.json. ``` This file then contains all the information that you don’t have to fetch manually again.\n\n\n## APIs\n\nOur APIs are deep, user functions are kept to minimum and most relavant. This documentation contains the full spec of everything, but here’s all the APIs you need to know:\n\n```\nnbox\n├── Model          # Framework agnostic Model\n│   ├── __call__\n│   ├── deploy\n│   ├── train_on_instance (WIP)\n│   └── train_on_jobs (WIP)\n├── Operators      # How jobs are combinations of operators\n│   ├── __call__\n│   └── deploy\n├── Jobs           # For controlling all your jobs\n│   ├── logs       # stream logs right on your terminal\n│   └── trigger    # manually trigger a job\n└── Instance\n   ├── __call__    # Run any command on the instance\n   └── mv (WIP)    # Move files to and from NBX-Build\n```\n\n### Deploy and run any model\n\nLet's take this script as an example\n\n```python\nfrom nbox import operator, Operator\nfrom nbox.lib.shell import ShellCommand\n\n# define your function and wrap it as an operator\n@operator()\ndef foo(x: Dict):\n  return \"bar\"\n\n# or use OO to deploy an API\n@operator()\nclass Baz():\n  def __init__(self, power: int = 2):\n    # load any model that you want\n    self.model = load_tf_pt_model()\n    self.power = power\n  \n  def forward(self, x: float = 1.0):\n    return {\"pred\": x ** self.power}    \n```\n\nThrough your CLI:\n\n```bash\n# to deploy a job\nnbx jobs upload file:foo 'my_first_job'\n\n# to deploy an API\nnbx serve upload file:Baz 'my_first_api'\n```\n\n# 🛟 How to get help?\n\nJoin our [discord](https://discord.gg/qYZHxMaCsE) and someone from our community or engineering team will respond!\n\n## 🔖Read our [Blog](https://nimblebox.ai/blog).\n\n\n# 🧩 License\n\nThe code in thist repo is licensed as [Apache License 2.0](./LICENSE). Please check for individual repositories for licenses.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimbleboxai%2Fnbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimbleboxai%2Fnbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimbleboxai%2Fnbox/lists"}