Skip to main content

grafana-snapshot Package

Build Status Codecov PyPI

Install

If you want to use the API algorithms in your code, it is as simple as:

$ pip install grafana-snapshot

You can test by creating a python file:

from GrafanaSnapshot.snapshot_face import SnapshotFace

if __name__ == "__main__":
    grafana = SnapshotFace(auth='xxxxx', host='localhost', port='3000', protocol='https')
    
    ## Create snaphot
    results = grafana.snapshots.create_snapshot(tags="test_tag", time_from=1563183710618, time_to=1563185212275)
    
    ## Delete snaphot by key
    result = grafana.snapshots.delete(delete_key='some_delete_key', key=None)
    
    ## get snaphot by key
    results = grafana.snapshots.get_snapshot_by_key(key='some_key')

Uninstall

If you want to uninstall grafana-snapshot, it is as simple as:

$ pip uninstall -y grafana-snapshot

Status

API Status
Create Snapshot +
Delete Snapshot +
Get Snapshot by tags +

Metadata

Release files for grafana-snapshot 0.4

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

Source distribution (sdist)

Source distribution for grafana-snapshot 0.4
File Size Uploaded Provenance Actions
grafana-snapshot-0.4.tar.gz 4.3 kB Without provenance Details for grafana-snapshot-0.4.tar.gz

Release files / grafana-snapshot-0.4.tar.gz

Download URL grafana-snapshot-0.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8c7d76a19b9b2a2c5b37d950ad85554d8f69a7b1bf48be8cf5e2213b790316f4
BLAKE2b-256 checksum
How to use checksums
fbc7ebd9834c06884d7f7e73ac30712df9bc657573172427a8bd4311d354d8da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.1

Security for grafana-snapshot 0.4

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