usearch 2.8.7 → 2.8.9

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