{"id":31539776,"url":"https://github.com/aredier/chariots","last_synced_at":"2025-10-04T09:14:45.433Z","repository":{"id":46083383,"uuid":"163738847","full_name":"aredier/chariots","owner":"aredier","description":"versioned machine learning pipelines","archived":false,"fork":false,"pushed_at":"2022-12-26T20:47:57.000Z","size":669,"stargazers_count":7,"open_issues_count":17,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T13:54:13.164Z","etag":null,"topics":["data-pipelines","flask","machine-learning","project-template","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aredier.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-01T13:30:53.000Z","updated_at":"2025-02-07T16:09:07.000Z","dependencies_parsed_at":"2023-01-31T01:30:50.533Z","dependency_job_id":null,"html_url":"https://github.com/aredier/chariots","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/aredier/chariots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aredier%2Fchariots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aredier%2Fchariots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aredier%2Fchariots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aredier%2Fchariots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aredier","download_url":"https://codeload.github.com/aredier/chariots/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aredier%2Fchariots/sbom","scorecard":{"id":205992,"data":{"date":"2025-08-11","repo":{"name":"github.com/aredier/chariots","commit":"037b754e7f608a98dbf4e454a5808de7fb5dcc81"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Lesser General Public License v3.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":"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":"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"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2020-107 / GHSA-jjw5-xxj6-pcv5","Warn: Project is vulnerable to: PYSEC-2024-110 / GHSA-jw8x-6495-233v","Warn: Project is vulnerable to: PYSEC-2020-108","Warn: Project is vulnerable to: PYSEC-2021-437 / GHSA-5xp3-jfq3-5q8x","Warn: Project is vulnerable to: PYSEC-2020-173 / GHSA-gpvv-69j7-gwj8","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6","Warn: Project is vulnerable to: PYSEC-2022-204 / GHSA-f4q6-9qm4-h8j4","Warn: Project is vulnerable to: PYSEC-2023-62 / GHSA-m2qf-hxjv-5gpq","Warn: Project is vulnerable to: GHSA-cjgq-5qmw-rcj6","Warn: Project is vulnerable to: GHSA-x4wf-678h-2pmq","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T23:46:29.775Z","repository_id":46083383,"created_at":"2025-08-16T23:46:29.775Z","updated_at":"2025-08-16T23:46:29.775Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278290970,"owners_count":25962663,"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-10-04T02:00:05.491Z","response_time":63,"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-pipelines","flask","machine-learning","project-template","python"],"created_at":"2025-10-04T09:14:44.084Z","updated_at":"2025-10-04T09:14:45.428Z","avatar_url":"https://github.com/aredier.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========\nchariots\n========\n\n\n.. image:: https://img.shields.io/pypi/v/chariots.svg\n        :target: https://pypi.python.org/pypi/chariots\n\n.. image:: https://img.shields.io/travis/aredier/chariots.svg\n        :target: https://travis-ci.org/aredier/chariots\n\n.. image:: https://readthedocs.org/projects/chariots/badge/?version=latest\n        :target: https://chariots.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://img.shields.io/github/license/aredier/chariots?color=green\n        :target: https://github.com/aredier/chariots/blob/master/LICENSE\n\n\n\n\nchariots aims to be a complete framework to build and deploy versioned machine learning pipelines.\n\n* Documentation: https://chariots.readthedocs.io.\n\nGetting Started: 30 seconds to Chariots:\n----------------------------------------\nYou can check the `chariots docutemtation`_ for a complete tutorial on getting started with\nchariots, but here are the essentials:\n\nyou can create operations to execute steps in your pipeline:\n\n    \u003e\u003e\u003e from chariots.sklearn import SKUnsupervisedOp, SKSupervisedOp\n    \u003e\u003e\u003e from chariots.versioning import VersionType, VersionedFieldDict, VersionedField\n    \u003e\u003e\u003e from sklearn.decomposition import PCA\n    \u003e\u003e\u003e from sklearn.linear_model import LogisticRegression\n    ...\n    ...\n    \u003e\u003e\u003e class PCAOp(SKUnsupervisedOp):\n    ...     training_update_version = VersionType.MAJOR\n    ...     model_parameters = VersionedFieldDict(VersionType.MAJOR, {\"n_components\": 2})\n    ...     model_class = VersionedField(PCA, VersionType.MAJOR)\n    ...\n    \u003e\u003e\u003e class LogisticOp(SKSupervisedOp):\n    ...     training_update_version = VersionType.PATCH\n    ...     model_class = LogisticRegression\n\nOnce your ops are created, you can create your various training and prediction pipelines:\n\n\n    \u003e\u003e\u003e from chariots import Pipeline, MLMode\n    \u003e\u003e\u003e from chariots.nodes import Node\n    ...\n    ...\n    \u003e\u003e\u003e train = Pipeline([\n    ...     Node(IrisFullDataSet(), output_nodes=[\"x\", \"y\"]),\n    ...     Node(PCAOp(MLMode.FIT_PREDICT), input_nodes=[\"x\"], output_nodes=\"x_transformed\"),\n    ...     Node(LogisticOp(MLMode.FIT), input_nodes=[\"x_transformed\", \"y\"])\n    ... ], 'train')\n    ...\n    \u003e\u003e\u003e pred = Pipeline([\n    ...     Node(PCAOp(MLMode.PREDICT), input_nodes=[\"__pipeline_input__\"], output_nodes=\"x_transformed\"),\n    ...     Node(LogisticOp(MLMode.PREDICT), input_nodes=[\"x_transformed\"], output_nodes=['__pipeline_output__'])\n    ... ], 'pred')\n\nOnce all your pipelines have been created, deploying them is as easy as creating a creating a `Chariots` object:\n\n    \u003e\u003e\u003e from chariots import Chariots\n    ...\n    ...\n    \u003e\u003e\u003e app = Chariots([train, pred], app_path, import_name='iris_app')\n\n\nThe `Chariots` class inherits from the `Flask` class so you can deploy this the same way you would any\n`flask application`_\n\n\nOnce this the server is started, you can use the chariots client to query your machine learning micro-service from\npython:\n\n    \u003e\u003e\u003e from chariots import Client\n    ...\n    ...\n    \u003e\u003e\u003e client = Client()\n\nwith this client we will be\n\n- training the models\n- saving them and reloading the prediction pipeline (so that it uses the latest/trained version of our models)\n- query some prediction\n\n    \u003e\u003e\u003e client.call_pipeline(train)\n    \u003e\u003e\u003e client.save_pipeline(train)\n    \u003e\u003e\u003e client.load_pipeline(pred)\n    \u003e\u003e\u003e client.call_pipeline(pred, [[1, 2, 3, 4]])\n    [1]\n\nFeatures\n--------\n\n* versionable individual op\n* easy pipeline building\n* easy pipelines deployment\n* ML utils (implementation of ops for most popular ML libraries with adequate `Versionedfield`) for sklearn and keras at first\n* A CookieCutter template to properly structure your Chariots project\n\nComming Soon\n------------\n\nSome key features of Chariot are still in development and should be coming soon:\n\n* Cloud integration (integration with cloud services to fetch and load models from)\n* Graphql API to store and load information on different ops and pipelines (performance monitoring, ...)\n* ABTesting\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n`audreyr/cookiecutter-pypackage`_'s project is also the basis of the Chariiots project template\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypac\n.. _chariots docutemtation: https://chariots.readthedocs.io\n.. _flask application: https://github.com/pallets/flask\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faredier%2Fchariots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faredier%2Fchariots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faredier%2Fchariots/lists"}