Skip to main content

Exmaple of use:

>>> import metzoo
>>> # create an agent
>>> agent = metzoo.Agent(CUSTOMER_KEY, "agent.name")
<Agent 'agent.name', key: 'xxx...'>
>>> # or with an url
>>> agent = metzoo.Agent(CUSTOMER_KEY, "agent.name", "https://api.metzoo.com")
<Agent 'agent.name', key: 'xxx...'>
>>> # configure the metrics to use (optional)
>>> agent.configure({"metric1.name": "unit", "metric2.name": "unit"})
{"status":"ok"}
>>> # send data for given metrics using system time...
>>> agent.send({"metric1.name": 134.22, "metric2.name": 8123})
{"status":"ok"}
>>> # ...or using your own time
>>> agent.send({"metric1.name": 134.22, "metric2.name": 8123}, timestamp=1234567)
{"status":"ok"}
>>> # update own agent configuration (not implemented yet)
>>> agent.update()
{"status":"ok"}

Metadata

Release files for metzoo-python-sdk 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metzoo-python-sdk 0.3.3
File Size Uploaded Provenance Actions
metzoo-python-sdk-0.3.3.zip 7.7 kB Without provenance Details for metzoo-python-sdk-0.3.3.zip

Release files / metzoo-python-sdk-0.3.3.zip

Download URL metzoo-python-sdk-0.3.3.zip
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
47f8c46e2a87d0660a550e02aabd6fc5afa26449c8da0bd4ec3738b404ee6430
BLAKE2b-256 checksum
How to use checksums
28ae76997b4f53635c16e4ac7c8426ad0fd901328bbb55dbb2a85e34f0d3b1c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for metzoo-python-sdk 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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