semvec/pypi-packages huggingface dataset:
csm-ai 0.1.9
The official Python library for the CSM API

# CSM Python API Library

## Installation

```
# from PyPI
pip install csm-ai

# from source
pip install git+https://github.com/CommonSenseMachines/csm-ai.git
```

## Usage

Initialize the API client:

```python
from csm import CSMClient

# NOTE: replace with a valid API key
csm_client = CSMClient(api_key='6bCfF4467bXXXXXX4E6B271BeC5')
```

Run an `image-to-3d` job:

```python
# input a local image path (also supported: url, PIL.Image.Image)
image_path = "/path/to/image.png"
result = csm_client.image_to_3d(image_path, mesh_format='glb')

print(result.mesh_path)
```

Run a `text-to-3d` job:

```python
prompt = "3d asset of a character head, cartoon style, low poly, front view"
result = csm_client.text_to_3d(prompt, mesh_format='obj')

print(result.mesh_path)
```

**Mesh formats:** Choose any of ['obj', 'glb', 'fbx', 'usdz'] for the `mesh_format` argument.

**Verbose mode:** Run client functions with option `verbose=True` (the default) to see additional status messages and logs.
git-stacktrace-java 0.1.3
Add your description here
Requires Python: >=3.13

# git-stacktrace-java

**Quickly find Git commits related to Java stacktraces.**

---

## 🚀 Installation

Install using `pipx` (recommended):

```shell
pipx install git-stacktrace-java
```

Or using `pip`:

```shell
pip install git-stacktrace-java
```

---

## 🛠 Usage

Copy your stacktrace to clipboard (or pass it via stdin), then run:

```shell
git-stacktrace-java --since 30.days
```

The tool will output recent commits affecting files or code shown in the stacktrace.

### Parameters:

- `--since`: Specify a time range (e.g., `30.days`, `2.weeks`, `24.hours`).

---

## 📖 Example

```shell
git-stacktrace-java --since 30.days < stacktracefile.txt
```
or using the clipboard
```shell
git-stacktrace-java --since 30.days
```

Output:

```
--- Looking up commits... ---

--- Results ---

commit e362f550bd03fc7fdce4be74c12ec953c420ac69
Commit Date: Thu, 27 Mar 2025 17:22:04 -0300
Author:      Voldermort
Subject:     feat(PERF-1176): View Access: hide Edit actual impact button (#18775)
Files Modified:
    - allocadia-core/src/main/java/com/example/ServiceClass.java

commit bd0d748aa3144f68d6795880cf1309aa67ac1b17
Commit Date: Tue, 18 Mar 2025 11:07:04 -0300
Author:      Malfoy
Subject:     chore(PERF-1162): Overload method getActivities (#18733)
Files Modified:
    - allocadia-core/src/main/java/com/example/ServiceClass.java
    - allocadia-core/src/main/java/com/example/ServiceClass.java:118
```

---

## 📌 Features

- Finds recent commits related to stacktrace files and code.
- Supports clipboard and stdin input.
- Simple and fast troubleshooting during deploys.

---

## 💡 Contributing

Feel free to open an issue or submit a pull request!