semvec/pypi-packages huggingface dataset:
pyprefab 0.5.8
Python application template for personal use
Requires Python: >=3.11

# pyprefab

A template-driven command line interface (CLI) that creates the scaffolding
for a fully-functional, modern Python package. The goal of pyprefab is to get
you straight to writing application code by handling project startup tasks
like logging setup and creating a test harness.

![pyprefab demo](https://raw.githubusercontent.com/bsweger/pyprefab/main/docs/source/_static/pyprefab-demo.gif)

The scaffolding includes:

- package files in the [src layout](https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/) format
- `pyproject.toml` with [dependency groups](https://packaging.python.org/en/latest/specifications/dependency-groups/#dependency-groups)
- `CHANGELOG.md`, `CONTRIBUTING.md`, `.gitignore`, and `README.md`
- automated package versioning with [setuptools-scm](https://pypi.org/project/setuptools-scm/)
- [structlog](https://www.structlog.org/)-based pre-configured logging
- a [pytest](https://docs.pytest.org)-based test harness
- a [pre-commit](https://pre-commit.com/) configuration with common plugins like
[ruff](https://docs.astral.sh/ruff/) for linting (optional)
- GitHub workflow that automatically runs code checks, tests, and a test
coverage report
- GitHub workflow for publishing the package to PyPI

## Quickstart

If you have `uv` installed,
[`uv tool run`](https://docs.astral.sh/uv/reference/cli/#uv-tool-run) is the
fastest way to create a new Python package with pyprefab:

```sh
uvx pyprefab
```

Otherwise, use `pip` or `pipx` to install pyprefab:

```sh
python -m pip install pyprefab

python -m pyprefab
```

## Project setup

See [CONTRIBUTING.MD](CONTRIBUTING.md) for information on setting up
a local development environment for pyprefab.
pycocowriter 0.4.1
tools for writing coco files

# pycocowriter

This library contains tools to assist in writing COCO-format annotation files.  
Contains [typing and constructors](https://nodd-tools.github.io/pycocowriter/api/coco) to assist in building a COCO-format file from scratch and then [dump it to json](https://nodd-tools.github.io/pycocowriter/api/coco/#pycocowriter.coco.COCOData.to_json).
Contains [helpful conversion tools](https://nodd-tools.github.io/pycocowriter/api/csv2coco) to assist in converting annotations in flat files or from SQL queries into COCO format.

# Installation

Install the latest stable release [from pypi](https://pypi.org/project/pycocowriter/)  

    pip install pycocowriter

Or install the development version [from github](https://github.com/nodd-tools/pycocowriter)

    pip install git+https://github.com/nodd-tools/pycocowriter.git

# Contributing

We would love to have your contributions that improve current functionality, fix bugs, or add new features
that facilitate parsing generic image annotation formats into COCO format.  See [the contributing guidelines](CONTRIBUTING.md) for more info.

# Disclaimer

This repository is a scientific product and is not official communication of the National Oceanic and
Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project
code is provided on an ‘as is’ basis and the user assumes responsibility for its use. Any claims against the
Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub
project will be governed by all applicable Federal law. Any reference to specific commercial products,
processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or
imply their endorsement, recommendation or favoring by the Department of Commerce. The Department
of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to
imply endorsement of any commercial product or activity by DOC or the United States Government.
nimbus-splash 1.13.10
A package to make life easier when using the University of Bath's cloud computing suite for Orca calculations.
Requires Python: >=3.10


Splash - the sound an Orca would make if it had a Bath.



`nimbus_splash`, or `splash` for short, is a package to make life easier
when using the University of Bath's `Nimbus` cloud computing suite for Orca
calculations.



Please see the `nimbus_splash` documentation for more details.
todolist-angrypig555 1.1.1
A todolist made with the textual library with the ability to open and save your todo-list
Requires Python: >=3.9

# to-do-list
A to do list in textual

Required dependencies: textual, rich, python3
Runs on any OS, tested on ubuntu and windows 11.

# Changelog
v1.1.1
- Added credits for a new contributor 
- Added a christmas message at the bottom of the application
- Stable release

# Contributors
Thank you to @SoftPankek7 for the minimised version. Check out his branch called minimised-indev
pushikoo-adapter-testgetter 0.1.2
TestGetter for pushikoo-adapter development as a template.
Requires Python: >=3.10

<div align="center">

# pushikoo-adapter-testgetter

TestGetter for pushikoo-adapter development as a template.

[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Pushikoo/pushikoo-adapter-testgetter/package.yml)](https://github.com/Pushikoo/pushikoo-adapter-testgetter/actions)
[![Python](https://img.shields.io/pypi/pyversions/pushikoo-adapter-testgetter)](https://pypi.org/project/pushikoo-adapter-testgetter)
[![PyPI version](https://badge.fury.io/py/pushikoo-adapter-testgetter.svg)](https://pypi.org/project/pushikoo-adapter-testgetter)
[![License](https://img.shields.io/github/license/Pushikoo/pushikoo-adapter-testgetter.svg)](https://pypi.org/project/pushikoo-adapter-testgetter/)

</div>
pushikoo-adapter-testpusher 0.1.1
TestPusher for pushikoo-adapter development as a template.
Requires Python: >=3.10

<div align="center">

# pushikoo-adapter-testpusher

TestPusher for pushikoo-adapter development as a template.

[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Pushikoo/pushikoo-adapter-testpusher/package.yml)](https://github.com/Pushikoo/pushikoo-adapter-testpusher/actions)
[![Python](https://img.shields.io/pypi/pyversions/pushikoo-adapter-testpusher)](https://pypi.org/project/pushikoo-adapter-testpusher)
[![PyPI version](https://badge.fury.io/py/pushikoo-adapter-testpusher.svg)](https://pypi.org/project/pushikoo-adapter-testpusher)
[![License](https://img.shields.io/github/license/Pushikoo/pushikoo-adapter-testpusher.svg)](https://pypi.org/project/pushikoo-adapter-testpusher/)

</div>
pushikoo-getter-gh 0.1.2
GitHub getter adapter for Pushikoo.
Requires Python: >=3.10

<div align="center">

# pushikoo-getter-gh

GitHub getter adapter for Pushikoo. Monitors GitHub repository commits.

[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Pushikoo/pushikoo-getter-gh/package.yml)](https://github.com/Pushikoo/pushikoo-getter-gh/actions)
[![Python](https://img.shields.io/pypi/pyversions/pushikoo-getter-gh)](https://pypi.org/project/pushikoo-getter-gh)
[![PyPI version](https://badge.fury.io/py/pushikoo-getter-gh.svg)](https://pypi.org/project/pushikoo-getter-gh)
[![License](https://img.shields.io/github/license/Pushikoo/pushikoo-getter-gh.svg)](https://pypi.org/project/pushikoo-getter-gh/)

</div>

## Configuration

### Adapter Config

| Field  | Type             | Default           | Description                                                   |
| ------ | ---------------- | ----------------- | ------------------------------------------------------------- |
| `auth` | `dict[str, str]` | `{"default": ""}` | GitHub API tokens. Key is the token name, value is the token. |

### Instance Config

| Field    | Type   | Default     | Description                                         |
| -------- | ------ | ----------- | --------------------------------------------------- |
| `repo`   | `str`  | Required    | Repository path, e.g. `Pushikoo/pushikoo-getter-gh` |
| `commit` | `bool` | `true`      | Enable commit monitoring                            |
| `auth`   | `str`  | `"default"` | Token name to use from adapter config               |
pushikoo-pusher-dingtalk 0.2.1
DingTalk custom bot pusher for Pushikoo.
Requires Python: >=3.10

<div align="center">

# pushikoo-pusher-dingtalk

DingTalk custom bot pusher for Pushikoo.

[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Pushikoo/pushikoo-pusher-dingtalk/package.yml)](https://github.com/Pushikoo/pushikoo-pusher-dingtalk/actions)
[![Python](https://img.shields.io/pypi/pyversions/pushikoo-pusher-dingtalk)](https://pypi.org/project/pushikoo-pusher-dingtalk)
[![PyPI version](https://badge.fury.io/py/pushikoo-pusher-dingtalk.svg)](https://pypi.org/project/pushikoo-pusher-dingtalk)
[![License](https://img.shields.io/github/license/Pushikoo/pushikoo-pusher-dingtalk.svg)](https://pypi.org/project/pushikoo-pusher-dingtalk/)

</div>
pushikoo-pusher-onebot 0.1.2
OneBot Pusher adapter for Pushikoo.
Requires Python: >=3.10

<div align="center">

# pushikoo-pusher-onebot

OneBot Pusher adapter for Pushikoo.

[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Pushikoo/pushikoo-pusher-onebot/package.yml)](https://github.com/Pushikoo/pushikoo-pusher-onebot/actions)
[![Python](https://img.shields.io/pypi/pyversions/pushikoo-pusher-onebot)](https://pypi.org/project/pushikoo-pusher-onebot)
[![PyPI version](https://badge.fury.io/py/pushikoo-pusher-onebot.svg)](https://pypi.org/project/pushikoo-pusher-onebot)
[![License](https://img.shields.io/github/license/Pushikoo/pushikoo-pusher-onebot.svg)](https://pypi.org/project/pushikoo-pusher-onebot/)

</div>
newton-sos 0.2.2
Damped Newton method to solve low-rank problems arising from KernelSOS and Sum-of-Squares relaxations
Requires Python: >=3.8

# newton-sos
Damped Newton method to solve low-rank problems arising from KernelSOS and Sum-of-Squares relaxations

## Installation
This project is implemented using both Rust and Python. The Python bindings are created using [PyO3](https://pyo3.rs/), and [maturin](https://www.maturin.rs/) as the build system.

[maturin](https://www.maturin.rs/) can be installed directly using `pip`:
```bash
pip install maturin
```
To build the Rust code and install it directly as a Python package in the current environment, run:
```bash
maturin develop --release --features python
```

This is equivalent to building the wheels and installing it in the current environment:
```bash
maturin build --release --out dist --features python
pip install dist/newton_sos-*.whl
```

## Usage
### Rust
An example is provided in `examples/polynomial.rs`. To run it, use:
```bash
cargo run --example polynomial --release
```

Solving an SDP using the library can be done in three steps. First, define a problem by constructing a `Problem` struct. Then, compute the kernel matrix using the `Problem::initialize_native_kernel` method with the desired kernel parameters. Finally, call the `solve` method on the `Problem` instance to solve the optimization problem:
```rust
let problem = Problem::new( ... ); // Define the problem
problem.initialize_native_kernel( ... ); // Compute the kernel matrix
let result = solve(problem, ... ); // Solve the optimization problem
```
Another function called `solve_parallel` is also provided to solve multiple problems in parallel.

### Python
An example is provided in `examples/polynomial.py`. To run it, use:
```bash
python examples/polynomial.py
```
after installing the package as described above.

The steps to solve an SDP using the Python bindings are similar to the Rust version. First, define a problem by creating an instance of the `Problem` class. Then, compute the kernel matrix using the `initialize_native_kernel` method with the desired kernel parameters. Finally, call the `solve` method on the `Problem` instance to solve the optimization problem:
```python
problem = Problem( ... )  # Define the problem
problem.initialize_native_kernel( ... )  # Compute the kernel matrix
result = problem.solve( ... )  # Solve the optimization problem
```