Commit Graph

197 Commits

Author SHA1 Message Date
Dirkjan Ochtman 5ad085cdec Remove authors from Cargo metadata (per RFC 3052) 2023-01-27 11:09:41 +01:00
Dirkjan Ochtman 91f67b77c4 Use 2021 edition for inlined format args 2023-01-27 11:09:41 +01:00
dependabot[bot] 88d66186da Update pyo3 requirement from 0.17.1 to 0.18.0
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.17.1...v0.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 14:06:17 +01:00
Dirkjan Ochtman 31d7ac3fc2 Upgrade to PyO3 0.17 2022-08-29 22:27:43 +02:00
Dirkjan Ochtman 68fa93de0c Ignore faulty clippy lint for now 2022-08-12 18:25:52 +02:00
Dirkjan Ochtman 281b6b89d8 Bump version on instant-distance
Due to using indicatif in the public API.
2022-08-01 14:24:46 +02:00
Dirkjan Ochtman 78770b2b7a Upgrade indicatif to 0.17 2022-08-01 14:24:46 +02:00
Nicholas Rempel 10bb5e7468 Upgrade dependencies 2022-07-08 09:38:34 +02:00
dependabot[bot] f90bb0a727 Update ordered-float requirement from 2.0 to 3.0
Updates the requirements on [ordered-float](https://github.com/reem/rust-ordered-float) to permit the latest version.
- [Release notes](https://github.com/reem/rust-ordered-float/releases)
- [Commits](https://github.com/reem/rust-ordered-float/compare/v2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: ordered-float
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 15:19:15 +02:00
Dirkjan Ochtman cce042978c Update dependencies 2022-03-28 11:21:02 +02:00
dependabot[bot] c46487ff55 Update pyo3 requirement from 0.15 to 0.16
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.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 14:14:58 +01:00
dependabot[bot] c9545492ed Update parking_lot requirement from 0.11 to 0.12
Updates the requirements on [parking_lot](https://github.com/Amanieu/parking_lot) to permit the latest version.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.0...0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 14:12:36 +01:00
Dirkjan Ochtman c302360587 Leverage simplified Python protocols 2021-11-10 09:44:50 +01:00
Dirkjan Ochtman b0c7dab6e5 Fix rustflags setup for PyO3 2021-11-10 09:27:19 +01:00
Dirkjan Ochtman da5c38c730 Upgrade to pyo3 0.15 2021-11-10 09:24:03 +01:00
Dirkjan Ochtman abb2777d1c Force rm in clean target 2021-11-10 09:23:50 +01:00
Dirkjan Ochtman 9ae2bf60c9 Add clean target to Makefile 2021-11-10 09:21:52 +01:00
Dirkjan Ochtman 08cc3a78df Support compilation outside x86-64 2021-11-09 17:09:52 +01:00
Dirkjan Ochtman 563d5cbcbf Apply clippy suggestion 2021-10-25 11:44:08 +02:00
Dirkjan Ochtman 6a7ae03ee9 Add minimal pyproject.toml 2021-09-15 16:34:59 +02:00
Dirkjan Ochtman 47f59b361f Add workflow for publishing wheels 2021-09-06 16:55:02 +02:00
Dirkjan Ochtman b182de5f70 py: bump version to 0.3.1 2021-09-06 16:55:02 +02:00
Dirkjan Ochtman c0597bfad9 py: test Python bindings in CI 2021-09-06 16:55:02 +02:00
Dirkjan Ochtman a2651efc1c py: extend Cargo metadata 2021-09-06 16:55:02 +02:00
Dirkjan Ochtman 7281843cea Link to translation article 2021-09-06 16:55:02 +02:00
Dirkjan Ochtman 58e34ef1c2 Update links to new GitHub org 2021-09-06 16:55:02 +02:00
Nicholas Rempel bad1f757ce Add LICENSE 2021-08-18 22:05:57 +02:00
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