semvec/pypi-packages huggingface dataset:
coremlprofiler 0.4.0
Profile your CoreML model directly from Python.
License: MIT
Requires Python: <4.0,>=3.8
Keywords: coreml, profiler, machine learning, performance

# CoreML (Python) Profiler 🐍

Quick and easy profiling of CoreML models in Python!

## Quick Start ⚡️

```python
#convert model using guide: https://apple.github.io/coremltools/docs-guides/source/introductory-quickstart.html
#or download one from the 🤗 Hub 
from coremlprofiler import CoreMLProfiler
from huggingface_hub import snapshot_download

repo_path = snapshot_download(repo_id="FL33TW00D-HF/test-st", local_dir="./")
model_path = repo_path + "/sentence_transformer_all-MiniLM-L6-v2.mlpackage"

# Create the Profiler
profiler = CoreMLProfiler(model_path)

# Print your device usage
print(profiler.device_usage_summary_chart())
# Enjoy your nice plot!
```
![Python Profiling](https://github.com/user-attachments/assets/c9c7eb77-6a21-4ae7-a3a5-4f80ce8a1d8f)

## CLI

Profile a local model:

```bash
coremlprofile path/to/my/model.mlpackage
```

Download from Hugging Face and profile:

```bash
coremlprofile --hf_repo="FL33TW00D-HF/test-st" sentence_transformer_all-MiniLM-L6-v2.mlpackage
```
path_predicate 0.0.1.1
Python path predication.
License: MIT
Requires Python: <4.0,>=3.10
Keywords: path, predicate, predication

# Python path predication.

## Installation

You can install from [pypi](https://pypi.org/project/path_predicate/)

```console
pip install -U path_predicate
```

## Usage

```python
import path_predicate
```