semvec/pypi-packages huggingface dataset:
nitric 1.2.4
The Nitric SDK for Python 3
Requires Python: >=3.11

<p align="center">
  <a href="https://nitric.io">
    <img src="docs/assets/nitric-logo.svg" width="120" alt="Nitric Logo"/>
  </a>
</p>

<h2 align="center">
  Build <a href="https://nitric.io">nitric</a> applications with Python
</h2>

<p align="center">
  <a href="https://actions-badge.atrox.dev/nitrictech/python-sdk/goto?ref=main"><img alt="Build Status" src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fnitrictech%2Fpython-sdk%2Fbadge%3Fref%3Dmain&style=for-the-badge" /></a>
  <a href="https://codecov.io/gh/nitrictech/python-sdk">
    <img alt="Codecov" src="https://img.shields.io/codecov/c/gh/nitrictech/python-sdk?style=for-the-badge&token=SBFRNSZ4ZF">
  </a>
  <a href="https://pypi.org/project/nitric">
    <img alt="Version" src="https://img.shields.io/pypi/v/nitric?style=for-the-badge">
  </a>
  <a href="https://pypi.org/project/nitric">
    <img alt="Downloads/week" src="https://img.shields.io/pypi/dw/nitric?style=for-the-badge">
  </a>
  <a href="https://nitric.io/chat"><img alt="Discord" src="https://img.shields.io/discord/955259353043173427?label=discord&style=for-the-badge"></a>
</p>

The Python SDK supports the use of the [Nitric](https://nitric.io) framework with Python 3.11+. For more information check out the main [Nitric repo](https://github.com/nitrictech/nitric).

Python SDKs provide an infrastructure-from-code style that lets you define resources in code. You can also write the functions that support the logic behind APIs, subscribers and schedules.

You can request the type of access you need to resources such as publishing for topics, without dealing directly with IAM or policy documents.

- Reference Documentation: https://nitric.io/docs/reference/python
- Guides: https://nitric.io/docs/guides/python

## Usage

### Starting a new project

Install the [Nitric CLI](https://nitric.io/docs/getting-started/installation), then generate your project:

```bash
nitric new hello-world py-starter
```

### Add to an existing project

First of all, you need to install the library:

**pip**

```bash
pip3 install nitric
```

**pipenv**

```
pipenv install nitric
```

Then you're able to import the library and create cloud resources:

```python
from nitric.resources import api, bucket
from nitric.application import Nitric
from nitric.context import HttpContext

publicApi = api("public")
uploads = bucket("uploads").allow("write")

@publicApi.get("/upload")
async def upload(ctx: HttpContext):
    photo = uploads.file("images/photo.jpg")

    url = await photo.upload_url()

    ctx.res.body = {"url": url}

Nitric.run()
```

## Learn more

Learn more by checking out the [Nitric documentation](https://nitric.io/docs).

## Get in touch:

- Join us on [Discord](https://nitric.io/chat)

- Ask questions in [GitHub discussions](https://github.com/nitrictech/nitric/discussions)

- Find us on [Twitter](https://twitter.com/nitric_io)

- Send us an [email](mailto:maintainers@nitric.io)
rogerluo-duck 0.3.2
A software framework for the duck (operator learning) renormalization group.
Requires Python: >=3.12

# Duck - a package for the duck (operator learning) renormalization group

[![CI](https://github.com/Roger-luo/duck/actions/workflows/ci.yml/badge.svg)](https://github.com/Roger-luo/duck/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/Roger-luo/duck/graph/badge.svg?token=lFhrmt1PKc)](https://codecov.io/gh/Roger-luo/duck)

This package is a Python implementation of the duck (operator learning) renormalization group in JAX.

> [!NOTE]
> There was an older implementation of the duck RG in [teal](https://github.com/Roger-luo/teal), which
> was used for the first 2 versions of [the duck RG theory paper](https://arxiv.org/abs/2403.03199).

> [!IMPORTANT]
> This package is still under development in alpha stage, and the API may change in the future.

## Installation

This package is available on PyPI, thus can be installed via `pip`:

```bash
pip install rogerluo-duck
```

However, we highly recommend using [uv](https://docs.astral.sh/uv/) to install the package, run
the following in your Python project.

```bash
uv add rogerluo-duck
```

## Features

- a simple **symbolic system** for defining operators
- a set of **differentiable** local **solvers** defined on top of the above symbolic system
- implementation of the **duck RG** loss function
- a set of utilities for **training** and **evaluating** the machine learning model in the duck RG

## Documentation

The documentation is available at [https://rogerluo.dev/duck/](https://rogerluo.dev/duck/).

## License

This package is licensed under the Apache License 2.0.
baserowsdk 0.1.2
Baserow OpenAPI Python SDK
Requires Python: <4.0,>=3.8

# Baserowsdk


# Requirements

python3.8 +

# Installation

```shell
pip install --upgrade baserowsdk
```

# Getting started

### 初始化客户端
```python
from baserowsdk import Client

client = Client(
    api_key="your_api_key",
    base_url="http://your.baserow.domain"
)
```

### 获取字段信息
```python
# 获取表的所有字段定义
fields = client.fields(table_id=182)
print(fields)
```

### 查询数据
```python
# 单条查询
base = client.base(39)
row = base.table(182).row(row_id=1)
print(row)

# 批量查询
rows = base.table(182).select(page_size=100)
print(rows)

# 查询同时种缓存
# 注意: 缓存是基于 client 对象的, 不同 client 对象之间互不干扰
# 注意: 缓存 Key 为 select 的所有查询条件进行 Hash, 仅查询条件完全相同才会命中缓存
rows = base.table(182).select(page_size=100, cache_senconds=10)
print(rows)
```

### 创建数据
```python
# 创建新记录
row = client.base(39).table(182).create(
    fields={"黑话改写_输入": "1234567890","黑话改写_输出": "1234567890"}
)
print(row)
```

### 更新数据
```python
# 更新记录
updated_row = client.base(39).table(182).update(
    row_id=6,
    fields={
        "执行批次ID": "BATCH-001",
        "测试用例": [1, 2, 3]  # 关联字段支持多值
    },
    user_field_names=True  # 使用用户定义的字段名
)
print(updated_row)
```

### 删除数据
```python
# 删除记录
client.base(39).table(182).delete(row_id=7)
```
pyhostprep 1.0.59
Couchbase Host Automation Library
Requires Python: <4,>=3.8
Keywords: couchbase, devops, automation

# host-prep-lib 1.0.59

Automation for preparing a host to run Couchbase software.

Note: This package is not officially supported by Couchbase.

## Quick Start

Install the software bundle for Couchbase Server and all prerequisites
```
# bundlemgr -b CBS
```

Configure a Couchbase Server cluster with three nodes
```
swmgr cluster -n cbdb -l 192.168.1.5,192.168.1.6,192.168.1.7
```