open-index/open-npm huggingface dataset:
npm package: @pezzo/client
Description: TypeScript API client for Pezzo
Author: Ariel Weinberger
Latest version: 0.4.19

# Pezzo Client

<p align="center">
  <strong>
    Pezzo is the open-source LLMOps platform built for developers and teams. In just two lines of code, you can seamlessly troubleshoot your AI operations, collaborate and manage your prompts in one place, and instantly deploy changes to any environment.
  </strong><br/><br/>
  <a href="https://pezzo.cc/discord" target="_blank">
    <img src="https://cdn.pezzo.ai/discord-button.png" height="32" />
  </a>&nbsp;
  <a href="https://pezzo.cc/3qzMpGb" target="_blank">
    <img src="https://cdn.pezzo.ai/read-the-docs-button.png"" height="32" />
  </a>&nbsp;
  <a href="https://pezzo.cc/3qy415j" target="_blank">
    <img src="https://cdn.pezzo.ai/pezzo-cloud-button.png"" height="32" />
  </a>&nbsp;
</p>

<p align="center">
  <a href="https://pezzo.cc/demo-video-gh" target="_blank">
  <img src="https://cdn.pezzo.ai/banner.png" width="900px">
  </a>
</p>

## Installation

To use the Pezzo client with OpenAI:

```sh
npm install @pezzo/client openai
```

## Usage

The Pezzo Documentation contains useful information on how to use the Pezzo client. It covers various use cases such as prompt management, observability, variables, properties, and more.

