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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e35a0b34b2bc7474f99499f5b719881f81815dcaf02186aef0134082d65e157b
|
|
| MD5 |
eeadfe0ff6dfb88befce8fe851010083
|
|
| BLAKE2b-256 |
81e0926a817cfa5967cc8f98ef44d0d03ce816a25122819f4505ee02114b41ad
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc075c26a04b5d04bcd65d7d21378dc0b6af09d132fe655f2d3598e9eeaf2df3
|
|
| MD5 |
9aa1f297c1c9ae897d3b17a121a891f8
|
|
| BLAKE2b-256 |
bcad6cb70d758201fca3bc8323f087e1fc59d490de8a1e05256faa09f9e851d0
|