Skip to main content

Tangram for Python

Project description

Tangram for Python

The Tangram Python library makes it easy to make predictions with your Tangram machine learning model from Python.

Usage

$ pip install tangram
import tangram

model = tangram.Model.from_path('./heart_disease.tangram')

input = {
  'age': 63,
  'gender': 'male',
  # ...
}

output = model.predict(input)

For more information, read the docs.

Platform Support

Tangram 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@tangram.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

  • Tangram for Python requires pip 20.3 or later, which includes support for PEP 600. This is necessary to correctly install tangram'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 tangram" when you attempt to pip install tangram. To resolve this, you should upgrade pip to version 20.3 or later.

Project details


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

tangram-0.7.0-cp36-abi3-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.6+ Windows x86-64

tangram-0.7.0-cp36-abi3-manylinux_2_24_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.24+ x86-64

tangram-0.7.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64 manylinux: glibc 2.24+ ARM64

tangram-0.7.0-cp36-abi3-macosx_11_0_universal2.whl (4.3 MB view details)

Uploaded CPython 3.6+ macOS 11.0+ universal2 (ARM64, x86-64)

File details

Details for the file tangram-0.7.0-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: tangram-0.7.0-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tangram-0.7.0-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7287d2d4e1134dee1271ed572cb2b5c2e256c6c290a3cbe1cc96b4717b3c51c5
MD5 61aea5074d5ef3f432092368cd64011c
BLAKE2b-256 1db3b0ad990ec1827ea7779972757d8a95519cfe258e2da0984a3517ded667ce

See more details on using hashes here.

File details

Details for the file tangram-0.7.0-cp36-abi3-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: tangram-0.7.0-cp36-abi3-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tangram-0.7.0-cp36-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 f720aa66136deb1a709380e7400e44a3f61f775a88987e6f24c35c430fd2d57e
MD5 1edf85046476e1880f3d38bae040e474
BLAKE2b-256 21e4d5624210d5e6e54d8fd2ee158ce8e993857a99b3fd84c2020cd2509573fe

See more details on using hashes here.

File details

Details for the file tangram-0.7.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for tangram-0.7.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a5e8a1a819caaa102cd561ab46d2b0a2d18989640e821f307c749a9e3909a320
MD5 0e399690a64d2ee0ffb7ccf27b168ec5
BLAKE2b-256 00f906b1ecb6b2e6446da3e782b12b9dacd3fe99faec01eb72b4a45869e533ff

See more details on using hashes here.

File details

Details for the file tangram-0.7.0-cp36-abi3-macosx_11_0_universal2.whl.

File metadata

  • Download URL: tangram-0.7.0-cp36-abi3-macosx_11_0_universal2.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.6+, macOS 11.0+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tangram-0.7.0-cp36-abi3-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 b9b11147fca1ffbd5c3810b654c85b853b6e14037b48242c01316cbd2a6c318e
MD5 23fe9a35c20dca691bc95a65cb1669a5
BLAKE2b-256 d1accf2ca8a616e03558ba998b6ced871340c580f856c9fc549633b86e53d456

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page