Comments (6)
@yurymalkov if you want to upload it in its current form I think you could just do
cd hnswlib/python_bindings
python setup.py sdist bdist_wheel
twine upload -r pypi dist/*
If you've never used twine
before, you will have to open an account on pypi.org and test.pypi.org, download twine and create your ~/.pypirc
as follows:
[distutils]
index-servers =
pypi
pypitest
[pypi]
repository=https://upload.pypi.org/legacy/
username=myuser
password=mypassword
[pypitest]
repository=https://test.pypi.org/legacy/
username=myuser
password=mypassword
Read more: https://packaging.python.org/guides/using-testpypi/
from hnswlib.
@scottgigante Thank you so much!
I think the second option is a bit better (keeps backward compatibility).
from hnswlib.
Hi @scottgigante,
It is in the plans, but, probably, I would need help to do it.
from hnswlib.
@scottgigante I would be nice if you have time to help with packaging. E.g. point out a good step-by-step guide.
from hnswlib.
@scottgigante Thank you!
from hnswlib.
@scottgigante I don't think it is so simple because of the #include "../hnswlib/hnswlib.h"
.
I am willing to help. There are two solutions:
- changing the structure of the git folder
- calling cp when wanting to publish a new version on pypi
Which one do you prefer @yurymalkov?
from hnswlib.
Related Issues (20)
- in readme supported distances mention cosine similarity but the equation of cosine distance is given HOT 2
- HNSW package for bun HOT 2
- multi vector search use case HOT 1
- hamming distance support
- Poetry add fails w/ error caused by "cc1plus: some warnings being treated as errors"
- Regarding the identification of elements with a high contribution rate in the inspection vector. HOT 3
- How can I ensure consistent results every time I run the code? I get different results each time I run the code HOT 7
- How to use C++ to run this code?
- ability to have a custom distance function
- Question : Implementing disk paging for index larger than memory
- Question: Single vs. Multiple HNSW Graphs for Nearest Neighbor Searches Across Multiple Companies? HOT 1
- Error: ‘_mm512_reduce_add_ps’ was not declared in this scope HOT 1
- CMakeLists needs a fix for some hardcoded flags HOT 2
- Question: Is index build time unstable? HOT 2
- Sharing: Single vs Multiple HNSW graph && Impact of parameters on HNSW search
- Purpose of label_lookup_ HOT 1
- InnerProduct possible BUG: 1.0 - sum(x * y). In faiss and milvus, its just sum(x * y)
- Illegal instruction (core dumped) when importing hnswlib HOT 1
- The IP space [1.0 - sum(AiBi)] might be inaccurate. Why not separate the IP from the cosine, and define the IP simply as [- sum(AiBi)]? HOT 1
- Loaded index query error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hnswlib.