Commit Graph

220 Commits

Author SHA1 Message Date
Dirkjan Ochtman f7c00b741c Fix clippy suggestions from Rust 1.54 2021-07-30 08:41:33 +02:00
dependabot[bot] 9ea727cdb8 Update pyo3 requirement from 0.13.2 to 0.14.1
Updates the requirements on [pyo3](https://github.com/pyo3/pyo3) to permit the latest version.
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pyo3/pyo3/compare/v0.13.2...v0.14.1)

---
updated-dependencies:
- dependency-name: pyo3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 15:22:58 +02:00
messense 6ccaedf5ff Fix crate name in README.md 2021-06-12 07:13:53 +02:00
Nicholas Rempel e62e7da06a Increment progress bar if we skip a word 2021-06-01 06:48:42 +02:00
Nicholas Rempel c1c5086454 Don't index non-letter characters in translation example 2021-06-01 06:48:42 +02:00
Nicholas Rempel 67778600ef Don't index English words 2021-05-31 20:04:52 +02:00
Nick Rempel fabe10271d
Add a translation example (#11) 2021-05-29 18:04:36 +02:00
Nick Rempel 48891336e7
Add basic example and update README (#10) 2021-05-25 22:00:51 +02:00
Dirkjan Ochtman ed9a488a27 py: store a generic type in HnswMap 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman 0dd6a4ece8 py: make Neighbor.value a Python object 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman 1660ad1521 py: bump version to 0.3.0 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman e9f77d8714 Expose result item getters directly from Hnsw/HnswMap 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman 07d2f1aedc py: reverse order of HnswMap and Hnsw 2021-05-21 17:34:33 +02:00
Nicholas Rempel 3d9e0a4b3d First cut of python bindings update 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman 99a473c298 Allow float shenanigans in test 2021-05-20 21:45:58 +02:00
Dirkjan Ochtman 2978ca7463 Bump version to 0.5.0 2021-05-20 21:41:23 +02:00
Dirkjan Ochtman 4a4ee88907 Simplify construction preparation 2021-05-20 20:58:59 +02:00
Dirkjan Ochtman 7288c9230a Actually test HnswMap results 2021-05-20 20:58:59 +02:00
Dirkjan Ochtman bdc0a51e10 Refrain from parallelizing insertion in the top layer 2021-05-20 20:53:53 +02:00
Dirkjan Ochtman 6fda656afb Add HnswMap::iter() method 2021-05-20 14:21:30 +02:00
Dirkjan Ochtman 4b43a11e26 Make search() return more information 2021-05-20 14:21:30 +02:00
Dirkjan Ochtman 20ca8b0f3a Explicitly group state for HNSW construction 2021-05-20 14:21:05 +02:00
Dirkjan Ochtman c8a9529355 Fixate random seeds for benchmark 2021-05-20 14:18:43 +02:00
Dirkjan Ochtman b1bd3525a1 Add a high-level HnswMap type (fixes #7) 2021-05-17 16:53:06 +02:00
Dirkjan Ochtman afd7f928f9 Fix up an outdated comment 2021-05-17 16:40:23 +02:00
Dirkjan Ochtman a557168349 Derive Clone for Builder 2021-05-17 16:39:33 +02:00
Dirkjan Ochtman 9fa957e0d6 Ignore .DS_Store cruft 2021-05-17 13:37:11 +02:00
Dirkjan Ochtman d6b0171e7a Take ownership of points 2021-05-17 13:27:25 +02:00
Dirkjan Ochtman 9b4eae13e4 Bump version to 0.4.0 2021-04-30 10:14:49 +02:00
Dirkjan Ochtman 8902b5b766 Upgrade indicatif to 0.16 2021-04-30 10:14:49 +02:00
dependabot-preview[bot] 331ac9464e Upgrade to GitHub-native Dependabot 2021-04-30 09:54:12 +02:00
Beau Hartshorne c9d23f37d2
Add files via upload 2021-04-20 11:07:03 -07:00
Dirkjan Ochtman 712a02f1e1 Fix formatting 2021-03-29 22:33:06 +02:00
Dirkjan Ochtman 89d066eb6b Allow access to the candidate distance 2021-03-24 15:52:20 +01:00
Dirkjan Ochtman e9d0d99eb4 py: bump version number to 0.1.1 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman cc5375a0dd py: add some comments 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman edb9451ddf Make PointId::into_inner() visible 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman c9f62ad3fb py: use integers as point identifiers 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman 90cea0f4c0 Add load() and dump() methods 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman bdcf58168a Override Python package name 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman 9593f0e168 Skip Python bindings in CI for now 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman a312efe5c9 Add Makefile to help with testing 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 0bd6d20b11 Ignore Python build artifacts 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman b3500d4a34 Add some Python code to test bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 09b526717e Initial version of Python bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 17ec0c9184 Add Search::get() helper for bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 1950ca2b3b Simplify creation of search result iterator 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 28d18d451e Add PointId::into_inner() helper for bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 349582b5b1 Add helper method for bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman afda7a0831 Set good defaults during builder construction 2021-03-18 12:59:39 +01:00