{"id":28466848,"url":"https://github.com/mlrun/project-demo","last_synced_at":"2026-01-20T17:09:08.492Z","repository":{"id":39927774,"uuid":"395283905","full_name":"mlrun/project-demo","owner":"mlrun","description":"demo the use with project object","archived":false,"fork":false,"pushed_at":"2025-03-05T18:54:04.000Z","size":40,"stargazers_count":0,"open_issues_count":8,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T23:35:45.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mlrun.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":"2021-08-12T10:41:30.000Z","updated_at":"2025-03-05T18:54:08.000Z","dependencies_parsed_at":"2025-03-03T14:24:54.258Z","dependency_job_id":"952a2fc2-90f7-4bd1-9df5-5b4e6e853dce","html_url":"https://github.com/mlrun/project-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/mlrun/project-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlrun%2Fproject-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlrun%2Fproject-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlrun%2Fproject-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlrun%2Fproject-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlrun","download_url":"https://codeload.github.com/mlrun/project-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlrun%2Fproject-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-06-07T07:06:08.282Z","updated_at":"2026-01-20T17:09:08.477Z","avatar_url":"https://github.com/mlrun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# project-demo\n\ndemo the use with project object\n\nsee documentation in: https://docs.mlrun.org/en/latest/projects/overview.html\n\n## Load \u0026 Run using MLRun SDK\n\nWhen our project is already created and stored in a git archive we can quickly load and use it with the \n`mlrun.load_project()` method. `load_project` will use a local context directory (with initialized `git`) \nor clone a remote repo into the local dir and return a project object.\n\nUsers need to provide the path to the `context` dir and the git/zip/tar archive `url`, the `name` can be specified or taken \nfrom the project object, they can also specify `secrets` (repo credentials), `init_git` flag (to initialize git in the context dir), \n`clone` flag (indicating we must clone and ignore/remove local copy), and `user_project` flag (indicate the project name is unique to the user).\n\nexample, load a project from git and run the `main` workflow:\n\n```python\nproject = mlrun.load_project(\"./\", \"git://github.com/mlrun/project-demo.git\")\nproject.run(\"main\", arguments={'data': data_url})\n```\n\n## Load \u0026 run using MLRun CLI\n\nLoading a project from `git` into `./project` :\n\n```\nmlrun project -n myproj -u \"git://github.com/mlrun/project-demo.git\" ./project\n```\n\nRunning a specific workflow (`main`) from the project stored in `.` (current dir):\n\n```\nmlrun project -r main -w ./project\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlrun%2Fproject-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlrun%2Fproject-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlrun%2Fproject-demo/lists"}