Commit Graph

50 Commits

Author SHA1 Message Date
Dirkjan Ochtman ef34bb311c Silence new clippy false positive
Previously silenced ones now appear to work correctly.
2023-12-29 09:49:06 +01:00
Dirkjan Ochtman 5fa63b0c85 Upgrade pyo3 to 0.20 2023-10-12 16:26:16 +02:00
Dirkjan Ochtman dc0bc5a219 Bump dependency for GHSA-45c4-8wx5-qw6w 2023-08-02 10:04:00 +02:00
dependabot[bot] 855cf8c19a Update pyo3 requirement from 0.18.0 to 0.19.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.18.0...v0.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 17:52:48 +02:00
dependabot[bot] 52a6ca2dcd Update serde-big-array requirement from 0.4.1 to 0.5.0
Updates the requirements on [serde-big-array](https://github.com/est31/serde-big-array) to permit the latest version.
- [Release notes](https://github.com/est31/serde-big-array/releases)
- [Commits](https://github.com/est31/serde-big-array/compare/v0.4.1...v0.5.0)

---
updated-dependencies:
- dependency-name: serde-big-array
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 15:12:03 +01:00
Dirkjan Ochtman f1cb9ee234 py: bump bindings version to 0.3.5 2023-02-02 13:12:25 +01:00
Dirkjan Ochtman 36e528f9fb py: bump version to 0.3.4 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 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
Nicholas Rempel 10bb5e7468 Upgrade dependencies 2022-07-08 09:38:34 +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
Dirkjan Ochtman c302360587 Leverage simplified Python protocols 2021-11-10 09:44:50 +01:00
Dirkjan Ochtman da5c38c730 Upgrade to pyo3 0.15 2021-11-10 09:24:03 +01:00
Dirkjan Ochtman 08cc3a78df Support compilation outside x86-64 2021-11-09 17:09:52 +01:00
Dirkjan Ochtman 6a7ae03ee9 Add minimal pyproject.toml 2021-09-15 16:34:59 +02:00
Dirkjan Ochtman b182de5f70 py: bump version to 0.3.1 2021-09-06 16:55:02 +02:00
Dirkjan Ochtman a2651efc1c py: extend Cargo metadata 2021-09-06 16:55:02 +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
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
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 2978ca7463 Bump version to 0.5.0 2021-05-20 21:41:23 +02:00
Dirkjan Ochtman b1bd3525a1 Add a high-level HnswMap type (fixes #7) 2021-05-17 16:53:06 +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 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 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 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