https://github.com/vidursatija/dataset-dog-python
Python SDK for Dataset Dog
https://github.com/vidursatija/dataset-dog-python
Last synced: 7 months ago
JSON representation
Python SDK for Dataset Dog
- Host: GitHub
- URL: https://github.com/vidursatija/dataset-dog-python
- Owner: vidursatija
- License: mit
- Created: 2023-05-15T12:35:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-23T19:03:55.000Z (about 2 years ago)
- Last Synced: 2025-01-30T12:18:18.698Z (8 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Dataset Dog Python SDK
Python SDK for [Dataset Dog](https://github.com/vidursatija/dataset-dog-server).## Installation
```bash
python3 -m pip install git+https://github.com/vidursatija/dataset-dog-python.git
```## Usage
```python3
from dataset_dog import DatasetDogdd = DatasetDog("", "", "")
@dd.record_function(frequency=0.5)
def api1(a: float = 1.0, b: float = 2.0) -> float:
return a + b
```- Skip recording sensitive arguments
```python3
# say `b` is a sensitive argument, and we don't want to record it
@dd.record_function(frequency=0.5, skip_args=["b"])
def api1(a: float = 1.0, b: float = 2.0) -> float:
return a + b
```