Skip to main content
# gm

Python GrayMeta API bindings.

This project is used to access your GrayMeta installation API using python.

## Installation

This is avaialble on pypy

pip install gmapi

## Usage

`gmapi` can be used directly via the terminal with the `gm` command, or via the API.

## Usage (Terminal)

You must first make the `GRAYMETA_SERVER_URL` and your `GRAYMETA_API_KEY` available as environment variables, then you can call `gm`

```
export GRAYMETA_SERVER_URL=https://your-installation-of-graymeta
export GRAYMETA_API_KEY=your-api-keye
```

> See your Admin for details of these values

Next, you can just call `gm`:

```
gm
```

## Usage (API)

Having installed gmapi via `pip`, you can then use it directly in your python, for example

(demo.py)

```
from gmapi import gmapi.GraymetaClient

SERVER_URL="https://your-server"
API_KEY="your-gm-api-key"
client = GraymetaClient(SERVER_URL, API_KEY)
client.search()
```

## API Documentation

TODO









Download files

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

Source Distribution

gmapi-1.17.29.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

gmapi-1.17.29-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gmapi-1.17.29.tar.gz.

File metadata

  • Download URL: gmapi-1.17.29.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for gmapi-1.17.29.tar.gz
Algorithm Hash digest
SHA256 82f02f241041fe11cb70278b0e9e8ab56c7a9bbad527b89e80a4093d835c699f
MD5 e885c2a0aa5c6881d8e030197e03fa47
BLAKE2b-256 c898d0bff609cc6b0462f2b8ecef118cef76d055f2dd0e26092b3faddbde019f

See more details on using hashes here.

File details

Details for the file gmapi-1.17.29-py2.py3-none-any.whl.

File metadata

  • Download URL: gmapi-1.17.29-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for gmapi-1.17.29-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e72620f0d539503473a9b10ad7588790b5db209237e0963945036b6b6036b7a4
MD5 a300fc2e76eef232b4f6987b7eb2b5f4
BLAKE2b-256 4ab33a839d5f639a961156da29a2564d38213c93fd9485f1d12c8d002c155005

See more details on using hashes here.

Release history Release notifications | RSS feed

1.17.30

2 files

This release

1.17.29 This release

2 files

1.16.29

2 files

1.15.29

2 files

1.14.29

2 files

1.13.29

2 files

1.12.29

2 files

1.11.24

2 files

1.10.21

2 files

1.9.21

2 files

1.8.21

2 files

1.7.21

2 files

1.6.21

2 files

1.5.21

2 files

1.4.21

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page