Skip to main content

Library to create a GPU Node ID

Project description

GNI - Python pkg

GNI uses pyo3 to write a native python library, and maturin is the recommended build tool.

Install from pypi

$ pip install gni

Running the library:

$ python
>>> import gni_lib
>>> gni_lib.get_gpu_node_id()
<id>

Building from source

  1. Install maturin (see maturin installation guide)

    pip install maturin
    
  2. Builds the package

    maturin build
    

You can view the built wheels in the target/wheels directory

Installing from source

  1. Builds the crate and installs it in the current env

    maturin develop --features python
    
  2. Run gni

    python src/python/main.py
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gni-0.1.3.tar.gz (545.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gni-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl (328.0 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

gni-0.1.3-cp38-abi3-manylinux_2_28_s390x.whl (361.4 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ s390x

gni-0.1.3-cp38-abi3-manylinux_2_28_ppc64le.whl (367.4 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ppc64le

gni-0.1.3-cp38-abi3-manylinux_2_28_aarch64.whl (317.4 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

gni-0.1.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (327.7 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

gni-0.1.3-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (361.6 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ s390x

gni-0.1.3-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (367.3 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ppc64le

gni-0.1.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (318.1 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

File details

Details for the file gni-0.1.3.tar.gz.

File metadata

  • Download URL: gni-0.1.3.tar.gz
  • Upload date:
  • Size: 545.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for gni-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6c53f6506dba40577298214b79abe9883417ea14f976a72b6d927630508ae812
MD5 d8123d8c9a0dd26d43eb0124dea01a89
BLAKE2b-256 a124d15424e0dfe57bfc219d293d0c26e26fe3332e6a66efbf1e3b93d509ff3f

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: gni-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 328.0 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d70e53c05462641688e9cbacbef25a4292b9cfa45bf972cd25d272e3086b797
MD5 d1fa2301cfaca52ac7531a9f695f3481
BLAKE2b-256 4a5f85ff2f61f49aeefecc40c376fc22f86444a3ebd4eb14fed2e7a14d141439

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_28_s390x.whl.

File metadata

  • Download URL: gni-0.1.3-cp38-abi3-manylinux_2_28_s390x.whl
  • Upload date:
  • Size: 361.4 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.28+ s390x
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 919d074be917b60f88e959c930621ea60415236de5a304daae74e089f5a2b18e
MD5 834d3e78b998f1eca120df979646dd87
BLAKE2b-256 962bac5c8c045874aa0f7bb697b569658558c5bc66341b8508dc4bf367ae9954

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_28_ppc64le.whl.

File metadata

  • Download URL: gni-0.1.3-cp38-abi3-manylinux_2_28_ppc64le.whl
  • Upload date:
  • Size: 367.4 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.28+ ppc64le
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 7f032baee2fe14d1c4028f9b7547b683ea50714fcad01b49614d6cb3fb5cccc1
MD5 f47da30016f36ce4c9ba324f655f554c
BLAKE2b-256 e4f9c329907e1d789ec00d9b447d6288b51a3ccb55c3e82cd7a52b7d409dd709

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: gni-0.1.3-cp38-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 317.4 kB
  • Tags: CPython 3.8+, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e925a4d85395aa98ec3895cc0fc6009326f4127f74507847d985d70d8aabb2ca
MD5 6b626cc696e82705ee85c8b25a19dfc5
BLAKE2b-256 7c92e673a736858319f5a0e94a20359674bf9e65042734f44202fadb18abaae6

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f00e54329658c4eb32bf47b116b53b64cced6e55cd0c04e0ec4b3138f1b0342b
MD5 f867698402f1908c5d6c9d80a496c25f
BLAKE2b-256 23e625a51b280b6502af76ad0c5ac2115aa553269f8d2799ac43881c8ce701e3

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 beeb793743479a05cef650aa4bb34a43678e54f610e4aa5685ebfa7fde67cd84
MD5 e9965ebd8d281384df456e7099f6c078
BLAKE2b-256 b174a19eb38ae23cd101cf2478392539c019c0bea7b455a9dbf4267f345c92b4

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 9e7a82ba35795cd39aef14aa834f4496b5e16422a4d0a94d35fa180be907d015
MD5 27cbff33e176bbd9acbfa51cd219deb9
BLAKE2b-256 3f9712205bfb6f5a091239f2ab4df9899e833b4ab64e7eb4081343237878999d

See more details on using hashes here.

File details

Details for the file gni-0.1.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for gni-0.1.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0564eacfd0ac293dc78d537cddc21b51693939148135c875dd32003a6d15cb44
MD5 e49e1b3e09074a88bc0f1e46349fb512
BLAKE2b-256 ec9194fbd510907988bf3e8dc5fdab5bc9032511e48760a10b49be9b73d333e0

See more details on using hashes here.

Supported by

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