The Vemetric SDK for Python
Learn more about the Vemetric Python SDK in the official docs.
You can also checkout the package on PyPI.
Installation
pip install vemetric
Usage
from vemetric import VemetricClient
vemetricClient = VemetricClient(token="YOUR_PROJECT_TOKEN")
vemetricClient.track_event(
"SignupCompleted",
user_identifier="user-id",
user_display_name="John Doe",
event_data={"key": "value"},
)
vemetricClient.update_user(
"user-id",
user_data={
"set": {"key1": "value1"},
"setOnce": {"key2": "value2"},
"unset": ["key3"]
},
)
Configuration
The client can be configured with the following options:
vemetricClient = VemetricClient(
token="YOUR_PROJECT_TOKEN", # Required
host="https://hub.vemetric.com", # Optional, defaults to https://hub.vemetric.com
timeout=2.0, # Optional, default to 2 seconds
session=requests.Session(), # Optional, defaults to None, creating a new one
)
Metadata
Release files for vemetric 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vemetric-0.2.0.tar.gz | 3.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vemetric-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / vemetric-0.2.0.tar.gz
| Download URL | vemetric-0.2.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06e9488396f22488021289da7eff6928cea18fd4a8b405239ab13557b489bb78
|
|
BLAKE2b-256 checksum How to use checksums |
276c197d04f831a601c339bed056f6e9ac29e542120fb58f10d10dba5ecd7a56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / vemetric-0.2.0-py3-none-any.whl
| Download URL | vemetric-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54ac66ada0a3b3a16a20da6feb04edbcd412f058d25ed9af3ceadee59d5dea8d
|
|
BLAKE2b-256 checksum How to use checksums |
cdb1914bb78a8fc2d57ac9716429042c6202e1364fa5df24174a64f3bb2a4490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for vemetric 0.2.0
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.