Skip to content

Commit 1b55ade

Browse files
committed
edit workflow permission / fix links
1 parent a68d66a commit 1b55ade

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ jobs:
126126
upload_pypi:
127127
needs: [macos_wheel_m, macos_wheel_intel, linux_wheel, windows_wheel, source_dist]
128128
runs-on: ubuntu-latest
129+
permissions:
130+
id-token: write
129131
# try to publish only if this is a push to stable branch
130132
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
131133
steps:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<p align="center"><img src="https://github.com/tataratat/napf/raw/main/docs/source/_static/napf.png" width="50%" title="nurbs"></p>
22

3-
**napf - [nanoflann](https://github.com/jlblancoc/nanoflann) wrappers for python and maybe fortran**
3+
**napf - nanoflann wrappers for python and maybe fortran**
44

55
[![main](https://github.com/tataratat/napf/actions/workflows/main.yml/badge.svg)](https://github.com/tataratat/napf/actions/workflows/main.yml)
66
[![PyPI version](https://badge.fury.io/py/napf.svg)](https://badge.fury.io/py/napf)
77

88

99
## python
10-
As `nanoflann` offers template classes, separate classes are implemented in `napf` for each ___{datatype, distance metric}___. All the search functions are equipped with multi-thread execution. Uses [numpy.ndarray](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html) for data input and output.
10+
As [nanoflann](https://github.com/jlblancoc/nanoflann) offers template classes, separate classes are implemented in `napf` for each ___{datatype, distance metric}___. All the search functions are equipped with multi-thread execution. Uses [numpy.ndarray](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html) for data input and output.
1111
Currently, the combinations of following options are supported:
1212
- `data type`: {__double__, __float__, __int__, __long__} _(corresponds to {np.float64, np.float32, np.int32, np.int64})_
1313
- `distance metric`: {__L1__, __L2__}

0 commit comments

Comments
 (0)