No project description provided
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for semsimian-0.1.20-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43af3c0389bc608bfa42be5eeff7869e80c0ced5affe02ac00a10bd1b3221da6 |
|
MD5 | 409634f38e21bc035ad3df30bd12c6f5 |
|
BLAKE2b-256 | 81900f8986b3e3eed41d73971aa650f0d7202ae2bacd5db16f51e538cad9f99f |
Close
Hashes for semsimian-0.1.20-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8240a75fcb23c3c0ed7e21c44dec80b63d0a0cf25e585e912021521df9690108 |
|
MD5 | 813b93d53ffe9c9415228dfaf188038b |
|
BLAKE2b-256 | 8daee010a7ac0e24467f4a6ac5eb6e4001a0430ce81cb308297ea6b07ea8bddd |
Close
Hashes for semsimian-0.1.20-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd46c074366bc86adebbb34fbd3cc8d71de0430adfeb4a021aca2e56167190f0 |
|
MD5 | ffdd54b0bf7fa787ce072b8b85bf58af |
|
BLAKE2b-256 | c183442b6f96349a44108daeb59a63748c87214f6036d0d6da808d695c257ed8 |
Close
Hashes for semsimian-0.1.20-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94970b0ff2a154006624435ffe3e4710f879777e7e2b24b8714620aeba8fe10 |
|
MD5 | 36122f5bdcbeef7af67f9d8e934beac8 |
|
BLAKE2b-256 | 8570528f975beed6b4f92dfb53ed120277eb67bf4e661b27674e770688a48028 |
Close
Hashes for semsimian-0.1.20-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3cda48d5752bf1315dab40d2373d547da06814aab55a6ccd49a645b70232e3 |
|
MD5 | f33fc649e67f2272e9c24c7828a4145e |
|
BLAKE2b-256 | 6c8f78b539f6dfc2201707ec4489cec445411769e3d71c0703ed9ff47b65a9f3 |
Close
Hashes for semsimian-0.1.20-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a75fe47128a04cf1612b8c81869d27b8c5b3e37320cf8a66d3098ad13f9e7bc8 |
|
MD5 | d8aeb12123dc80ebce6d40e9d7c9374c |
|
BLAKE2b-256 | 1dccfb76d3cf3b2a9d551afb74b56ea00073b1d3328b3fa4c6f34df2f475901b |
Close
Hashes for semsimian-0.1.20-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99fe596e10ef5b6f2a6ae7c8df6722e18eb62de5df6558a57105cfc0cc6d06fa |
|
MD5 | 82d702bde2505c2cce6d2ef5d2861203 |
|
BLAKE2b-256 | 50f3b200a01db8052fade49dd25783835bd60a2eff3b61fb05b860b592a6caf6 |
Close
Hashes for semsimian-0.1.20-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aedb40b5ea6415938ab1750bbeec2394d40d036c69ba1a1f59a18697f4a466cb |
|
MD5 | 4eb08de862d1cf6acdf42c9039a12a19 |
|
BLAKE2b-256 | b1e5738db4a192eadbd39264107fb680def89af32bc4e4ca004cf9bf97ae55ec |
Close
Hashes for semsimian-0.1.20-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01040e88c8c14eb2f8b4fba8966132557306f44827b6bde9b7c77e6c003c4286 |
|
MD5 | 50a99dde2f9e4784ca4e2761b898783b |
|
BLAKE2b-256 | 1e72da7963c5207fb24dc70d858ec17037d2ee80527b3a11ab5c9a389d879bdc |
Close
Hashes for semsimian-0.1.20-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb59b8956cfe7e6323f0e6a3128887d6ccfa776a4265c980b8299b22c7bb0bf0 |
|
MD5 | b109c2854d136baead7a920a2d08b7c3 |
|
BLAKE2b-256 | 7692ade2dd3e4f5b8d2b4d324062f4e7d6790829aacb36e5f4bbd12f3f9e2ee5 |
Close
Hashes for semsimian-0.1.20-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ee5334b98b00148efb8f3bd77e931fd3e27509fb88fee140d3d670f28abe02 |
|
MD5 | 42a35e567405a9d85dd2d5931548a842 |
|
BLAKE2b-256 | 688938b0ecc88f12ed6302ace47be9a9f4a2e7fa4fbc01b83d383ffe69758014 |
Close
Hashes for semsimian-0.1.20-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38ab6b1fce4041175bec83f16861609d553cdffc036f17c10767c53026ea313f |
|
MD5 | ec729764c2d2d348ab6c6a502acf8a93 |
|
BLAKE2b-256 | 77734e4046679937b7fe5b674366477d928f1cdfb02c47d35e077f36ea86b3fa |
Close
Hashes for semsimian-0.1.20-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 692e9c62383d7c9282fd9fd0aa09efa31f72c708b70a78b1eeec57e52f637294 |
|
MD5 | de497d5b1e0d521b67713d5de31139f6 |
|
BLAKE2b-256 | 416e9b167c0e267ec586b1adae6310bf2aaf67a32456c5cbe9f10aab7cdcb278 |
Close
Hashes for semsimian-0.1.20-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1c82fc4228373383254845d9f2b7537ba6a8058857f94e68b36e332828f6ad7 |
|
MD5 | 1d2c454f6f03c89d421a7591e7942f83 |
|
BLAKE2b-256 | 6907bd095c83f833fa1d9eea031a54e3180d8dd741ca3e7a80c6c80f839780df |
Close
Hashes for semsimian-0.1.20-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2964cb334833051f20030023aef0d9efa6d31b14b5144a7530075ba5aa47156 |
|
MD5 | 03c97b36f068d78bc1a73eebc055859b |
|
BLAKE2b-256 | b7efd19d61b3c7682e90f0ec4e6b06ab3df03c1b71f353dba3548a9386f24875 |
Close
Hashes for semsimian-0.1.20-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43a680550d4cefcaf6b875b85e7f2ca8a9f857ed16d74d4ec292e0488b8238a1 |
|
MD5 | 4d73c0d1cac80ccc6292a08e9869f471 |
|
BLAKE2b-256 | aada4dd50d2d927d15682edeaa8fe69bd882d7be0c9d5cb62d18eca39de55565 |
Close
Hashes for semsimian-0.1.20-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a6b055152f88a51e0d9df9ab4dc541a38a93556631fb1728ff4c7796e0db66 |
|
MD5 | 6021114dc97965b120a68f6651894252 |
|
BLAKE2b-256 | 67844e09498bad887b046bb7fc2409940c4050404e85f7fee77292a8d6cec468 |
Close
Hashes for semsimian-0.1.20-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2538c8323a04d647faea15648a066efd8efae93d9610c32859efb4d3d441983b |
|
MD5 | c398e82b48eb60f6b3012436ee650f61 |
|
BLAKE2b-256 | beacd89fdf25cc3e6424bd9c0add27a6054388ef56217c90a0ae629f71c5f663 |
Close
Hashes for semsimian-0.1.20-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 610712a695b000e19fc4d0f69d2176e548a0418d2178beb3ea0bba1bed23e677 |
|
MD5 | 903488bc4a130378ea19d64e4ad2544b |
|
BLAKE2b-256 | 438f6877f816b9b1cef7c664993ba11980105e7717b337ebd807be4d2a134aed |
Close
Hashes for semsimian-0.1.20-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46d81efb7f456e56f5c0aa7e6b3a87de996a26fa9753710d0751af798a6970db |
|
MD5 | 5c8951926728bd1516168cff923f8831 |
|
BLAKE2b-256 | 0e87f03ac08f310beca95d22d7bb3582ace433d111275a8209627d1a6a502596 |
Close
Hashes for semsimian-0.1.20-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15efe57d3c5c4004193e70b14ea25390254bc82c1ff8f4386417990817e47e03 |
|
MD5 | d453d82831b749dc5394a3cd26e9f7f7 |
|
BLAKE2b-256 | 2aa1c0b4aa0c0d66b84583e943133a78e7870218ff2eab272d5b2ad99e9d76a0 |
Close
Hashes for semsimian-0.1.20-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec8ec1065f11c405d45c0d453d23064d2a4c46f14ba7fb42716bef4e846da70c |
|
MD5 | bb2ae825244d26629ef3a66bad50cba0 |
|
BLAKE2b-256 | f588b1358ca1a78740af8fcade4f322e64b9c408db1ee839f9c6ef8ec243ea1b |
Close
Hashes for semsimian-0.1.20-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2902aeb1aebf713a08826a1b580d208a2989758eff37192d937529c04fb61cb7 |
|
MD5 | cd227b2f5d16bf201fb41014edc489b2 |
|
BLAKE2b-256 | dbf7965b997089659983a7e18ddb16aafdaa7a861f8694c9a0984053706e1553 |
Close
Hashes for semsimian-0.1.20-cp38-cp38-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e1e6f7fafa8e36047fa8dedd76de6cf4135e143cdc82a4221a01426b9b7b06 |
|
MD5 | 973a9d2666f34289b5b41f84d671b994 |
|
BLAKE2b-256 | babea79af93c2b83ee5c9e71c93f6ce3370626e8d3dd9dc25378d6d55b791afc |
Close
Hashes for semsimian-0.1.20-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff25773784ef7b407b074005d4312c141c7ca766d9e9b46075ffad0b85a5cbad |
|
MD5 | b54b72711260987f1a161f62fe9fae8a |
|
BLAKE2b-256 | 21764e8b87d32e22cc2df6f5276a13e91946651c2828037d75202dd2a555b1fb |
Close
Hashes for semsimian-0.1.20-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1cd76b50487ae99aa5ad2ea2c7b9b053a5cc64b5eb524c011b7759869c7595 |
|
MD5 | 990fb6716b491a7950c4660cc2ccaefd |
|
BLAKE2b-256 | 137cb7f0d3cfed9ae60e51172c3e23f9108c991ccfac8bdd0df9470ffb47abe2 |
Close
Hashes for semsimian-0.1.20-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c94e3da36dd60ccdffcb8bfb9955116864f84728df604718a4d9ef085eba577 |
|
MD5 | d9f08f71b4ef80905da798abef1a70a0 |
|
BLAKE2b-256 | 5495f2c55e1c9899338fc02da7e6564aa2542639a986d72c75b9b80ee382b4b4 |
Close
Hashes for semsimian-0.1.20-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d54cd78088d7f1a61ca476e33a9bb67497fb48f8b128d0c9f3decf038a1be3bf |
|
MD5 | f1ae0313cbcf2e837e5c1aaaeae5d74b |
|
BLAKE2b-256 | d0f8b312151b04eea27bb03115d7ccd6100e3f6a0ce9b25b04a9a0269c613fbb |
Close
Hashes for semsimian-0.1.20-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7886c4cfca634f60e5bdfddfcec6377367c20814701c522c989c2bbbd967d46e |
|
MD5 | 07439565742a2863575b0dcb71cdfa68 |
|
BLAKE2b-256 | 61f3b7591fc01e1c83bf47dfa20eac142f4c91934d124183029c3e66d278bd8f |
Close
Hashes for semsimian-0.1.20-cp37-cp37m-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09863942a9899ffd01181dca8fd7b96b36b15d06fc04d1bc39e22df057225473 |
|
MD5 | 7a7cdb7c8c2b115be2ed6c08d108b8bb |
|
BLAKE2b-256 | 44500b76cfef505b95d08e405280dd84c37dd219fac609805870846dac51fa2c |
Close
Hashes for semsimian-0.1.20-cp37-cp37m-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be7981290508d7531137785d263fea5b8c2ee60979f182b53be8a436eae4430d |
|
MD5 | 7ed3c511ba987ce371ec0caf96c202cb |
|
BLAKE2b-256 | e2e710625ef10c8135a1a18e4146a3a53cd6e1059a060c300c9f98b13f1284de |
Close
Hashes for semsimian-0.1.20-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43123831c832ff2419275bbca5a182b96239fe24fb57273f08954ed9f6a98cf6 |
|
MD5 | 0614b527fb7c27921a0b11a557f338b5 |
|
BLAKE2b-256 | 5561f05d15ee364a4433847bea5990597515e0793358673a6c3044e19da91508 |
Close
Hashes for semsimian-0.1.20-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94266ca66fbe4cfdc0752bc93e19f56847b9d61301fcd302500a7ac3d039a455 |
|
MD5 | 3ec36dc7d4374cf4bb015ebe40503a7c |
|
BLAKE2b-256 | 3b0d87ebfbf745315508f37cdf0c550161d61327c604f5a9f527843e1cbc1cea |
Close
Hashes for semsimian-0.1.20-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45578ab8eb62bfeafc5905694cb2640f329ebd272b99c2e88cfd9afdf698aee4 |
|
MD5 | 734e5f6758471f5d87846bbb69aae98c |
|
BLAKE2b-256 | f893762d8b7a102783019be8c135aaaee112f3d05717a7dc4c5f64890402ebd7 |
Close
Hashes for semsimian-0.1.20-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77034a4c2ea696098d0938e2e1b1fc092208de4aa3c40c78850fd44783859fc7 |
|
MD5 | af7cca975cf4bf7b355ed445203df433 |
|
BLAKE2b-256 | 9a1a4864d19b455635d6a26f2862dbe7547c02aab515bdd47fc58ee438083409 |