No project description provided
Project description
RustSim
- Setup your virtual environment of choice.
- cd
rustsim(home directory of this project) pip install maturinmaturin developpython
Python 3.9.16 (main, Jan 11 2023, 10:02:19)
[Clang 14.0.6 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rustsim
>>> rustsim.run("tests/data/test_set.tsv", "tests/data/closures.tsv")
should yield
TermSetPairwiseSimilarity {
set_id: "set3",
original_subject_termset: {
"apple",
"orange",
"banana",
},
subject_termset: {
"fruit",
"orange",
"apple",
"tropical",
"banana",
},
original_object_termset: {
"mango",
"banana",
"cheese",
"papaya",
"beef",
},
object_termset: {
"mango",
"fruit",
"papaya",
"banana",
"cheese",
"beef",
"meat",
"dairy",
"tropical",
},
jaccard_similarity: 0.2727272727272727,
}
TermSetPairwiseSimilarity {
set_id: "set1",
original_subject_termset: {
"apple",
"orange",
"banana",
},
subject_termset: {
"fruit",
"orange",
"apple",
"tropical",
"banana",
},
original_object_termset: {
"apple",
"orange",
"banana",
},
object_termset: {
"orange",
"banana",
"apple",
"tropical",
"fruit",
},
jaccard_similarity: 1.0,
}
TermSetPairwiseSimilarity {
set_id: "set2",
original_subject_termset: {
"apple",
"orange",
"banana",
},
subject_termset: {
"fruit",
"orange",
"apple",
"tropical",
"banana",
},
original_object_termset: {
"mango",
"apple",
"papaya",
},
object_termset: {
"apple",
"fruit",
"papaya",
"mango",
"tropical",
},
jaccard_similarity: 0.42857142857142855,
}
Troubleshooting
Building for Mac ARM M1 architectures
If a import rustsim results in a ImportError warning about incompatible architecture, try the following:
- Install
conda. This guide may be helpful. - Set up a virtual environment with
condaso that your Python build is aligned with your processor architecture (in this case, ARM). Try something like:
$ conda create -n myenv python=3.9
...setup happens...
$ conda activate myenv
and then proceed as above.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rustsim-0.1.11-cp311-none-win_amd64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp311-none-win_amd64.whl
- Upload date:
- Size: 191.9 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc8ad6a59c98131d24d1715aa7f8323fe7b6fa084296c180435104b994b170e
|
|
| MD5 |
8f7d81e07ceec673048ced0ae7163299
|
|
| BLAKE2b-256 |
2ae8baf664c48d30b2fffec9834e4aa75a5eca1d54031273a01327bd9e9ea081
|
File details
Details for the file rustsim-0.1.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86519d7df28490d7e5a1d15f9bc49f9690ffdb25f57a3d26f7d2495cbf7d9dec
|
|
| MD5 |
3d9f15f5050fc54c254727286c8a9180
|
|
| BLAKE2b-256 |
793ba9befce4351bd4a1298e77e0026a6fbdc8980ea79b7d68bae2c8f02730fd
|
File details
Details for the file rustsim-0.1.11-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: rustsim-0.1.11-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 655.3 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ac295d7da8fbfb975ffb7c718537b6d062e9e524732813d726d745d73e0cf45
|
|
| MD5 |
16e78bab8342997fd959063272e1df59
|
|
| BLAKE2b-256 |
9ca31fcc3481703fd448950b9ca6b798b8bf49f2fb8b934c9ef177bc1848bf4d
|
File details
Details for the file rustsim-0.1.11-cp311-cp311-macosx_10_7_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp311-cp311-macosx_10_7_x86_64.whl
- Upload date:
- Size: 334.4 kB
- Tags: CPython 3.11, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82f4c2e2ee573f62d0385c85bd2ce008c7bff2c12adee6c6ef56a4f88479282b
|
|
| MD5 |
cf8b3baf5de982628bbb871a8110f980
|
|
| BLAKE2b-256 |
f9f1780a042dd61665d785a796cf71b07f22270bb1781cea5edf10ca35af013d
|
File details
Details for the file rustsim-0.1.11-cp310-none-win_amd64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp310-none-win_amd64.whl
- Upload date:
- Size: 191.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acde2f7d456d2324d94447affa5b172b27792213fcce9170360003b49fc2aa83
|
|
| MD5 |
b6bcd43e7ababed07bf65a7a45f70968
|
|
| BLAKE2b-256 |
9fd17c712e8cc0b800f230919689049c79c99f3091ba7b2fefbcab4058337499
|
File details
Details for the file rustsim-0.1.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a443f78802b4829f2accaee67c14a52001654e4784289d952b7953e4f840246
|
|
| MD5 |
8fc8103e8aabd3213454a55e7abc8fb5
|
|
| BLAKE2b-256 |
f0af7c39a8fc1a8bbdff3d7f47017b534204a8df0c063dd5facd7441b06dddc4
|
File details
Details for the file rustsim-0.1.11-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: rustsim-0.1.11-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 655.3 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ba9a437d78d62661d6309e0fa95e772ef9da6ef32e4312e1a552f92a45d96d7
|
|
| MD5 |
1a55c3dee088949030a2cc47a8620746
|
|
| BLAKE2b-256 |
46ea0e5454086bc359c27adf6a9bb2f0dfdc3111cf3be5434cc2c0687d4ac569
|
File details
Details for the file rustsim-0.1.11-cp310-cp310-macosx_10_7_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 334.4 kB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62e090168f1f780e8708ad8ee12f2642e1fce64940e7d4ad94d339928c90e562
|
|
| MD5 |
31f4144733342ba8f1cd0cb7135d5a03
|
|
| BLAKE2b-256 |
ca630346f857e1dffc480ee34136ac43aa8364b68b7c8b76a86dc29e02e653c3
|
File details
Details for the file rustsim-0.1.11-cp39-none-win_amd64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp39-none-win_amd64.whl
- Upload date:
- Size: 192.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe64f874088f4901048895417b8518f3bd751b502e0633b2ca3a45f41dff830c
|
|
| MD5 |
7dbb2f3aca248a488e9968a261c72983
|
|
| BLAKE2b-256 |
2a23978ccdc4ce8067fd19a1d8a5f276e29bff3c25709edae02c9a567753fa20
|
File details
Details for the file rustsim-0.1.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e4f470fff21f2676b7832d34a62f4a2e3b6ed28d4d274ab59eaf48eebd6b5c3
|
|
| MD5 |
7abcd7f05ee41bda3e95af1fd4891287
|
|
| BLAKE2b-256 |
c125f32993c3696f6931f94548f7317778f7422eddc85ab47ed07c1988538552
|
File details
Details for the file rustsim-0.1.11-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: rustsim-0.1.11-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 656.2 kB
- Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fab3970d3c25c1c94764dfc282256e1785a1a4189b6053b1954468dabccaa0b3
|
|
| MD5 |
8efa9445eda1f2da31860e983a341d34
|
|
| BLAKE2b-256 |
8e9f0239583b15002e4d5a35132d38f1e9863a6141951647224544e2c578da63
|
File details
Details for the file rustsim-0.1.11-cp39-cp39-macosx_10_7_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp39-cp39-macosx_10_7_x86_64.whl
- Upload date:
- Size: 334.7 kB
- Tags: CPython 3.9, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72320dd85fd8d5d5b1a1084d82a9a287bb5088fb6729fe8ca32f54d6a97e5ce1
|
|
| MD5 |
82e3d0871ca7cc8692080fc3430635e1
|
|
| BLAKE2b-256 |
2423103532734541cb4532bb57abbc333bf24d1a62c89d0139c5790c73e6d1b2
|
File details
Details for the file rustsim-0.1.11-cp38-none-win_amd64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp38-none-win_amd64.whl
- Upload date:
- Size: 192.1 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbe4d0a6b7c8350609c4afe58c502431bd054f5e6a1fa58810b8d896357b8d42
|
|
| MD5 |
2bf977a87824599354c97481b3171d8b
|
|
| BLAKE2b-256 |
753b0bb8a9aeb0314b8c0cde776d8d50536d7a388c627ab23d620071a5d429e9
|
File details
Details for the file rustsim-0.1.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1daadc06c5a989efeab36d7677269086f809937bf28c92199154dd044ee38317
|
|
| MD5 |
16e18206e19e625ae3f50ba798931a17
|
|
| BLAKE2b-256 |
7714209a3ed48e0fa8ba7ead3d1a051927967b714bf0ce9b223ff70738a45a3f
|
File details
Details for the file rustsim-0.1.11-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: rustsim-0.1.11-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 655.8 kB
- Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b058372da9f9b5896e25853017ab8e8ed368db23f301c6e4ae979b2093321888
|
|
| MD5 |
7a8c061653c109ca9c88f53122bef413
|
|
| BLAKE2b-256 |
0d1414e8fe7f185b38cd65d9da5a130981d5c906f9259408a1e4bba5cf0dbb10
|
File details
Details for the file rustsim-0.1.11-cp38-cp38-macosx_10_7_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp38-cp38-macosx_10_7_x86_64.whl
- Upload date:
- Size: 334.5 kB
- Tags: CPython 3.8, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1083d1a9bb0708371d7e009b26fb2d64d8375177afa925bd4b76b693f79a85b
|
|
| MD5 |
269a94af2c617437209b6ca2b8396eec
|
|
| BLAKE2b-256 |
2319b36363245b07334e73b678c2855951b7977895613dac4563e3853566dc2f
|
File details
Details for the file rustsim-0.1.11-cp37-none-win_amd64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp37-none-win_amd64.whl
- Upload date:
- Size: 192.1 kB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8636f4423d57ac2e215b6335444adea81737b5be5a4837bd7861a19b894efa4
|
|
| MD5 |
939a773dd7e7c4d3be9e9a592c027bc5
|
|
| BLAKE2b-256 |
0cdd9c7c69bdc9e1a95a37579f0bf283169f56bf864191330242af42425749bf
|
File details
Details for the file rustsim-0.1.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aeac58878e35f56d7a0835a4995403871b10403fa66b37ac1ef9a03dfffd768
|
|
| MD5 |
edba5b1a3a03593c82d56f6b3b698fc8
|
|
| BLAKE2b-256 |
319164c4b5c153e9f1eadb4a447ab5ad6d0cfc9519bf1243357ecef25eb088f5
|
File details
Details for the file rustsim-0.1.11-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: rustsim-0.1.11-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 656.1 kB
- Tags: CPython 3.7m, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1f9044b9761a3774f80a58822aa75fbb162cd13f8bef6f98ce3e51977fbdb0e
|
|
| MD5 |
0b5a7576f324cf7e5ff60a9f7072864c
|
|
| BLAKE2b-256 |
9d951649fb94e37eb2cb7090c50a79c9be0ffe8b4f1fdf78850dd5b7a472977c
|
File details
Details for the file rustsim-0.1.11-cp37-cp37m-macosx_10_7_x86_64.whl.
File metadata
- Download URL: rustsim-0.1.11-cp37-cp37m-macosx_10_7_x86_64.whl
- Upload date:
- Size: 334.5 kB
- Tags: CPython 3.7m, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.14.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5575235c190710d8417d047cc94932909ca8585f8ea1fa627f97191c7bd2ce5d
|
|
| MD5 |
8e2103fb36ad2a0068b9605e2f600fb0
|
|
| BLAKE2b-256 |
e544258404a2f77a46e0472e6a57fd70af3a5f3b7dc61a7e9956b1e801b04815
|