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.4.tar.gz (21.8 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.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (349.9 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

gni-0.1.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (330.5 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ ARM64

gni-0.1.4-cp38-abi3-manylinux_2_28_x86_64.whl (327.8 kB view details)

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

gni-0.1.4-cp38-abi3-manylinux_2_28_s390x.whl (361.5 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ s390x

gni-0.1.4-cp38-abi3-manylinux_2_28_ppc64le.whl (367.3 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ppc64le

gni-0.1.4-cp38-abi3-manylinux_2_28_aarch64.whl (317.3 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

gni-0.1.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (327.4 kB view details)

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

gni-0.1.4-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (361.5 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ s390x

gni-0.1.4-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.4-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.4.tar.gz.

File metadata

  • Download URL: gni-0.1.4.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for gni-0.1.4.tar.gz
Algorithm Hash digest
SHA256 9e36177bdc3a1200035b4d2ac828b2400d2cdc94a9f3c2bdc386794d8f6ea76c
MD5 56f6eab8a1d2b6bdadcf644dcadfe045
BLAKE2b-256 209c2d3e8ab0cae7afcd6cef37c85ff463e3bb4c0290c6652a0876dea4b16907

See more details on using hashes here.

File details

Details for the file gni-0.1.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gni-0.1.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c1786f21cad3309871cee7a20cd9040c2cac46ea23e32501a2327c36425d4e47
MD5 125ebbf20031a77c55653063af720099
BLAKE2b-256 33ef7f5dbb37602fb9acf42d429680572b1281629b5addaa82330f8fb0f76369

See more details on using hashes here.

File details

Details for the file gni-0.1.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for gni-0.1.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1ff7435ff25b8de09053cb6887a7437eca0b296044fc5872ab0505e2e7e39df8
MD5 8245439bdd3c73dfbf70559ee7a425c6
BLAKE2b-256 e6f54309c3e134f38d5ca9ca73ff7f81dad1d610bc4c828c9935f991f1bcd2ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gni-0.1.4-cp38-abi3-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 327.8 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.4-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 58969388b0152c4f5eff9c4664ba71195d9b9a9da6d6d8d9b15d10807c88ebc2
MD5 2a25e3610afbe60d1f15d440ec442b62
BLAKE2b-256 f74ac0e72d394315df3abd3e655cceeac3dcfa63b6bbed526675b59bf79cf232

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gni-0.1.4-cp38-abi3-manylinux_2_28_s390x.whl
  • Upload date:
  • Size: 361.5 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.4-cp38-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 b2fe84921aec4decb54bff8bc9145d531dbe6725178d16ee9b5601a3e1d560be
MD5 cbd191e7f7fd3e2d69cdafe6a016fb83
BLAKE2b-256 c5056369bf595aa7fcd01cc2bfa2d37d3a28815d22ffe45f133488cbf2aba50d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gni-0.1.4-cp38-abi3-manylinux_2_28_ppc64le.whl
  • Upload date:
  • Size: 367.3 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.4-cp38-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 dd4a534ae67d66aa5ab5cbfb40d8296c04cfe5c3dfab0dea9db00f9f42bbb74e
MD5 4ebcabc50bb806c4b79f9e581153eab9
BLAKE2b-256 25ef674bcaad59ddf0674c7362ada3b07e83b33a1278cde0f908890eb4d21784

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gni-0.1.4-cp38-abi3-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 317.3 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.4-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4cd6277ae6f93dbdd06331729552f2c3bbc5b1f323dbedcc43e3d22ebc0b682c
MD5 fef6fc35fd18c42b824ec5778878d716
BLAKE2b-256 21941e883d47af51ed5c534e7da1764cbd71c409df4e915b288a10bf91772984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.4-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 38ea4b7e79e08230afa908f4462abb1458ec328f7d64e4c29203b13e216ea99c
MD5 b41ebaf1a7bc88892cadd0bc7514792e
BLAKE2b-256 47eb2e9e2ac03d4dd89cc6781b3ebc97e140beac00a9b325a92cda4d5e090d13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.4-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 34a583f4ab092bdc2015b530e104f15b25e90697bf143837baadc60c1ecdfcef
MD5 2370c92bf19543509efd7b87898ffc84
BLAKE2b-256 e6d2875ff76a94e9624927636bdc072eeff099d89d10efb3dbb2a530bf400899

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.4-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 7abd801d0f7ff36cb4d509c762e6cea7d7f78ce7ae29ea4d021cb01483d53e28
MD5 8a56c137d023deba121e4fcd057957ac
BLAKE2b-256 21fcb7124ec2a429e7ec95eace9bebb7c3c45a822347492e8d64470ac35c7b0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0192abccc43250312205968e9ea81f88083d485b1599019f913e54b1928627b8
MD5 8b6baff9173c995bef6acf2829f481da
BLAKE2b-256 34c1812e07cca9609e6d2b13cbe85ccd41cd4aaac87f2f4a6d8f2cf2f63f83fa

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