Commit Graph

204 Commits

Author SHA1 Message Date
Dirkjan Ochtman d6807f6a8c py: see if we can build multiple Python versions in Windows 2023-02-02 12:51:45 +01:00
Dirkjan Ochtman bfcba4b3b7 py: quote Python versions in Actions workflow
3.10 might be interpreted as a float, yielding 3.1.
2023-02-02 12:51:45 +01:00
Dirkjan Ochtman f11818e4c7 py: use asyncio.run() function 2023-02-02 11:50:48 +01:00
Dirkjan Ochtman 7caae1db16 py: bump aiohttp dependency to 3.8.3 to avoid build error 2023-02-02 11:50:48 +01:00
Dirkjan Ochtman 0fec80bb4a py: upgrade Python versions 2023-02-02 11:50:48 +01:00
Dirkjan Ochtman 45e3d9ba94 py: upgrade to latest maturin 2023-02-02 11:50:48 +01:00
Dirkjan Ochtman e5cabfb830 py: bump bindings version to 0.3.3 2023-02-02 11:50:48 +01:00
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