unum-cloud / usearch

Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍
https://unum-cloud.github.io/usearch/
Apache License 2.0
1.92k stars 109 forks source link

Feature: adding `py.typed` metadata to `python/usearch` #424

Open jamesbraza opened 1 month ago

jamesbraza commented 1 month ago

Describe what you are looking for

Running mypy==1.9.0 with usearch==2.12.0:

foo.py:5:1: error: Skipping analyzing "usearch.index": module is installed, but missing library stubs or py.typed marker  [import-untyped]
    from usearch.index import Index
    ^

It would be nice to add py.typed metadata for mypy

Can you contribute to the implementation?

Is your feature request specific to a certain interface?

Python bindings

Contact Details

No response

Is there an existing issue for this?

Code of Conduct

ashvardanian commented 1 month ago

Cool, @jamesbraza! I don't have experience with that. So if it's not too much code to maintain and you can contribute, would love to merge it 🤗