Skip to main content

sf-apm-lib

made-with-python pypi-package

Snappyflow modules

Installation

pip install sf-apm-lib

Then you should import the library.

from sf_apm_lib.snappyflow import Snappyflow

Usage

Get trace config

sf = Snappyflow() # Initialize Snappyflow. By default intialization will pick profileKey, projectName and appName from sfagent config.yaml.

# Add below part to manually configure the initialization
project_name = '<Snappyflow Project Name>'
app_name = '<Snappyflow App Name>'
profile_key = '<Snappyflow Profile Key>'

sf.init(profile_key, project_name, app_name)
# End of manual configuration

trace_config = sf.get_trace_config() # Returns trace config

print(trace_config)

Metadata

Release files for sf-apm-lib 0.1.6

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

Source distribution (sdist)

Source distribution for sf-apm-lib 0.1.6
File Size Uploaded Provenance
sf_apm_lib-0.1.6.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sf-apm-lib 0.1.6
File Interpreter ABI Platform
sf_apm_lib-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / sf_apm_lib-0.1.6.tar.gz

Download URL sf_apm_lib-0.1.6.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eafec819a195a3f589d2f290e173d3ca3ab351032423ea2aac1ca55eb66e3fcb
BLAKE2b-256 checksum
How to use checksums
86ab251aea058c3080fe08a96ca08cd213ca560a26077b4ab4a35ef3670abad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / sf_apm_lib-0.1.6-py3-none-any.whl

Download URL sf_apm_lib-0.1.6-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0083e5125aeff4d62c4e06eb86f3e8acc8f625fedfbec6a19f6fdabcf64cfed3
BLAKE2b-256 checksum
How to use checksums
0c3a7c2ffa5c3ea5f1de2cd217dcf2fa6e7257a16ff633ef8698a47c9310c6da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Security for sf-apm-lib 0.1.6

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.

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