open-index/open-npm huggingface dataset:
npm package: @pyroswap/eslint-config-pyro
Description: Eslint config for PyroSwap
Author: RabbitDoge
Latest version: 1.0.1

# eslint-config-pyro

**This repository is not used anymore. See the [Pyro toolkit](https://github.com/pyroswap/pyro-toolkit) instead**

Pyro Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @pyroswap/eslint-config-pyro
```

Add `"extends": "@pyroswap-libs/eslint-config-pyro"` to your eslint config file.
npm package: @pyroswap/sdk
Description: 🛠 An SDK for building applications on top of PyroSwap.
Latest version: 2.3.0

# Pancakeswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/pancakeswap/pancakeswap-sdk/workflows/CI/badge.svg)](https://github.com/pancakeswap/pancakeswap-sdk)
[![npm version](https://img.shields.io/npm/v/@pancakeswap-lib/sdk/latest.svg)](https://www.npmjs.com/package/@pancakeswap-lib/sdk/v/latest)

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/pancakeswap/pancakeswap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @pyroswap/uikit
Description: Set of UI components for pyro projects
Latest version: 0.38.0

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @pyroth/sodo
Description: WebAssembly bindings for sodo Sudoku library
Latest version: 0.2.1

# sodo

Fast Sudoku solver and generator in Rust.

## Installation

```bash
cargo install sodo
```

## Usage

```bash
# Generate a puzzle
sodo g -d hard

# Solve a puzzle
sodo s <puzzle>

# Get a hint
sodo h <puzzle>

# Validate
sodo v <puzzle>
```

## Library

```rust
use sodo::{Sudoku, Solver};

let puzzle = Sudoku::from_string(
    "..76..23.1.29.4.5.695..34...1...5.6.....6.......3...4...12..38.45.1.87.6.28..61..",
    9
).unwrap();

let mut solver = Solver::new();
let solution = solver.solve(puzzle).unwrap();
println!("{}", solution);
```

## License

Licensed under either of:

- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or <https://www.apache.org/licenses/LICENSE-2.0>)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <https://opensource.org/licenses/MIT>)

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in sodo by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.
npm package: @pyrovm/sdk
Description: TypeScript SDK for Pyro — open-source sandbox platform for AI agents
Latest version: 0.1.0

# @pyrovm/sdk

TypeScript SDK for [Pyro](https://github.com/danievanzyl/pyro) — the open-source sandbox platform for AI agents.

## Install

```bash
npm install @pyrovm/sdk
```

## Quickstart

```typescript
import { Pyro } from '@pyrovm/sdk'

const pyro = new Pyro({ apiKey: 'pk_...', baseUrl: 'http://localhost:8080' })

const sandbox = await pyro.sandbox.create({ image: 'python', timeout: 300 })
const result = await sandbox.run('print("Hello from Pyro!")')
console.log(result.stdout) // "Hello from Pyro!\n"
await sandbox.stop()
```

## Configuration

| Env var | Description |
|---------|-------------|
| `PYRO_API_KEY` | API key (or pass `apiKey` to constructor) |
| `PYRO_BASE_URL` | Server URL (default: `http://localhost:8080`) |

## API

### `new Pyro(config?)`

Create a client. Config fields: `apiKey`, `baseUrl`, `timeout` (ms, default 30000).

### `pyro.sandbox.create(options?)`

Create a sandbox. Options: `image`, `timeout` (seconds), `vcpu`, `memMib`. Returns `Sandbox`.

### `pyro.sandbox.list()`

List active sandboxes. Returns `Sandbox[]`.

### `pyro.sandbox.get(id)`

Get a sandbox by ID. Returns `Sandbox`.

### `sandbox.exec(command, options?)`

Execute a command. Returns `ExecResult { exitCode, stdout, stderr }`.

### `sandbox.run(code, language?)`

Run code. Auto-detects language from image name.

### `sandbox.writeFile(path, content)`

Write a string or `Uint8Array` into the sandbox.

### `sandbox.readFile(path)`

Read a file from the sandbox. Returns `Uint8Array`.

### `sandbox.stop()`

Destroy the sandbox.

### `pyro.health()`

Check server health. Returns `{ status, active_sandboxes }`.
npm package: @pyroxdev/remark-code-snippets
Description: Import snippets of source code from files as code blocks
Author: Pyrox
Latest version: 1.2.1

# `remark-code-snippets`

Remark plugin for importing snippets of source files, as code blocks, based on markers found in the file.

[![npm version](https://badge.fury.io/js/@pyroxdev%2Fremark-code-snippets.svg)](https://badge.fury.io/js/@pyroxdev%2Fremark-code-snippets)

## Installation

```sh
yarn add -D @pyroxdev/remark-code-snippets
```

## Setup

See [**Using plugins**](https://github.com/remarkjs/remark/blob/master/doc/plugins.md#using-plugins) in the official documentation.

## Usage

Adds file, start, and end options to code blocks in markdown.

See below for usage.

When a source file contains the following:

```js
console.log('This will not be included');

// @start group

console.log('This will be included');

// @end group

console.log('This will also not be included');
```

...then the following code block:

````md
```js ./say-hi.js group

```
````

...will be transformed into:

````md
```js ./say-hi.js group
console.log('This will be included');
```
````

## Options

- `baseDir`: By default, file paths will be interpreted relative to the file they are referenced from. Specify a path here to override that and then reference all files relative to a fixed point. Usually, it makes sense for the baseDir to point to some top-level `src` directory.
- `async`: By default, this plugin uses `readFileSync` to read the contents of the files. Set this to `true` if you want to use `readFile` for non-blocking IO.
- `ignoreMissingFiles`: By default, referencing a file that doesn't exist will throw an error. But in some cases, e.g. in development mode, you might want to be able to iterate quickly without failing here. Set this to true for this behaviour.

## Testing

I removed the test code since I really don't want to deal with the Jest ecosystem. Please don't bug me about it.
I only support this package for the QuiltMC Developer Wiki, I would not suggest relying on it yourself.