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.
Files changed (102) hide show
  1. package/CITATION.cff +1 -1
  2. package/CMakeLists.txt +3 -3
  3. package/CONTRIBUTING.md +3 -3
  4. package/Cargo.toml +1 -1
  5. package/Dockerfile +16 -0
  6. package/README.md +41 -38
  7. package/VERSION +1 -0
  8. package/binding.gyp +57 -8
  9. package/conanfile.py +1 -1
  10. package/include/usearch/index.hpp +1 -1
  11. package/include/usearch/index_plugins.hpp +27 -23
  12. package/package.json +1 -2
  13. package/setup.py +76 -15
  14. package/wasmer.toml +1 -1
  15. package/. npmignore +0 -14
  16. package/.gitignore +0 -95
  17. package/.vscode/launch.json +0 -181
  18. package/.vscode/settings.json +0 -180
  19. package/.vscode/tasks.json +0 -71
  20. package/Package.swift +0 -41
  21. package/csharp/.editorconfig +0 -361
  22. package/csharp/Cloud.Unum.USearch.sln +0 -34
  23. package/csharp/DEV_SETUP.md +0 -51
  24. package/csharp/Directory.Build.props +0 -29
  25. package/csharp/README.md +0 -74
  26. package/csharp/build_and_test.cmd +0 -31
  27. package/csharp/build_and_test.sh +0 -30
  28. package/csharp/nuget/nuget-package.props +0 -33
  29. package/csharp/pack.sh +0 -56
  30. package/csharp/src/Cloud.Unum.USearch.Tests/Cloud.Unum.USearch.Tests.csproj +0 -39
  31. package/csharp/src/Cloud.Unum.USearch.Tests/USearchIndexTests.cs +0 -1013
  32. package/csharp/src/Cloud.Unum.USearch.Tests/Usings.cs +0 -1
  33. package/docs/_static/custom.css +0 -26
  34. package/docs/_static/custom.js +0 -7
  35. package/docs/benchmarks.md +0 -245
  36. package/docs/benchmarks.rst +0 -5
  37. package/docs/c/index.rst +0 -11
  38. package/docs/c/reference.rst +0 -7
  39. package/docs/conf.dox +0 -2668
  40. package/docs/conf.py +0 -53
  41. package/docs/contributing.rst +0 -5
  42. package/docs/cpp/index.rst +0 -11
  43. package/docs/cpp/reference.rst +0 -17
  44. package/docs/csharp/index.rst +0 -6
  45. package/docs/format.md +0 -86
  46. package/docs/format.rst +0 -5
  47. package/docs/golang/index.rst +0 -6
  48. package/docs/index.rst +0 -33
  49. package/docs/java/index.rst +0 -11
  50. package/docs/java/reference.rst +0 -7
  51. package/docs/javascript/index.rst +0 -11
  52. package/docs/javascript/reference.rst +0 -12
  53. package/docs/python/index.rst +0 -11
  54. package/docs/python/reference.rst +0 -42
  55. package/docs/rust/index.rst +0 -6
  56. package/docs/swift/index.rst +0 -6
  57. package/docs/wolfram/index.rst +0 -6
  58. package/golang/README.md +0 -95
  59. package/golang/go.mod +0 -3
  60. package/golang/lib.go +0 -379
  61. package/golang/lib_test.go +0 -108
  62. package/java/README.md +0 -22
  63. package/java/cloud/unum/usearch/Index.java +0 -337
  64. package/java/cloud/unum/usearch/cloud_unum_usearch_Index.cpp +0 -197
  65. package/java/cloud/unum/usearch/cloud_unum_usearch_Index.h +0 -125
  66. package/java/test/IndexTest.java +0 -30
  67. package/objc/USearchObjective.mm +0 -299
  68. package/objc/include/USearchObjective.h +0 -154
  69. package/python/README.md +0 -292
  70. package/python/lib.cpp +0 -1216
  71. package/python/scripts/bench.ipynb +0 -193
  72. package/python/scripts/bench.py +0 -137
  73. package/python/scripts/bench_exact.py +0 -44
  74. package/python/scripts/cluster.ipynb +0 -160
  75. package/python/scripts/index_faiss.py +0 -100
  76. package/python/scripts/join.py +0 -155
  77. package/python/scripts/test_index.py +0 -247
  78. package/python/scripts/test_jit.py +0 -231
  79. package/python/scripts/test_sparse.py +0 -32
  80. package/python/scripts/test_tooling.py +0 -133
  81. package/python/usearch/__init__.py +0 -0
  82. package/python/usearch/client.py +0 -124
  83. package/python/usearch/eval.py +0 -470
  84. package/python/usearch/index.py +0 -1401
  85. package/python/usearch/io.py +0 -113
  86. package/python/usearch/numba.py +0 -121
  87. package/python/usearch/server.py +0 -137
  88. package/rust/README.md +0 -66
  89. package/rust/lib.cpp +0 -136
  90. package/rust/lib.hpp +0 -69
  91. package/rust/lib.rs +0 -610
  92. package/swift/Index+Sugar.swift +0 -153
  93. package/swift/README.md +0 -48
  94. package/swift/Test.swift +0 -37
  95. package/swift/USearch.swift +0 -8
  96. package/wasm/CMakeLists.txt +0 -7
  97. package/wasm/README.md +0 -13
  98. package/wasm/lib.cpp +0 -5
  99. package/wolfram/CMakeLists.txt +0 -18
  100. package/wolfram/README.md +0 -13
  101. package/wolfram/lib.cpp +0 -160
  102. 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>