Skip to main content

Python SDK for TinyDoc-VLM document understanding — the world's smallest document-specialist VLM

Project description

TinyDoc Python SDK

pip install tinydoc

Python SDK for TinyDoc-VLM — the world's smallest document-specialist VLM by eulogik.

from PIL import Image
from tinydoc import TinyDocExtractor

extractor = TinyDocExtractor()
img = Image.open("invoice.png")

result = extractor.ask(img, "What is the total?")
print(result.answer)

result = extractor.extract(img, output_format="json")
print(result.fields)

result = extractor.extract_table(img)
print(result.markdown)

Documentation · HF Model · HF Space · Issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinydoc-0.1.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinydoc-0.1.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file tinydoc-0.1.1.tar.gz.

File metadata

  • Download URL: tinydoc-0.1.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for tinydoc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c5d4fee465cbc800457481ffae511bafa6cb5ad2771bdfb8717061e4ac581696
MD5 6c2bc9b702dcf55261e9032049390ae2
BLAKE2b-256 833ad4f2c74d94cd09c1172404e77e0d5ccf7f20bcd0e7cdba6b18d6bfd9f6ce

See more details on using hashes here.

File details

Details for the file tinydoc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tinydoc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for tinydoc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4ab74901c7a74a89f4b1830ad0d8bdfd86ca9949eefe703dcb3aba867e212d
MD5 eb8265f06a14ce7f1954ccdaca10e4d7
BLAKE2b-256 36b19987cda7bc771a6e9da2900a97c92d9416a3c41d44d4dc554bb8888ae964

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page