usearch 2.8.7 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CITATION.cff +1 -1
- package/CMakeLists.txt +3 -3
- package/CONTRIBUTING.md +3 -3
- package/Cargo.toml +1 -1
- package/Dockerfile +16 -0
- package/README.md +41 -38
- package/VERSION +1 -0
- package/binding.gyp +57 -8
- package/conanfile.py +1 -1
- package/include/usearch/index.hpp +1 -1
- package/include/usearch/index_plugins.hpp +27 -23
- package/package.json +1 -2
- package/setup.py +76 -15
- package/wasmer.toml +1 -1
- package/. npmignore +0 -14
- package/.gitignore +0 -95
- package/.vscode/launch.json +0 -181
- package/.vscode/settings.json +0 -180
- package/.vscode/tasks.json +0 -71
- package/Package.swift +0 -41
- package/csharp/.editorconfig +0 -361
- package/csharp/Cloud.Unum.USearch.sln +0 -34
- package/csharp/DEV_SETUP.md +0 -51
- package/csharp/Directory.Build.props +0 -29
- package/csharp/README.md +0 -74
- package/csharp/build_and_test.cmd +0 -31
- package/csharp/build_and_test.sh +0 -30
- package/csharp/nuget/nuget-package.props +0 -33
- package/csharp/pack.sh +0 -56
- package/csharp/src/Cloud.Unum.USearch.Tests/Cloud.Unum.USearch.Tests.csproj +0 -39
- package/csharp/src/Cloud.Unum.USearch.Tests/USearchIndexTests.cs +0 -1013
- package/csharp/src/Cloud.Unum.USearch.Tests/Usings.cs +0 -1
- package/docs/_static/custom.css +0 -26
- package/docs/_static/custom.js +0 -7
- package/docs/benchmarks.md +0 -245
- package/docs/benchmarks.rst +0 -5
- package/docs/c/index.rst +0 -11
- package/docs/c/reference.rst +0 -7
- package/docs/conf.dox +0 -2668
- package/docs/conf.py +0 -53
- package/docs/contributing.rst +0 -5
- package/docs/cpp/index.rst +0 -11
- package/docs/cpp/reference.rst +0 -17
- package/docs/csharp/index.rst +0 -6
- package/docs/format.md +0 -86
- package/docs/format.rst +0 -5
- package/docs/golang/index.rst +0 -6
- package/docs/index.rst +0 -33
- package/docs/java/index.rst +0 -11
- package/docs/java/reference.rst +0 -7
- package/docs/javascript/index.rst +0 -11
- package/docs/javascript/reference.rst +0 -12
- package/docs/python/index.rst +0 -11
- package/docs/python/reference.rst +0 -42
- package/docs/rust/index.rst +0 -6
- package/docs/swift/index.rst +0 -6
- package/docs/wolfram/index.rst +0 -6
- package/golang/README.md +0 -95
- package/golang/go.mod +0 -3
- package/golang/lib.go +0 -379
- package/golang/lib_test.go +0 -108
- package/java/README.md +0 -22
- package/java/cloud/unum/usearch/Index.java +0 -337
- package/java/cloud/unum/usearch/cloud_unum_usearch_Index.cpp +0 -197
- package/java/cloud/unum/usearch/cloud_unum_usearch_Index.h +0 -125
- package/java/test/IndexTest.java +0 -30
- package/objc/USearchObjective.mm +0 -299
- package/objc/include/USearchObjective.h +0 -154
- package/python/README.md +0 -292
- package/python/lib.cpp +0 -1216
- package/python/scripts/bench.ipynb +0 -193
- package/python/scripts/bench.py +0 -137
- package/python/scripts/bench_exact.py +0 -44
- package/python/scripts/cluster.ipynb +0 -160
- package/python/scripts/index_faiss.py +0 -100
- package/python/scripts/join.py +0 -155
- package/python/scripts/test_index.py +0 -247
- package/python/scripts/test_jit.py +0 -231
- package/python/scripts/test_sparse.py +0 -32
- package/python/scripts/test_tooling.py +0 -133
- package/python/usearch/__init__.py +0 -0
- package/python/usearch/client.py +0 -124
- package/python/usearch/eval.py +0 -470
- package/python/usearch/index.py +0 -1401
- package/python/usearch/io.py +0 -113
- package/python/usearch/numba.py +0 -121
- package/python/usearch/server.py +0 -137
- package/rust/README.md +0 -66
- package/rust/lib.cpp +0 -136
- package/rust/lib.hpp +0 -69
- package/rust/lib.rs +0 -610
- package/swift/Index+Sugar.swift +0 -153
- package/swift/README.md +0 -48
- package/swift/Test.swift +0 -37
- package/swift/USearch.swift +0 -8
- package/wasm/CMakeLists.txt +0 -7
- package/wasm/README.md +0 -13
- package/wasm/lib.cpp +0 -5
- package/wolfram/CMakeLists.txt +0 -18
- package/wolfram/README.md +0 -13
- package/wolfram/lib.cpp +0 -160
- package/wolfram/test.wls +0 -27
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project>
|
|
3
|
-
<PropertyGroup>
|
|
4
|
-
<Version Condition="'$(Version)' == ''">2.8.7</Version>
|
|
5
|
-
|
|
6
|
-
<Authors>Unum</Authors>
|
|
7
|
-
<Company>Unum</Company>
|
|
8
|
-
<PackageTags>USearch Vector Search Disk-based Multi-Modal Semantic-Search Molecular-Search</PackageTags>
|
|
9
|
-
<PackageId>Cloud.Unum.USearch</PackageId>
|
|
10
|
-
|
|
11
|
-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
|
12
|
-
<PackageProjectUrl>https://github.com/unum-cloud/usearch</PackageProjectUrl>
|
|
13
|
-
<RepositoryUrl>https://github.com/unum-cloud/usearch</RepositoryUrl>
|
|
14
|
-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
15
|
-
|
|
16
|
-
<PackageIcon>unum.png</PackageIcon>
|
|
17
|
-
<PackageIconUrl>unum.png</PackageIconUrl>
|
|
18
|
-
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
19
|
-
</PropertyGroup>
|
|
20
|
-
|
|
21
|
-
<ItemGroup>
|
|
22
|
-
<None Include="$(NativeLibDir)runtimes\**\*.*" Pack="true" PackagePath="runtimes" />
|
|
23
|
-
<None Include="$(RepoRoot)LICENSE" Pack="true" PackagePath=""/>
|
|
24
|
-
<None Include="$(RepoRoot)assets\unum.png" Pack="true" PackagePath=""/>
|
|
25
|
-
<None Include="$(RepoRoot)README.md" Pack="true" PackagePath=""/>
|
|
26
|
-
</ItemGroup>
|
|
27
|
-
|
|
28
|
-
<!-- Package validation https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/overview?WT.mc_id=DT-MVP-5003978 -->
|
|
29
|
-
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
|
|
30
|
-
<EnablePackageValidation Condition="'$(EnablePackageValidation)' == ''">true</EnablePackageValidation>
|
|
31
|
-
</PropertyGroup>
|
|
32
|
-
|
|
33
|
-
</Project>
|
package/csharp/pack.sh
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
check_task_status() {
|
|
4
|
-
local task_name=$1
|
|
5
|
-
local exit_code=$2
|
|
6
|
-
|
|
7
|
-
if [ $exit_code -ne 0 ]; then
|
|
8
|
-
echo "$task_name failed!"
|
|
9
|
-
exit 1
|
|
10
|
-
else
|
|
11
|
-
echo "$task_name finished successfully!"
|
|
12
|
-
fi
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
# Check vars for pack and push are set
|
|
16
|
-
required_vars=("PACKAGE_ID" "PACKAGE_VERSION" "NUGET_APIKEY" "NUGET_SERVER")
|
|
17
|
-
unset_vars=""
|
|
18
|
-
|
|
19
|
-
for var in "${required_vars[@]}"; do
|
|
20
|
-
if [ -z "${!var}" ]; then
|
|
21
|
-
unset_vars="$unset_vars $var"
|
|
22
|
-
fi
|
|
23
|
-
done
|
|
24
|
-
|
|
25
|
-
if [ -n "$unset_vars" ]; then
|
|
26
|
-
echo "The following variables are not set:$unset_vars"
|
|
27
|
-
exit 1
|
|
28
|
-
fi
|
|
29
|
-
|
|
30
|
-
# Get absolute path to the usearch dir
|
|
31
|
-
# FIX: realpath is not available on OSX, so use pwd
|
|
32
|
-
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
33
|
-
SCRIPT_DIR="${SCRIPT_DIR}/"
|
|
34
|
-
|
|
35
|
-
# Define project paths
|
|
36
|
-
REPO_ROOT=`cd -P "$SCRIPT_DIR../" && pwd`
|
|
37
|
-
REPO_ROOT="${REPO_ROOT}/"
|
|
38
|
-
|
|
39
|
-
# Clear package output folder
|
|
40
|
-
rm -rf ./packages/*
|
|
41
|
-
|
|
42
|
-
# Clean previous outputs
|
|
43
|
-
dotnet clean -c Release -p:RepoRoot="$REPO_ROOT"
|
|
44
|
-
|
|
45
|
-
# Build
|
|
46
|
-
dotnet build -c Release -p:Version=${PACKAGE_VERSION} -p:RepoRoot="$REPO_ROOT"
|
|
47
|
-
|
|
48
|
-
# Pack
|
|
49
|
-
dotnet pack -c Release -p:Version=${PACKAGE_VERSION} -p:RepoRoot="$REPO_ROOT"
|
|
50
|
-
EXIT_CODE=$?
|
|
51
|
-
check_task_status "Pack" $EXIT_CODE
|
|
52
|
-
|
|
53
|
-
# Push
|
|
54
|
-
dotnet nuget push "./packages/${PACKAGE_ID}.*.nupkg" -k ${NUGET_APIKEY} -s ${NUGET_SERVER}
|
|
55
|
-
EXIT_CODE=$?
|
|
56
|
-
check_task_status "NuGet Push" $EXIT_CODE
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
-
|
|
3
|
-
<PropertyGroup>
|
|
4
|
-
<TargetFramework>net7.0</TargetFramework>
|
|
5
|
-
<ImplicitUsings>enable</ImplicitUsings>
|
|
6
|
-
<IsPackable>false</IsPackable>
|
|
7
|
-
<Nullable>enable</Nullable>
|
|
8
|
-
<IsTestProject>true</IsTestProject>
|
|
9
|
-
|
|
10
|
-
</PropertyGroup>
|
|
11
|
-
|
|
12
|
-
<ItemGroup>
|
|
13
|
-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
|
|
14
|
-
<PackageReference Include="xunit" Version="2.4.2" />
|
|
15
|
-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
|
|
16
|
-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
17
|
-
<PrivateAssets>all</PrivateAssets>
|
|
18
|
-
</PackageReference>
|
|
19
|
-
<PackageReference Include="coverlet.collector" Version="3.1.2">
|
|
20
|
-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
21
|
-
<PrivateAssets>all</PrivateAssets>
|
|
22
|
-
</PackageReference>
|
|
23
|
-
</ItemGroup>
|
|
24
|
-
|
|
25
|
-
<ItemGroup>
|
|
26
|
-
<ProjectReference Include="..\Cloud.Unum.USearch\Cloud.Unum.USearch.csproj" />
|
|
27
|
-
</ItemGroup>
|
|
28
|
-
|
|
29
|
-
<Target Name="PlaceNativeLibrary" AfterTargets="Build">
|
|
30
|
-
<ItemGroup>
|
|
31
|
-
<NativeBinaries Include="$(NativeLibDir)runtimes\$(TargetOS)-$(TargetArchitecture)\native\*.*"/>
|
|
32
|
-
</ItemGroup>
|
|
33
|
-
|
|
34
|
-
<Copy SourceFiles="@(NativeBinaries)" DestinationFolder="$(OutputPath)" />
|
|
35
|
-
<Message Text="NativeLibDir: $(NativeLibDir)" Importance="high"/>
|
|
36
|
-
<Message Text="Files: @(NativeBinaries)" Importance="high"/>
|
|
37
|
-
<Message Text="$(OutputPath)" Importance="high" />
|
|
38
|
-
</Target>
|
|
39
|
-
</Project>
|