Skip to main content

A lightweight archive downloader for pre-build binary dependencies.

Project description

Poks

CI Status Test coverage percentage

uv Ruff pypeline pre-commit

PyPI Version Supported Python versions License


Source Code: https://github.com/cuinixam/poks


A lightweight, cross-platform archive downloader for pre-built binary dependencies. Inspired by Scoop, Poks provides a uniform way to install and manage developer tools using simple JSON manifests.

Features

  • Cross-Platform: Works on Windows, Linux, and macOS
  • No Admin Rights: Installs tools in user space
  • Deterministic: Pin exact versions in manifests for reproducible builds
  • Relocatable: The apps directory is self-contained and portable

Installation

Install via pipx(or your favorite package manager):

pipx install poks

Quick Start

Create a poks.json configuration file:

{
    "buckets": [
        {
            "name": "main",
            "url": "https://github.com/poks/main-bucket.git"
        }
    ],
    "apps": [
        {
            "name": "cmake",
            "version": "3.28.1",
            "bucket": "main"
        }
    ]
}

Install the defined tools:

poks install -c poks.json

CLI Commands

# Install tools from config file
poks install -c poks.json

# Install a specific tool
poks install zephyr-sdk@0.16.5-1 --bucket main

# Uninstall a specific version
poks uninstall zephyr-sdk@0.16.5-1

# Uninstall all versions of an app
poks uninstall zephyr-sdk

# Uninstall everything
poks uninstall --all

Documentation

For detailed specifications and manifest format, see docs/specs.md.

Development

This project uses pypeline for build automation.

# Run full pipeline (lint + tests)
pypeline run

# Run only linting
pypeline run --step PreCommit

# Run tests with specific Python version
pypeline run --step CreateVEnv --step PyTest --single --input python_version=3.13

For AI agents and contributors, see AGENTS.md for development guidelines.

Credits

Copier

This package was created with Copier and the browniebroke/pypackage-template project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poks-0.1.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poks-0.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file poks-0.1.0.tar.gz.

File metadata

  • Download URL: poks-0.1.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for poks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8e0ff8c5118e47a2921d5fd93ccceb17905af9309539d6a7c568b89c282c7802
MD5 78e8116a7aaac690f4a71545f7f6fcf7
BLAKE2b-256 ceb8db223cef53db00bd8c20a7537c86354363b63793afe3fddcd3edc99fa668

See more details on using hashes here.

Provenance

The following attestation bundles were made for poks-0.1.0.tar.gz:

Publisher: ci.yml on cuinixam/poks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file poks-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: poks-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for poks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7579ca4e6b5a0f5d9e94fa60ecb6d164b99902ed8a62a695307f9fb0c0129aa
MD5 b092aeb10e7c6ccfe4c4f5b531ea9b8d
BLAKE2b-256 9b4b5bf4ceec74a42d48e69ac750ef6415a53f940f7ba96bfb5ba75187505de5

See more details on using hashes here.

Provenance

The following attestation bundles were made for poks-0.1.0-py3-none-any.whl:

Publisher: ci.yml on cuinixam/poks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page