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.1a0.tar.gz (22.3 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.1a0-cp38-abi3-manylinux_2_28_x86_64.whl (329.7 kB view details)

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

gni-0.1.1a0-cp38-abi3-manylinux_2_28_s390x.whl (377.1 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ s390x

gni-0.1.1a0-cp38-abi3-manylinux_2_28_ppc64le.whl (370.1 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ppc64le

gni-0.1.1a0-cp38-abi3-manylinux_2_28_aarch64.whl (320.0 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

gni-0.1.1a0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (329.3 kB view details)

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

gni-0.1.1a0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (377.2 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ s390x

gni-0.1.1a0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (369.9 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ppc64le

gni-0.1.1a0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (321.0 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

File details

Details for the file gni-0.1.1a0.tar.gz.

File metadata

  • Download URL: gni-0.1.1a0.tar.gz
  • Upload date:
  • Size: 22.3 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.1a0.tar.gz
Algorithm Hash digest
SHA256 b534040bc5740031d7e528df27f58e8ac62ef9205e314f08237f513e86cfc974
MD5 e6d0a1abb4a3dce82c7f41221f1ae8f9
BLAKE2b-256 067bd14e19c8bdac54cb4154854f08255b9c7edf8445a271a551218c5d0ee9b5

See more details on using hashes here.

File details

Details for the file gni-0.1.1a0-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gni-0.1.1a0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e68a94b962abe235a9e7d28d51eb5ec0eb66f77e8750d8dfa91c219f5b7feb3d
MD5 80004a285acb4940d5fef078b4ae1d01
BLAKE2b-256 00d077f45ad042a32c04d1d979da50ae727bc5dff4dff25af022c0967fbc61d3

See more details on using hashes here.

File details

Details for the file gni-0.1.1a0-cp38-abi3-manylinux_2_28_s390x.whl.

File metadata

  • Download URL: gni-0.1.1a0-cp38-abi3-manylinux_2_28_s390x.whl
  • Upload date:
  • Size: 377.1 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.1a0-cp38-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 1302e42f3b3167fc57f3d849a61c0f71f92e555d9d32ee8e2f94b44bd25abec9
MD5 af65d8f5216991362f768d2db462d61e
BLAKE2b-256 3e1a3ac6b430fd17a4e91ef309230321e6cd001957caea7e26a616bdb2928a82

See more details on using hashes here.

File details

Details for the file gni-0.1.1a0-cp38-abi3-manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for gni-0.1.1a0-cp38-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 1e7040c2e72f7743cb89b77bc3e7e7050f38d5d22fbf281b3e05dc2710b1e9e4
MD5 1ef24abce108b52bdc8839b546900b1f
BLAKE2b-256 fc12ffba954140525548e143e6ca7eae6fe91e3bf00f45a5892db976da5916de

See more details on using hashes here.

File details

Details for the file gni-0.1.1a0-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for gni-0.1.1a0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ec72c0890e9a5dc0afeebdeffccb899e88631d31377fb550f03082bca041b1a4
MD5 114b0722c9a8643825867b41a75bc2ab
BLAKE2b-256 e2703d463319bf3f7dd209059736bc85de9caea673a35d7c78f800b0ee0c9552

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.1a0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2d8836d811f49e6b46896d91b88a5cc835a3080bee3f7a5358e41358344ea2e
MD5 49c24c1b5699b11f2a9cb348d8fc30cb
BLAKE2b-256 0031ff5f1060e2cf8494ca8864d6a82640b3026c3bcd475b832f3fcbfe63c023

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.1a0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 3c43b92ca8d9b580dcfb48b288ea494dc649334c950fd31073fd4c7c7c0431b8
MD5 ba1e60190a8f3f946c3c3ea6844c0976
BLAKE2b-256 1e5c01161b1470d3b5ffad1d4b1f73122000cb7fc87cfccdb48fafd647310439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.1a0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 0f9e3afb68ecdbf653210d06968e744472d88231ed385fe5b2fa343208f50a65
MD5 23100a066cf12b628080ef3d15bc62cb
BLAKE2b-256 8e70c6be3103d67841434558f3533f52300c94e7e097841ff23bf52fe2d2e539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gni-0.1.1a0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c891bc08ed0dab7d85a6c63d0372513025f9fa1eaa08b3586d7ffb065fef6d0c
MD5 3efa36d07ea014660b5b8ddb14eef705
BLAKE2b-256 33c2d3fca8ee723a53614e0d553e2f0eef246bc603d7940e220463c9f8efd5da

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