Name | lentille JSON |
Version |
0.3.0
JSON |
| download |
home_page | |
Summary | |
upload_time | 2023-06-22 09:22:23 |
maintainer | |
docs_url | None |
author | Alex |
requires_python | >=3.9,<4.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Lentille
Library that wraps various embedders. For now it only wraps a Resnet50 model.
## Installation
``` bash
pip install lentille
```
## Example usage
``` python
from lentille import Resnet50Embedder
embedder = Resnet50Embedder.from_file(
"resnet50-v1-12-int8.onnx" # ONNX model from: https://github.com/onnx/models/tree/main/vision/classification/resnet
)
print(embedder.classify("cat.jpg"))
```
Raw data
{
"_id": null,
"home_page": "",
"name": "lentille",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Alex",
"author_email": "46456279+the-alex-b@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/97/11/5f88ce448f120553a33075f829cc276f15bfed7e28b8a9ca3ace7c532bfd/lentille-0.3.0.tar.gz",
"platform": null,
"description": "# Lentille\nLibrary that wraps various embedders. For now it only wraps a Resnet50 model.\n\n## Installation\n``` bash\npip install lentille\n```\n\n## Example usage\n``` python\nfrom lentille import Resnet50Embedder\n\nembedder = Resnet50Embedder.from_file(\n \"resnet50-v1-12-int8.onnx\" # ONNX model from: https://github.com/onnx/models/tree/main/vision/classification/resnet\n)\n\nprint(embedder.classify(\"cat.jpg\"))\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "",
"version": "0.3.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4a8554848e17fcc42205d8e2801177e6235bc41838b2554ecf1c7069d797a36a",
"md5": "66f100b0c8350f38925f6cb999e16bf7",
"sha256": "530d45a2ddcb0a079e2bd072bed4831169fe89f16869628590d81c220f024905"
},
"downloads": -1,
"filename": "lentille-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "66f100b0c8350f38925f6cb999e16bf7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 3441,
"upload_time": "2023-06-22T09:22:21",
"upload_time_iso_8601": "2023-06-22T09:22:21.863070Z",
"url": "https://files.pythonhosted.org/packages/4a/85/54848e17fcc42205d8e2801177e6235bc41838b2554ecf1c7069d797a36a/lentille-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "97115f88ce448f120553a33075f829cc276f15bfed7e28b8a9ca3ace7c532bfd",
"md5": "719fbf09a1ae6bd1e60f2cfcd3664ceb",
"sha256": "bf72e19521905dd820cbafdc48f9f26568a77df619b7a2a2fc8041211158335b"
},
"downloads": -1,
"filename": "lentille-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "719fbf09a1ae6bd1e60f2cfcd3664ceb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 2642,
"upload_time": "2023-06-22T09:22:23",
"upload_time_iso_8601": "2023-06-22T09:22:23.316415Z",
"url": "https://files.pythonhosted.org/packages/97/11/5f88ce448f120553a33075f829cc276f15bfed7e28b8a9ca3ace7c532bfd/lentille-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-22 09:22:23",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lentille"
}