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.2.0rc2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b180dc7f3b1a702853af0ac5a48a23947e2b57e762cad0272534d2118e01b41 |
|
MD5 | a8415cbe3679784e13e97ed053d7f556 |
|
BLAKE2b-256 | 5357934619f1891a5d515d41d155baf3941ff49d50430ff3287b26a1dbe4337d |
Close
Hashes for semsimian-0.2.0rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d47d5fcd5c71221b0bc24efdddf04909e6059a69e2ff31bb7ece0bd7dcedcb3 |
|
MD5 | 2464edd33b6b88e522398e89708ba9e6 |
|
BLAKE2b-256 | 6bc69cf2f552f981dca67ac56457cd5f2e6870233b41d4e9abe080839c393df6 |
Close
Hashes for semsimian-0.2.0rc2-cp311-cp311-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d86defca5f64dc940252fe8b300f933169d0e35d57439591228fd8ce84c3278 |
|
MD5 | 722b72dade821dda9096a7244f77f966 |
|
BLAKE2b-256 | 6194efe82809585f28b7f105d0bc33b76068f1b61509e9c2d84d085823f87c27 |
Close
Hashes for semsimian-0.2.0rc2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 073741f71e1c8b7f22a8ac0b69833a48d751c69d64023621297e5df86c5d9a6c |
|
MD5 | 0a725eb95011cda84106cff4272f40d3 |
|
BLAKE2b-256 | 731a3c1148cd9664e8ff33deb50bdb6733b1df736f63ad87d099196d6a075d4e |
Close
Hashes for semsimian-0.2.0rc2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44847d271257d74878fc5569fc95b9d0848822de31429d8eb1abdd7eeace7965 |
|
MD5 | 20c15b9e3668583044da323c688edc90 |
|
BLAKE2b-256 | a6bb7e833101e369132ca56d3526dae2d086def7019a1b04ad6495bfc8b5894e |
Close
Hashes for semsimian-0.2.0rc2-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9477aba4304b788062f678ae01f2d60a4fd46106109cf6eb7bccc0fb6ed68f8d |
|
MD5 | 092d870eeccf2805617c1e11754ddc12 |
|
BLAKE2b-256 | 2e06d910d4b4469ea129d8a7033fa4aedf6d8412987b8221653ad0cc6ea0861f |
Close
Hashes for semsimian-0.2.0rc2-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd6d14213145ab1c9e788a4f3703392a06607075fe115435c7d0c286eeaf570 |
|
MD5 | 55f9fb6ddad8530f74f42164a17e8529 |
|
BLAKE2b-256 | 986028e002db6ae810de25d8b6c345373229188203898d90e444feb323e84686 |
Close
Hashes for semsimian-0.2.0rc2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19f63b27f26d69b61bcb14fbf99f361f0cf7a3db75fc6a381843fb1250cd333b |
|
MD5 | 72fab49a33f6c6a265edfc06b87997b2 |
|
BLAKE2b-256 | d645e2872965ec62dd1408fb35e1a51f8847a287a9061e8b5ff868974bb7f9ed |
Close
Hashes for semsimian-0.2.0rc2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05aabb762095ae3233904e2eec1f26c7c4731d4e797b605930477ee5a802c695 |
|
MD5 | 3bae7a0805f860b511f128af10b5afce |
|
BLAKE2b-256 | 099b230b6b2fb391b0d78b4f50255c455c98433f339d9fd5b60b77ee5ee4540a |
Close
Hashes for semsimian-0.2.0rc2-cp310-cp310-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cd5d5cc6902f5dea923fb50314d6df184e794a6af04913f946de23b0ec30976 |
|
MD5 | fee884bd783a6f754e4119ab36befc41 |
|
BLAKE2b-256 | 1fbe9f4f264ad9bb33f91a9e6d080e196dc2ea80652630d5fb39decaaa09e531 |
Close
Hashes for semsimian-0.2.0rc2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f956d4d5e883ccb4e67939552ac30ac163be1e5d5a9fac91c02dd459066f846e |
|
MD5 | 6e44f81cfc5baf10420e37920358c26e |
|
BLAKE2b-256 | 528d1898337c56d9a3914316641f1899b7da61e82697ee1f5f0a0d03002158df |
Close
Hashes for semsimian-0.2.0rc2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37110562febf72990331097375c6bbf4809227642a8d636821bf991278843c93 |
|
MD5 | 61d7ea44f5ece39edaacb92dc48702b4 |
|
BLAKE2b-256 | a2a2f74a5cf1c285a4e1336f98882447dc9d462b6f6748951b5d63a38b82bb1b |
Close
Hashes for semsimian-0.2.0rc2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b67ebd3eba8b4e37296d4f8f6c1d77ab2c7009c4a6f0a151f6b5db07bd5a854 |
|
MD5 | 962997852fba23d847c956e702bb1fc2 |
|
BLAKE2b-256 | 5d3cfaec5e8737cacafdb776e47e8066af05fafdae91c96584c90eb7befa448b |
Close
Hashes for semsimian-0.2.0rc2-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4feb5197e8ce777af8b331bf997f7249954db25b99808d64219fb55f8c8ba16 |
|
MD5 | 7e85a00aa548228ca37f523c2792c566 |
|
BLAKE2b-256 | 39fad19c2964e1741baf8538bc6973f5371bd2ce10e6c08297929fa24b9c8af9 |
Close
Hashes for semsimian-0.2.0rc2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8051c78f603700226ec0dbf298d7be871e82f8d97082edb51229f31b0652eb70 |
|
MD5 | 83453d99d8e80fe19bff76c157517b6d |
|
BLAKE2b-256 | aaae976068ff342d288916b0531a27e9a2a7fecb3747297707a46f687b2e6504 |
Close
Hashes for semsimian-0.2.0rc2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e334bcc5c4b57095a525af4745bcb5cdd6bd9e7520a9af1990780f11a5506e37 |
|
MD5 | c4436919e53873d153a9a30a8206f309 |
|
BLAKE2b-256 | 08b7809517fe34d61d4d747f9a89405fa439559cb6ac2224e7f1e3a76ed15ff4 |
Close
Hashes for semsimian-0.2.0rc2-cp39-cp39-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07bfc80512a6784a58fe70c537735fe12da0a2c172e5b8d4b0173379c3ba2ec9 |
|
MD5 | 31383724475c8eca60e91131b05150fb |
|
BLAKE2b-256 | 1c441de40c2651431bfa4e321fc2e4134a45b08f71d3142e49f434a1d8a1df85 |
Close
Hashes for semsimian-0.2.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97402129cbd2f0b4969825f4c227efffb0efd2cc7781a278e6c14a344b959f27 |
|
MD5 | 61a04adcdaf4f9fe58dc5c0124b8e0d3 |
|
BLAKE2b-256 | e93ad2a8c6e0d0cb22013914a887596f7a8378ffc2ae9360c6152d355f58bc78 |
Close
Hashes for semsimian-0.2.0rc2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4c17840d5c5b109e43c1aa73ee3c985cb517870eb0baf5fcdf469bb08864b95 |
|
MD5 | 41eec9c0820e02dfaced29621cb9b993 |
|
BLAKE2b-256 | e47f4b2bae6d8de3c365ef8b2af90440044e187cce25754110df22e401754457 |
Close
Hashes for semsimian-0.2.0rc2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be9ec95f2c7689f70d87a78903b8a468167a02bb7aa1d357da09430cb0e4da35 |
|
MD5 | 4d1c9d3cb4d6edf65b04f1fcc1971eac |
|
BLAKE2b-256 | 89577b4d806e0be01e53309e624b3f74196004b60954b44dff6636751259b54c |
Close
Hashes for semsimian-0.2.0rc2-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd218d69561569e180daef5749f0775cfa181fdf645bff624f988fe6ee2f0fb3 |
|
MD5 | 57f9dfa4792db6827a808ea31f1c7c1f |
|
BLAKE2b-256 | e67ad10d12e3a7a755ea53ef580846ce8dab5bd593f6c9bbe379f8002234e9c7 |
Close
Hashes for semsimian-0.2.0rc2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9191586a5ee9f6f49bbf1bc832d40512a209eb9aa56e2e4f3a12ef508a77e074 |
|
MD5 | 5027bffa0092a4047bca56b7812cdae8 |
|
BLAKE2b-256 | 487b0aad41d33943c1e8f6d81b29c684b3a5a8d43de86750a7077601fb18c136 |
Close
Hashes for semsimian-0.2.0rc2-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 409948531af39eb36dbf1614039ed8c74c81c5ebba7f191636038ed191eddbd3 |
|
MD5 | f1ed3f75df329f431f77d54424a564f6 |
|
BLAKE2b-256 | 74aaeda390dde08620a6900b6a5d670052817e14530e94b393d3bc229a1ee76b |
Close
Hashes for semsimian-0.2.0rc2-cp38-cp38-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed4041cc2eb10a8a33d2e4b9130f56a2f6f08286c2c4f4ad4fa2734f913570f |
|
MD5 | ce92bf93bbcddb441210db6ddc300634 |
|
BLAKE2b-256 | ef74c57b5e7ce1932c5128b0fca8522935a7a3729735c11f00f5a151016001e1 |
Close
Hashes for semsimian-0.2.0rc2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03ea28a3f3d0b0e39bbac836c1988677c48ac4387cf1c6f5167f4bb06dec894a |
|
MD5 | 624646a58b8f0bb5d3aaed68caa92f6e |
|
BLAKE2b-256 | 3d4abac6f05ee72d9fde009ff8a0a0dce021a099a27a8f4853c770225b279a8d |
Close
Hashes for semsimian-0.2.0rc2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88cb492addf2f5a1383fc577fdd9fd9bba78fe227361800e85028b7ade7cf5a5 |
|
MD5 | 6b6fdc2dd69eed929a6bd34fa59bb87c |
|
BLAKE2b-256 | 2c51afd952d1c89e1179be0bf2d039a85e5f12690568382dc75beeecb19a424c |
Close
Hashes for semsimian-0.2.0rc2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db8e770c3f8aff196542765a927d28c7f4c206bd7210f65f956f4ed0f2fe38a1 |
|
MD5 | b0deae2f3e7a2631f0d47680e964578a |
|
BLAKE2b-256 | d707a4c365a10770e272dab487713e77927ae190bcd8242e330c215d2ac0f0fe |
Close
Hashes for semsimian-0.2.0rc2-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8966bcd4ceeebc8166a553e1d13f6c908426926e5d157a6aa4b8d68a717f1096 |
|
MD5 | bea935c84bdbc01df4ee29b8bbd940bf |
|
BLAKE2b-256 | a037e56b0fb01eae3d48dbbd9001e9c761be040be6fec9a447d76a78a66394f7 |
Close
Hashes for semsimian-0.2.0rc2-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ce6d44a5cfac47ba9b6ce43c5e9da11300e5ebd3134e1a9e0ec4a068fdfd73d |
|
MD5 | 06bba058381cdb025bd885f1efeac34e |
|
BLAKE2b-256 | c323ef7275dfd927366df59375bb3b53882a25984740bf87c29bfc80c179374f |
Close
Hashes for semsimian-0.2.0rc2-cp37-cp37m-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d50b9a6e1905f5176fe25f162b323bb8a61983a3e7c0e86ceee2076b47055c26 |
|
MD5 | 18f278e9995a94898a4548070dbef284 |
|
BLAKE2b-256 | 4a9edf16c260d0e6a12f0c44c1f3eec61cd23b0c87a53597c8ac306e0e0c039d |
Close
Hashes for semsimian-0.2.0rc2-cp37-cp37m-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b39095dbfdbe8297af0d0a35e7f9caf959e51a9267856cb0354c9201591ecf69 |
|
MD5 | 39f66bfa392ae5089cc95ee23c27a720 |
|
BLAKE2b-256 | e9950804e995dac6941ad04704862d50af706b711fc738734e16f553add1a8bd |
Close
Hashes for semsimian-0.2.0rc2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dab96e7a3a554b1e6e1c90b363cfa3cea05f64c8380c626c3262a153fd330389 |
|
MD5 | 156653ad73dc8516b1c8cdab243a1808 |
|
BLAKE2b-256 | 4108968d7520448f4148525a540c823305dad33526b82200504d773e7768d644 |
Close
Hashes for semsimian-0.2.0rc2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79cbc09ac12f7873c3bcd457a2c06447d50a954eb241e733ae86b66863aefab0 |
|
MD5 | 272b439ffa08ae3f4428b03817ccd764 |
|
BLAKE2b-256 | e0c617864a08dad43b7ba783161a2172e46c7617b89f5d0538dc20ed5dd1af8d |
Close
Hashes for semsimian-0.2.0rc2-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 433bfb82f77366bff551f32b379dabcf02f237b08cf094850467b00933335232 |
|
MD5 | 49409af0e61aac45ab18482f4168d205 |
|
BLAKE2b-256 | 4c6d9d57dd28e781337fcbc9c15518e237223fb8fd34df79b9019618c5f2bc2c |
Close
Hashes for semsimian-0.2.0rc2-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ecbe8480f8438086b2ef37fc0d82a90a3c77f8ef1ea31532c04f69058bf7e0d |
|
MD5 | 66bb8777dedce125d450da56bd5133bf |
|
BLAKE2b-256 | ed2b1a7fa9624c46fe4f900deff8122896f121e06ecb3ed5999405acef152dea |