Skip to main content

Lentille

Library that wraps various embedders. For now it only wraps a Resnet50 model.

Installation

pip install lentille

Example usage

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"))

Release files for lentille 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lentille 0.3.0
File Size Uploaded
lentille-0.3.0.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lentille 0.3.0
File Interpreter ABI Platform
lentille-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / lentille-0.3.0.tar.gz

Download URL lentille-0.3.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bf72e19521905dd820cbafdc48f9f26568a77df619b7a2a2fc8041211158335b
BLAKE2b-256 checksum
How to use checksums
97115f88ce448f120553a33075f829cc276f15bfed7e28b8a9ca3ace7c532bfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.12 Linux/5.15.0-1039-azure

Release files / lentille-0.3.0-py3-none-any.whl

Download URL lentille-0.3.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
530d45a2ddcb0a079e2bd072bed4831169fe89f16869628590d81c220f024905
BLAKE2b-256 checksum
How to use checksums
4a8554848e17fcc42205d8e2801177e6235bc41838b2554ecf1c7069d797a36a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.12 Linux/5.15.0-1039-azure

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page