Skip to main content

A package for submitting data to an API endpoint

Project description

Governance

governance is a Python package for submitting data to an API endpoint. It provides a Results class that can be used to set an API key, server URL, and agent ID, and to submit data as a JSON payload to the API endpoint.

Installation

You can install governance using pip:

pip install governance

Usage

Here's an example of how to use governance to submit some data:

import governance

results = governance.Results()
results.set_api_key("my-api-key")
results.set_server_url("https://example.com")
results.set_agent_id("my-agent-id")
results.submit({"key1": "value1", "key2": "value2"})

License

governance is released under the MIT license. See LICENSE for more details.

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

governance-1.0.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

governance-1.0.0-py2-none-any.whl (2.5 kB view details)

Uploaded Python 2

File details

Details for the file governance-1.0.0.tar.gz.

File metadata

  • Download URL: governance-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for governance-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e35a0b34b2bc7474f99499f5b719881f81815dcaf02186aef0134082d65e157b
MD5 eeadfe0ff6dfb88befce8fe851010083
BLAKE2b-256 81e0926a817cfa5967cc8f98ef44d0d03ce816a25122819f4505ee02114b41ad

See more details on using hashes here.

File details

Details for the file governance-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: governance-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for governance-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 cc075c26a04b5d04bcd65d7d21378dc0b6af09d132fe655f2d3598e9eeaf2df3
MD5 9aa1f297c1c9ae897d3b17a121a891f8
BLAKE2b-256 bcad6cb70d758201fca3bc8323f087e1fc59d490de8a1e05256faa09f9e851d0

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