No project description provided
Reason this release was yanked:
Output incorrect for allxall pairwise similarity
Project description
semsimian
Installation
- Set up your virtual environment of choice.
- cd
semsimian
(home directory of this project) pip install maturin
maturin develop
python
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.
>>> from semsimian import Semsimian
>>> s = Semsimian([('banana', 'is_a', 'fruit'), ('cherry', 'is_a', 'fruit')])
>>> s.jaccard_similarity('banana', 'cherry')
This should yield a value of 1.0.
Releases
As of version 0.1.14, the semsimian source is released on GitHub, with a corresponding set of Python wheels released to Pypi.
To trigger a new set of builds, first update the version number in Cargo.toml
, then create a new release.
Wheels are prepared for the following environments and architectures:
OS | Architectures | Python Versions |
---|---|---|
Linux | x86_64, x86_64-unknown-linux-musl, aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl | 3.7, 3.8, 3.9, 3.10, 3.11 |
MacOS | x86_64, universal2 | 3.7, 3.8, 3.9, 3.10, 3.11 |
Windows | x86_64 | 3.7, 3.8, 3.9, 3.10, 3.11 |
Troubleshooting
Building for Mac ARM M1 architectures
If a import semsimian
results in a ImportError
warning about incompatible architecture, try the following:
- Install
conda
. This guide may be helpful. - Set up a virtual environment with
conda
so 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.
Code Coverage via Docker
Build a docker image:
docker build -t my-rust-app .
Run your tests inside a Docker container and generate coverage:
docker run -v "$(pwd)":/usr/src/app -t my-rust-app bash -c "CARGO_INCREMENTAL=0 RUSTFLAGS='-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort' cargo test && grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./target/debug/coverage/"
Get Coverage report from:
open ./target/debug/coverage/index.html
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
Hashes for semsimian-0.1.17-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebc6da531753ef4452ec57f23e35f8ace9d269ba4504bea42612e67c50cd7015 |
|
MD5 | d0680b7af9822054fe8ab590f3de1073 |
|
BLAKE2b-256 | d9ab72a91de216e9666a5b4be3384f802712e5c50a9c55feaffe3ed465f045f0 |
Hashes for semsimian-0.1.17-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0da41a9b88695cbf3edd9180e9d95f4f711c3494acb9fbdd80bea2d8cf7eaf72 |
|
MD5 | 4e59b09a79815662c1c7c5e31dc30b47 |
|
BLAKE2b-256 | 74c53c1df70bd79a68e40e6b360e7b3fb0b6676d3fbb5285c2872763456307c9 |
Hashes for semsimian-0.1.17-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3708a28b96bccb3ecadc936e4d2ab2d29429b99a9654e8edb0c24ca8eed6cff |
|
MD5 | d52b30830ad50893805947b1c404c1c8 |
|
BLAKE2b-256 | a03fd89d7d3fceb13c18df6142b902f288dd6f2f53b4cfb8888461f884a012e0 |
Hashes for semsimian-0.1.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba4cd86f21c88dae47369a5555384ee33b9f22cb4f650165ce43216dd5bf35a0 |
|
MD5 | 6166718af5cd95752794fd49450324f6 |
|
BLAKE2b-256 | c2f415ccd0fdbefccc824cbbda88ad4f76267b1bfea3a58b2c9c9e4b2dc0537c |
Hashes for semsimian-0.1.17-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c594601faad1d12563d1bb5b55c135574da295817ca8bd2e5ddae5b61ce8fbc |
|
MD5 | edd1584f455958eb13e24bf57e6bbef2 |
|
BLAKE2b-256 | 42847dbf711d4f61fb8da82523b01ba9a8a5bc6a6a3e36129087ef6ffda3cdf8 |
Hashes for semsimian-0.1.17-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68746f0093e9a09a8575c43df4a321dd7beef0e5f3d6938ef31391d4ffb6c64e |
|
MD5 | 9853069f45305dd031b724b8ed1ea961 |
|
BLAKE2b-256 | b1f39e77da97ba624d9f1a7dd4786edcbbfc3f14a68c7be99469296eaa07be86 |
Hashes for semsimian-0.1.17-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92d8047e7999b518fcd7256dd8a5056ac33d4482909c1b4191164aab624ca85 |
|
MD5 | 3ac7f586efdf9d60b766e4819080d230 |
|
BLAKE2b-256 | d4f99c8b3221602e8259ac8fde4e7220b5c66e74b77d983fef89bd504ffeecf0 |
Hashes for semsimian-0.1.17-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e257b6b11d5e6673fd6d22f9e68d6a8597fad83c55e224000b4963b9746d10e |
|
MD5 | e072953d9f729bcc4509a55214d5bb88 |
|
BLAKE2b-256 | dbdad45ab76423db62a29ffb634568f75fe15df808f55968d30172b9cbfdcebe |
Hashes for semsimian-0.1.17-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 635185ceab57b3268c08a43918e70c7bc32adf3ce8ec51ee25cf7a6a1277e081 |
|
MD5 | 7deb83751c929b54f62400f231014fcd |
|
BLAKE2b-256 | a5a8eee9565150196d5e494e9ba0dd2993368d6fd4e1374112b652feed25f4dc |
Hashes for semsimian-0.1.17-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92159a87e64f5476cb691c5c1ddb861f67fce0391b2a43f629056972c833c8c1 |
|
MD5 | 3da8c7c4b364406f2f20853852c1285b |
|
BLAKE2b-256 | d451503397c560e14f6cc68233eea552759b1c61c5068ac690d09a026f25a3e2 |
Hashes for semsimian-0.1.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee4773e2e82b2f7e04351a4e0c4266db74093508ef86a027ad70020722353ca1 |
|
MD5 | 59220be47042d1b3eec2796bd211a402 |
|
BLAKE2b-256 | b053a8ee0c5f011318f758586044a81e87ea4557fd409e4b43b6ebb04b9d21ee |
Hashes for semsimian-0.1.17-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659f1c4a5ec93db928829f382859b99a7fde637486c7fe23263adc877181906d |
|
MD5 | db3cc14138331d5f640914f11f992f20 |
|
BLAKE2b-256 | 15fc243257a66a464ed7aeff7a66613282df5e0ee6ecfb2160224dbcc0e0bc17 |
Hashes for semsimian-0.1.17-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b408bb87be7418782ef7a25aff5efdface82890dd443983de904b04195fe5d11 |
|
MD5 | e7d15cadbbc7ba428d72a880a6470b19 |
|
BLAKE2b-256 | de33fb4966826f67f3f58ba231e48cc91812fea0b94401b9f4f3430861487be8 |
Hashes for semsimian-0.1.17-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4ebcada6bf353e91c4100c3e05034d0b722505dab2f8abcb90d8ba8ab39eb1d |
|
MD5 | a043940fdc1d7c880789d12e932c19ef |
|
BLAKE2b-256 | be23659479f46507b13b54b20d5d045ccc97eb685152bc4964958633c6db6761 |
Hashes for semsimian-0.1.17-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38568203a33789791a2fa6178814795ab3b06ea3a0b4f93a3002e928a86d2ee4 |
|
MD5 | 7aada1bb541d5b0a03b8091620cda300 |
|
BLAKE2b-256 | 3b0bb26d20bd579d1df50f0d5a6e129dd996a55b53f8b846dc213842b890681c |
Hashes for semsimian-0.1.17-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9edf922a7c3fa2a0f72fea26c567c3ac821638c98f8bf912cc4b09db2fb14ab |
|
MD5 | a0a9c988a226be7750f18797c330031c |
|
BLAKE2b-256 | e0ca97f5f3fc200a1d660b5a24ff56cdcf1d74eb75cbd4b7340dd6fa056ac509 |
Hashes for semsimian-0.1.17-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cfeee93a46eebed417ccd0a9035cee318f12b9e899355e8c334b964e6dfdb35 |
|
MD5 | 3ba82a6e80500abfd4889de8e87a8125 |
|
BLAKE2b-256 | 17c28df8cc5a5a19c096f32e3583f46840b8a290c80dd70a21eec144a2493472 |
Hashes for semsimian-0.1.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d369bfe6c4f2905de6783fb1a9726d4c577e2b2a93c936bf524c841f086d394 |
|
MD5 | 05ec01f481b5c7ef2ea49f55a5a8df1e |
|
BLAKE2b-256 | 0e5f2efb4d1c47af4f61ad99345c006b05ba497c8d036491ccea77481cb2a3de |
Hashes for semsimian-0.1.17-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d278220a9c90bbbbacd10f44683f043ad1d60332b2241af4f07511aa8838ee96 |
|
MD5 | 64f702b1f028431747127b07f4241c8f |
|
BLAKE2b-256 | afff9b18bb5627ac2bb79ca8f8446e002bb460df4cd34943a070f64656f773ee |
Hashes for semsimian-0.1.17-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 507edc1f80a4f339a20387c8cc9ba2f44f1230bf1d9de06697a3370157b37d66 |
|
MD5 | 69e9f0b2b600f747faae1283b8014fae |
|
BLAKE2b-256 | 0f8ca06ddf2992546abe04e78b725357e56971232bf295d573a621ec022df82a |
Hashes for semsimian-0.1.17-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcd660c304e6ded7308cafca79d897364140d13bbc0e5614b8d5c812cba6ed4c |
|
MD5 | 8ba260d93812710ca7f129c6e5b532ee |
|
BLAKE2b-256 | d5adc589e8098e386e41684a623c38c517132ab647076ef028b2fae0cc03d875 |
Hashes for semsimian-0.1.17-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e359886353f000ad6ed106910e8c5565dc7717b010e0fc8f9a6cddd73663ac9a |
|
MD5 | 2b7f7797a602471107a5883856d3d8bd |
|
BLAKE2b-256 | d35593205a2783c31b6b5fa0b784f58eed55e7c063c3b9ffb10e1f4ae5b0a371 |
Hashes for semsimian-0.1.17-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a78a0a8621638ef0c0a82228e173838592bfaa6d07dc031e7e08dd808f9af1 |
|
MD5 | 3a3dee91d1db6bea4e315676a4b391d2 |
|
BLAKE2b-256 | 9d5905c82a93edbb8ce0519c213c138f8e9fbddd44423b1ed05be5c057524fa2 |
Hashes for semsimian-0.1.17-cp38-cp38-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e334d27092cd015c2cc3482c94ceecc3d4ef65ffe3118280b2ffa1fe4c17423a |
|
MD5 | 9afc0ae6fd819b5d9d623e6900d0d811 |
|
BLAKE2b-256 | e606dec4c20f39bca3e882ff30c691e9de5ed26fc5cdda9c23fd0725e68e7c2c |
Hashes for semsimian-0.1.17-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1718c2e3c28822c22fe4cbbe608984603208e461c3713d4c4007d0a4a0131321 |
|
MD5 | 0569b8f64dc76b6d491bb22ded686d16 |
|
BLAKE2b-256 | d4cc04454dafaae888c3bd095814eb4e169e8019a68ed3f277c0dc199a5031d2 |
Hashes for semsimian-0.1.17-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2691fa420ee9b2b388ca010480e47ed7cabc8bc6bfd9caf9489dafcb6177ca3f |
|
MD5 | 4831a689f81aea2d95b277846e28ae6f |
|
BLAKE2b-256 | d7ba85331facfaf8e9688d84c3a43d89978a2c164cd117f843c4ce2e9fdac285 |
Hashes for semsimian-0.1.17-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4461652884347f20058f7d33fd7661f5d203aacf2d3e7b4b9eaf5de124e6e82d |
|
MD5 | 1c5dbc01184ab960c37b02ecd66d3e1e |
|
BLAKE2b-256 | 5de92a8fec04c66d6f5553a50d57378429305d8a5eb63e8ac7651a1ccbe0eacd |
Hashes for semsimian-0.1.17-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b47227ec5149cc3e4363ebd70d130269ff398561b8b6662aa2fcde92272d590 |
|
MD5 | d379861fdd742e02f49a7d6a63f673a5 |
|
BLAKE2b-256 | 58bb4f3dfe467ae648215683a3d9bb71edfb613ff353873181c88bfa9635e16c |
Hashes for semsimian-0.1.17-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d5e2954697de7d8dfa0c2d7948773ce7eb5bc34d23d9994e07cfdde1d29d1d |
|
MD5 | 85f212ba7ab3882222848ce178dccdd7 |
|
BLAKE2b-256 | 35747ec440ecbc71402fb7ccf6cd994d8a842accdb9114fc808c2077fc04b06d |
Hashes for semsimian-0.1.17-cp37-cp37m-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac957c24f4360c7291d5b0a00d8eeda2693ca723669d6e503d4a8e13e92f970 |
|
MD5 | fce381faa7190f4b3778adb6027b9bfa |
|
BLAKE2b-256 | 18ce892c5c929159b4ac5f1321554d2b028323b6733183e5d83503aef657c4d6 |
Hashes for semsimian-0.1.17-cp37-cp37m-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af1cacdbd69f3598791994171112b74568c45ba978b4e261bc5f22f3f9d928c4 |
|
MD5 | 953f23e9f69bfa8d3b287cdd98fda0d6 |
|
BLAKE2b-256 | 14433c568c478e4fa8b011b736b68829dddd3a60d329287f36eb99aadc9c0f56 |
Hashes for semsimian-0.1.17-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aac032324fae285b1bec03e303411cf01693b7a4f3533ccfe70a6b12f12341a |
|
MD5 | e12cab41a3d5305bd536d4c40d902886 |
|
BLAKE2b-256 | c7d210ee0763a1fae44793384029751bd07cea9fd78027aecfbceb34160e847b |
Hashes for semsimian-0.1.17-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78605d6010d8cedb16f0c3149c5c1bf5156473836b2a49925fe93015b8f54cf |
|
MD5 | cc66f9d49b1a29903c467dcc81561a6e |
|
BLAKE2b-256 | 75f2056e0c71271f723f78e0b068c50a398452830707fe7d4cc3e9ca764b2e38 |
Hashes for semsimian-0.1.17-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a8aca618deabd44cffb3d62994fe53ece75740dc093048209521abd0903c2c8 |
|
MD5 | fb152d21133e50dc7b3af8ab7f6e06ac |
|
BLAKE2b-256 | 9dcea5716618f25d046593820e06e003df6c3ad6a61abbdedd0fc7d19044c3b6 |
Hashes for semsimian-0.1.17-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13d17fd620b49df8b39f2431ec92bfe2bc2e0c35113b902731a0b05294d37642 |
|
MD5 | 986f3c8371d2f73496977a1a7268de82 |
|
BLAKE2b-256 | 40fc008d087f3d02d6ce802f0ddf57bf72985017d8237ed52b94851c1bd40736 |