semvec/pypi-packages huggingface dataset:
cronusalert 0.1.0
A Python client for Cronus alerts
Requires Python: >=3.6

# cronus-alert

The easiest way to get push notifications for events that you define

This repo contains the cronus-alert package in

1. Javascript
2. Go
3. Python

All packages require an API key from [cronusmonitoring.com](https://cronusmonitoring.com)

## Javascript

### 1. Install

```bash
npm i cronus-alert
```

### 2. Example usage

```javascript
function main() {
  // Set API Key to an environment variable
  const cronusAlert = new CronusAlert(process.env.CRONUS_API_TOKEN);

  cronusAlert
    .FireAlert(
      "The system is down", // Summary
      "Someone forgot to lock the gate", // Description
      Status.Firing // Optional status
    )
    .then((resp) => {
      console.log(resp.data); // API response
    })
    .catch((err) => {
      console.error(err); // network error
    });
}

main();
```

## Go

### 1. Install

```bash
go get github.com/mperkins808/cronus-alert/go/pkg/cronusalert
```

### 2. Example usage

```go
func main() {

  client := cronusalert.NewCronusAlertClient(os.Getenv("CRONUS_API_KEY"))
  alert := cronusalert.Alert{
      Summary:     "Issue detected in server",
      Description: "Failing to read database transactions",
      Status:      cronusalert.FIRING,
    }

  err := client.Fire(alert)
  if err != nil {
      // handle error
  }

}

```
speck 0.1.8
Speck - Development and observability toolkit for LLM apps.
Keywords: speck,openai,llm,ai,chat,bot,gpt,gpt-3,gpt-4,anthropic,replicate,litellm,observability

<p align="center">
    <img src="https://raw.githubusercontent.com/speckai/speck/main/assets/speck_banner.jpg">
</p>
<p align="center">
    <a href="https://pypi.org/project/speck/">
        <img src="https://img.shields.io/pypi/dm/speck" />
    </a>
    <a href="https://discord.gg/speck">
        <img src="https://dcbadge.vercel.app/api/server/frnaYYaKj3?style=flat" />
    </a>
    <a href="https://github.com/speckai/speck">
        <img src="https://img.shields.io/github/commit-activity/m/speckai/speck" />
    </a>
    <a href="https://linkedin.com/company/speck">
        <img src="https://img.shields.io/badge/LinkedIn-0077B5?logo=linkedin&logoColor=white" />
    </a>
</p>

---

<b>Speck</b> is a livetrace debugging and metrics tracking platform for LLM apps.

Speck streamlines LLM app development with its live debugging and metrics tracking. It simplifies prompt engineering and testing across any LLM, saving you time and enhancing your workflow.

### Features

Speck's main features include:

1. [Live LLM debugging]
2. [LLM observability](https://getspeck.ai/dash/home)
3. Developer framework for calling models
4. [OpenAI proxy](https://docs.getspeck.ai/development/openai)

### Support

| Model                                         | Support |
| --------------------------------------------- | :-----: |
| OpenAI                                        |   ✅    |
| AzureOpenAI                                   |   ✅    |
| Anthropic                                     |   ✅    |
| Replicate                                     |   ✅    |
| [LiteLLM](https://github.com/BerriAI/litellm) |   ✅    |

---

The [dashboard](https://getspeck.ai/dash/home) on the Speck website has 4 main features:

- Home: Dashboard for LLM usage metrics
- Logs: Inspect recent LLM calls
- Playground: Prompt engineer with any model
- Live Debug: Test prompts with on-the-fly debugging

If you have any feature requests or want to stay up to date, please join our [Discord community](https://discord.gg/speck)!

---

## Getting Started

### Python

```shell
pip install speck
```

Then, you can run something like:

```python
from speck import Speck
client = Speck(api_key=None, api_keys={"openai": "sk-...", "anthropic": "sk-..."})
response: Response = client.chat.create(
    prompt=[{"role": "system", "content": "Count to 5."}],
    config={"model": "anthropic:claude-2"}
)
```

Now, each call will be logged for testing. Read more on our [documentation](https://docs.getspeck.ai)!