[Check out the Pezzo Documentation](https://pezzo.cc/3YILPCw)

## Learn more

- 💡 [What is Pezzo?](https://docs.pezzo.ai/introduction/what-is-pezzo)
- 🕹️ [Tutorial: Prompt Management](https://docs.pezzo.ai/introduction/tutorial-prompt-management/overview)
- 📈 [Tutorial: Observability](https://docs.pezzo.ai/introduction/tutorial-observability/overview)
- 📚 [Pezzo SDK Documentation](https://docs.pezzo.ai/client/pezzo-client)

## License

The `@pezzo/client` library is provided under the Apache 2.0 licesnse.
npm package: @pezzo/integrations
Description: Pezzo integrations for various platforms
Author: Ariel Weinberger
Latest version: 0.1.11
Deprecated: Deprecated as of Pezzo v0.4.0. Use the @pezzo/client package exclusively. Check the release notes to view the full migration guide.

# `@pezzo/integrations`

## ⚠️ Deprecated ⚠️

The `@pezzo/integrations` library is deprecated as of Pezzo v0.4.0. Instead, you should use the `@pezzo/client` library exclusively.

For more information, please check out the [Pezzo Documentation](https://docs.pezzo.ai).

Additionally, you can view the full release notes for Pezzo v0.4.0 [here](https://github.com/pezzolabs/pezzo/releases/tag/v0.4.0).
npm package: @pezzo/knex-clickhouse-dialect
Description: credit to Anatolii Lebedev the previous developer of this library
Author: Thanapat Saisoontonwattana
Latest version: 1.3.0

# Knex ClickHouse dialect

ClickHouse dialect for Knex.js

## Install

```bash
npm install @march_ts/knex-clickhouse-dialect
```

## Usage

```js
import knex from 'knex';
import clickhouse from '@march_ts/knex-clickhouse-dialect';

export default knex({
    client: clickhouse,
    connection: () => {
        return 'clickhouse://login:password@localhost:8123/db_name';
    },
    // optional migrations config
    migrations: {
        directory: 'migrations_clickhouse',
        disableTransactions: true,
        disableMigrationsListValidation: true,
    },
});
```

## Migration

Currently the migration default enging is MergeTree. If you want to use other enging, you can use the `table.engine` function to change the enging.

## Testing Compatibility

### Enging Migration

MergeTree

-   [x] MergeTree
-   [ ] ReplacingMergeTree,
-   [ ] SummingMergeTree
-   [ ] AggregatingMergeTree
-   [ ] VersionedCollapsingMergeTree
-   [ ] CollapsingMergeTree

Log

-   [ ] TinyLog
-   [ ] StripeLog
-   [ ] Log

Others Enging

-   [ ] Memory
-   [ ] Distributed
-   [ ] View, MaterializedView
-   [ ] Dictionary
-   [ ] File, URL
-   [ ] Buffer
-   [ ] Kafka, RabbitMQ
-   [ ] ODBC, JDBC, MySQL, PostgreSQL, HDFS
npm package: @pezzo/llm-toolkit
Description: Your library description
Author: Itay Elgazar
Latest version: 0.7.0

## @pezzo/llm-toolkit

LLM Toolkit is a collection of llm providers and utilities.

### Installation

```bash
npm install @pezzo/llm-toolkit
```

### Usage

```javascript
import { OpenAIToolkit } from "@pezzo/llm-toolkit";
```

### Get model pricing

```javascript
const { promptCostPer1000Tokens, completionCostPer1000Tokens } =
  OpenAIToolkit.gptModels["gpt-3.5-turbo"];
```

### Calculate cost of a prompt

```javascript
// the modelName parameter is fully typed, you'll be able to see a a list with the available models

const cost = OpenAIToolkit.calculateGptCost(
  promptTokens,
  completionTokens,
  modelName
);
```

_Note: The model name is fully typed, you'll be able to see a list with the available models._
![Example](./examples/calculate.png)

### Available Providers

- [OpenAI](https://beta.openai.com/)
npm package: @pf-org/primafacie-core2
Description: A Vue.js project
Author: Json
Latest version: 1.0.1

# primafacie-core2

> A Vue.js project

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
npm package: @pf-ui/pf-icon-svg
Description: <h1 align="center">   @pf-ui/pf-icon-svg </h1>
Author: xuzhudong
Latest version: 1.1.46

<h1 align="center">
  @pf-ui/pf-icon-svg
</h1>

<p align="center">
⭐ The abstract node of SVG icons.
</p>


## Install

```bash
# use yarn
$ yarn add @pf-ui/pf-icon-svg

# or use npm
$ npm install @pf-ui/pf-icon-svg --save
```

## Get started

```ts
import { AccountBookOutlined } from '@pf-ui/pf-icon-svg'
// import AccountBookOutlined from '@pf-ui/pf-icon-svg/es/asn/AccountBookOutlined';

console.log(AccountBookOutlined);
// ==>
// {
//   name: 'account-book',
//   theme: 'outlined',
//   icon: {
//     tag: 'svg',
//     attrs: {
//       viewBox: '64 64 896 896',
//       focusable: 'false'
//     },
//     children: [
//       {
//         tag: 'path',
//         attrs: {
//           d:
//             'M880 184H712v-64c0-4.4-3.6-8-8-8h- ...'
//         }
//       }
//     ]
//   }
// };
```
npm package: @pf-ui/pf-ui-vue
Description: An enterprise-class UI design language and Vue-based implementation
Latest version: 1.0.66

<p align="center">
  <a href="https://www.antdv.com/">
    <img width="200" src="https://qn.antdv.com/logo.png">
  </a>
</p>

<h1 align="center">
  <a href="https://www.antdv.com/" target="_blank">@pf-ui/pf-ui-vue</a>
</h1>

<div align="center">

An enterprise-class UI components based on Ant Design and Vue.

[![npm package](https://img.shields.io/npm/v/@pf-ui/pf-ui-vue.svg?style=flat-square)](https://www.npmjs.org/package/@pf-ui/pf-ui-vue)

</div>

[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](https://www.antdv.com/)

English | [简体中文](./README-zh_CN.md)

## Features

- An enterprise-class UI design system for desktop applications.
- A set of high-quality Vue components out of the box.
- Shared [Ant Design of React](https://ant.design/docs/spec/introduce) design resources.

## Environment Support

- Modern browsers. v1.x support Internet Explorer 9+ (with [polyfills](https://www.antdv.com/docs/vue/getting-started/#Compatibility))
- Server-side Rendering
- Support Vue 2 & Vue 3
- [Electron](https://electronjs.org/)

| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Electron |
| --- | --- | --- | --- | --- | --- |
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

## Using npm or yarn

**We recommend using npm or yarn to install**，it not only makes development easier，but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.

```bash
$ npm install @pf-ui/pf-ui-vue --save
```

```bash
$ yarn add @pf-ui/pf-ui-vue
```

If you are in a bad network environment，you can try other registries and tools like [cnpm](https://github.com/cnpm/cnpm).

## Links

- [Vue](https://vuejs.org/)
- [Ant Design Of React](http://ant.design/)


### 发布
1. 改版本号
2. yarn run dist
3. yarn run compile
4. npm publish
npm package: @pfacheris/implementation-utils-job-worker
Description: Provides a class abstraction for easily implementing Flatfile Jobs
Author: Flatfile
Latest version: 0.0.10

# @flatfile/implementations-utils-job-worker

Provides a class abstraction for easily implementing Flatfile Jobs. This package simplifies the process of creating, running, and managing background jobs within the Flatfile ecosystem.

## Features

- **Abstract Worker Classes**: Provides `JobWorker`, `WorkbookJobWorker`, and `SheetJobWorker` to structure your job logic with easy access to event context.
- **Decorator-based Triggers**: Use the `@TriggeredBy` decorator to link your worker class to a specific job operation.
- **Progress Tracking**: Built-in `ProgressTracker` to report progress back to the Flatfile UI.
- **Simplified Error Handling**: `JobError` class for standardized error reporting.

## Usage

Here is an example of a simple job worker that processes records in a sheet.

```typescript
import {
  SheetJobWorker,
  TriggeredBy,
  worker,
} from "@flatfile/implementations-utils-job-worker";
import { FlatfileListener } from "@flatfile/listener";

// 1. Define your worker class
@TriggeredBy("processRecords", "sheet")
class ProcessRecordsJob extends SheetJobWorker {
  // `execute` is the main method where your job logic lives.
  async execute() {
    const { sheetId } = this;
    const sheet = await this.sheet();

    // Start progress tracking
    this.progress.add("Processing", { size: "l" });

    // Your business logic here...
    // For example, fetching records and processing them.
    await this.progress.report("Processing", 50, "Halfway there!");

    // ... more logic ...

    // Complete the progress
    await this.progress.complete("Processing", "Done!");

    return {
      outcome: {
        message: `Processing complete for sheet: ${sheet.name}.`,
      },
    };
  }
}

// 2. Register the worker with the listener
export default function (listener: FlatfileListener) {
  listener.use(worker(ProcessRecordsJob));
}
```

### Progress Tracking

The `ProgressTracker` helps you provide feedback to the user during long-running jobs.

- `progress.add(name, { size })`: Adds a new task to track. `size` can be `'s'`, `'m'`, or `'l'`.
- `progress.report(name, percentage, message)`: Updates the progress of a task.
- `progress.complete(name, message)`: Marks a task as 100% complete.
npm package: @pfacheris/implementation-utils-known-resources
Description: Provides wrapper classes for common Flatfile API resources with convenient methods for common operations
Author: Flatfile
Latest version: 0.0.6

# @flatfile/implementations-utils-known-resources

Provides wrapper classes for common Flatfile API resources with convenient methods for common operations. These classes simplify interactions with Workbooks and Sheets.

## Features

-   **`KnownWorkbook`**: A wrapper around `Flatfile.Workbook` that provides helpful methods for accessing sheets.
-   **`KnownSheet`**: A wrapper around `Flatfile.Sheet` that provides easy access to sheet properties and fields.

## Usage

Instead of working directly with the raw API response objects, you can use these classes to make your code more readable and robust.

### Working with `KnownWorkbook`

Here's how you can get a workbook and interact with its sheets:

```typescript
import { FlatfileClient } from "@flatfile/api";
import { KnownWorkbook } from "@flatfile/implementations-utils-known-resources";

const api = new FlatfileClient();

async function getWorkbookAndSheets(workbookId: string) {
  // Fetch the raw workbook object from the API
  const { data: rawWorkbook } = await api.workbooks.get(workbookId);

  // Wrap it in a KnownWorkbook
  const workbook = new KnownWorkbook(rawWorkbook);

  // Access sheets easily
  const allSheets = workbook.sheets; // Returns an array of KnownSheet objects

  // Check if a sheet exists by its slug
  if (workbook.hasSheet("contacts")) {
    // Get a specific sheet by its slug
    const contactsSheet = workbook.sheet("contacts");

    console.log(`Sheet Name: ${contactsSheet.name}`);
    console.log(`Sheet ID: ${contactsSheet.id}`);

    // Get all field keys for the sheet
    const fieldKeys = contactsSheet.keys();
    console.log("Fields:", fieldKeys);
  }
}
```
npm package: @pfahlf/tinystringrevers
Description: Reverse a string
Latest version: 0.1.2

## TinyStringRevers

TinyStringRevers does not require any dependecy!

### Install

In order to install the package run
`npm install @pfahlf/tinystringrevers`

to install it globally
`npm install -g @pfahlf/tinystringrevers`

### Usage

````
const tinyrev = require('@pfahlf/tinystringrevers');

tinyrev.reverse(string);
````
npm package: @pfan/v5
Description: [toc]
Author: zwl
Latest version: 0.0.1

# V5

[toc]

## 目录说明
```bash
V5
|---- build 打包命令
|---- dist 打包后文件
|---- doc 使用文档
|---- example 示例
|---- src 组件开发目录
  |---- components 组件库
  |---- styles 组件的样式库
  |---- index.js 组件引用
```

## 使用开发版本
### 克隆 v5 项目到本地
```sh
# 因公司网络问题，建议使用 http 克隆
git clone git@gitlab.hztianque.com:cell/V5.git
```

### 建立本地连接
```sh
cd V5

yarn link
```

### 在项目中使用
```sh
yarn link @ektx/v5
```

> 需要注意的是，此方法需要大家在每次安装了依赖后都要重新操作此步骤

## 项目使用
```bash
# 在项目中使用开发版本
yarn add git+ssh://git@gitlab.hztianque.com/cell/V5.git#dev

# 使用发布版本
yarn add @ektx/v5
```

## 文档

**使用文档在 doc/**

## 打包
```bash
# 打包 js css
yarn run build

# 打包 js
yarn run es6

# 打包 style
yarn run style
```

> 打包后的文件在 **./dist** 目录

## 运行 Demo
```bash
cd example

# 安装依赖，如果已经安装请忽略
yarn

# 运行 Demo
yarn run serve
```

## 项目贡献

### 添加组件

#### 创建文件
先从dev分支上创建一个自己的分支内容，然后在src目录中添加组件。

我们以开发一个 hello 组件为例。

首先在 src/components 目录中添加一个 hello 文件夹(文件夹以驼峰命名)。

然后，我们创建 hello.vue 和 index.js 文件。

hello.vue 文件内容：
```html
<template>
    <h1>{{mes}}</h1>
</template>

<script>
export default {
    name: 'v5-hello',
    data () {
        return {
            mes: 'Hello V5'
        }
    }
}
</script>
```
在 vue 文件中，我们要注意的有：
- 不要添加样式表或样式模块。
- js 中的 name 格式是 `v5-文件名` 如果你的文件夹名是 helloWorld,名称应该是：`v5-hello-world`。

index.js 内容：
```js
export { default } from './hello.vue'
```

#### 添加引用
我们创建好了组件后，需要添加到 index.js 中才可以使用。

打开 src/index.js 文件，我们要修改如下内容：
```diff
// 其它已经引入组件内容
+ import v5Hello from './components/hello/index.js'

 const version = '0.0.1'
 const components = [
     // 其它引入组件内容
+    v5Hello,
 ]

...

 export {
    // 其它内容
+    v5Hello
 }
```

添加完成后，我们就可以在 example 中写 demo 了，组件已经可以在它那使用了。

> 这里要注意的是引入你的组件时，你写的位置要与你的文件夹排序一致，注意查看已经的引入与文件夹的位置关系。

#### 添加样式
有了组件，没有样式的话，还不是一个完整的组件。现在，我们 src/styles 目录中添加一个样式。

在 **src/styles/components** 添加 *hello.scss*，然后打开同目录中的**index.scss**，添加你的组件引用。

src/styles/components/index.scss:
```diff
  // 其它的组件样式
+ @import 'hello.scss';
```

现在，v5有了一个名为 `<v5-hello></v5-hello>` 的组件了。

## 资源
[图标库](http://iconfont.cn/manage/index?manage_type=myprojects&projectId=886927)