ModelFox for Python
The ModelFox Python library makes it easy to make predictions with your ModelFox machine learning model from Python.
Usage
$ pip install modelfox
import modelfox
model = modelfox.Model.from_path('./heart_disease.modelfox')
input = {
'age': 63,
'gender': 'male',
# ...
}
output = model.predict(input)
For more information, read the docs.
Platform Support
ModelFox for Python is currently supported on Linux, macOS, and Windows with ARM64 and AMD64 CPUs. Are you interested in another platform? Open an issue or send us an email at help@modelfox.dev.
Examples
The source for this package contains a number of examples in the examples directory. Each example has a README.md explaining how to run it.
Notes
- ModelFox for Python requires pip 20.3 or later, which includes support for PEP 600. This is necessary to correctly install modelfox's native extension. If you are using an earlier python version, you may see the error "Could not find a version that satisfies the requirement modelfox" when you attempt to
pip install modelfox. To resolve this, you should upgrade pip to version 20.3 or later.
Release files for modelfox 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| modelfox-0.8.0-cp37-abi3-win_amd64.whl | CPython 3.7 | abi3 | Windows x86-64 | Details |
| modelfox-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl | CPython 3.7 | abi3 | Linux musl 1.2+ x86-64 | Details |
| modelfox-0.8.0-cp37-abi3-musllinux_1_2_aarch64.whl | CPython 3.7 | abi3 | Linux musl 1.2+ ARM64 | Details |
| modelfox-0.8.0-cp37-abi3-manylinux_2_28_x86_64.whl | CPython 3.7 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| modelfox-0.8.0-cp37-abi3-manylinux_2_28_aarch64.whl | CPython 3.7 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| modelfox-0.8.0-cp37-abi3-macosx_11_0_x86_64.whl | CPython 3.7 | abi3 | macOS 11.0+ x86-64 | Details |
| modelfox-0.8.0-cp37-abi3-macosx_11_0_arm64.whl | CPython 3.7 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 79.2 MB
Release files / modelfox-0.8.0-cp37-abi3-win_amd64.whl
| Download URL | modelfox-0.8.0-cp37-abi3-win_amd64.whl |
|---|---|
| Size | 11.3 MB |
| Tags | CPython 3.7 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4b0e336733065ebf2b1c51f11c6e2d2d1d4ca7b471c853ba79957102e96e91cb
|
|
BLAKE2b-256 checksum How to use checksums |
ca695fcbb1f609f5e400ca030b8335823c17975732dea788b62ea33d802d219d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.11
|
Release files / modelfox-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl
| Download URL | modelfox-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 11.3 MB |
| Tags | CPython 3.7 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
cf2346fe67effe711e1eb734ec324e24d5b5c225a944d72dc2bc78f026f7a46f
|
|
BLAKE2b-256 checksum How to use checksums |
0e4ba23c4867ef9cd4bc429209dcf26ad00372ab1f07f27906da6c8e1b6cc472
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.11
|
Release files / modelfox-0.8.0-cp37-abi3-musllinux_1_2_aarch64.whl
| Download URL | modelfox-0.8.0-cp37-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 11.2 MB |
| Tags | CPython 3.7 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
ba553b0885d7e024a97059c767bb26f0b9c3413ddac31eb31df5cf315be40636
|
|
BLAKE2b-256 checksum How to use checksums |
db0e99ac2579c0a132eef5046837b338c36e873d21d71a4076fa589463c7bf62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.11
|
Release files / modelfox-0.8.0-cp37-abi3-manylinux_2_28_x86_64.whl
| Download URL | modelfox-0.8.0-cp37-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 11.3 MB |
| Tags | CPython 3.7 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
504717ceda073317cbc1f698a1a7bc99e0e865843fbd93f4fdb9efa2de880ee7
|
|
BLAKE2b-256 checksum How to use checksums |
3155ac724217802b6d72f6f7cae1cac4864e296acead69f40d0a0c96869ec216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.11
|
Release files / modelfox-0.8.0-cp37-abi3-manylinux_2_28_aarch64.whl
| Download URL | modelfox-0.8.0-cp37-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 11.2 MB |
| Tags | CPython 3.7 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e280824292e983a753b2faf710bd71edc5277b3be8b4dca28673bc4c3e5cf330
|
|
BLAKE2b-256 checksum How to use checksums |
88281fda77c856eab029d5f7b276b68b593417cb867ed1fb57cdded83e3ca1c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.11
|
Release files / modelfox-0.8.0-cp37-abi3-macosx_11_0_x86_64.whl
| Download URL | modelfox-0.8.0-cp37-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 11.5 MB |
| Tags | CPython 3.7 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
c53015e423b5bee72160fcf6e7f8551ebee41b2e957ac80968a1e8ab3a6693ff
|
|
BLAKE2b-256 checksum How to use checksums |
89ee1747ad3f51df48ae58e2f215a72fa445c4a2d1832f28a8ed86338c7dfd42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.11
|
Release files / modelfox-0.8.0-cp37-abi3-macosx_11_0_arm64.whl
| Download URL | modelfox-0.8.0-cp37-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 11.3 MB |
| Tags | CPython 3.7 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7dcd7a0cf85ef9b5f68320e54a8850eefc794e14b6a7a6b8feb2b9daa8a7a920
|
|
BLAKE2b-256 checksum How to use checksums |
fe636a0f9e5387b47a965ed1765f3cf42ec4dc2351f6ec21816f4bd15cab8dfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.11
|