This package includes helper scripts for interfacing your machine learning code with the IndoeAi.com containerization code.
## How to implement
```
from inodeai import inodeai
# transform input data against your model (or whatever you want)
# If an error occured please thwor an error message
def modify_data(inputdataPath,outputdataPath):
# take data from inputdataPath
# Transform that data data via your required model
# to save data write outputdataPath
# Return None if no error come.
# return an error msg if any error ocuured .
please intialize your model or other thing before using wait_for_request
inodeai.wait_for_requests(process_data)
```
run via command line arguments
python test.py serve input.csv output.csv
usage: test.py [-h] {run} ...
options:
-h, --help show this help message and exit
subcommands:
{run} commands to choose from
run run this model once from the command line
Raw data
{
"_id": null,
"home_page": "https://github.com/Inode-ai/Inode-ai",
"name": "inodeai",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "IndoeAi.com",
"author_email": "support@inode-ai.com",
"download_url": "https://files.pythonhosted.org/packages/93/91/99ed156186919e1f8cd77db79b2f02ee384be69459755f3c70de1e652169/inodeai-0.0.6.tar.gz",
"platform": null,
"description": "\nThis package includes helper scripts for interfacing your machine learning code with the IndoeAi.com containerization code.\n\n\n\n## How to implement\n\n```\nfrom inodeai import inodeai\n\n# transform input data against your model (or whatever you want)\n# If an error occured please thwor an error message\n\ndef modify_data(inputdataPath,outputdataPath):\n \n # take data from inputdataPath\n # Transform that data data via your required model\n # to save data write outputdataPath\n # Return None if no error come.\n # return an error msg if any error ocuured .\n\n\nplease intialize your model or other thing before using wait_for_request\n\ninodeai.wait_for_requests(process_data)\n\n```\n\n\n\nrun via command line arguments\n\npython test.py serve input.csv output.csv\n\nusage: test.py [-h] {run} ...\n\noptions:\n -h, --help show this help message and exit\n\nsubcommands:\n {run} commands to choose from\n run run this model once from the command line\n\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "The IndoeAi.com helper package",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/Inode-ai/Inode-ai"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bd39b672f05dbfd767e758853a6c3568fce46bf1c0aba48bde50e8b3b2aa09bf",
"md5": "163baef10ddcbd74a7e5e8396776add5",
"sha256": "6a06e414e0554217a487e4f4bfa72dd7a8b61cdd5116e31d7739b4effba044a7"
},
"downloads": -1,
"filename": "inodeai-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "163baef10ddcbd74a7e5e8396776add5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 11296,
"upload_time": "2024-08-02T12:51:06",
"upload_time_iso_8601": "2024-08-02T12:51:06.295621Z",
"url": "https://files.pythonhosted.org/packages/bd/39/b672f05dbfd767e758853a6c3568fce46bf1c0aba48bde50e8b3b2aa09bf/inodeai-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "939199ed156186919e1f8cd77db79b2f02ee384be69459755f3c70de1e652169",
"md5": "26f244e0e3fe08d07fe264f2320cd592",
"sha256": "13e2be425a87e2ccc3a3905616e8fa6648f096e44789cbfede422e203b9bb83d"
},
"downloads": -1,
"filename": "inodeai-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "26f244e0e3fe08d07fe264f2320cd592",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 9996,
"upload_time": "2024-08-02T12:51:07",
"upload_time_iso_8601": "2024-08-02T12:51:07.950477Z",
"url": "https://files.pythonhosted.org/packages/93/91/99ed156186919e1f8cd77db79b2f02ee384be69459755f3c70de1e652169/inodeai-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-02 12:51:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Inode-ai",
"github_project": "Inode-ai",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "inodeai"
}