Skip to main content

The fun cross-platform package manager!

Project description

Funstall

This is my own custom package manager (well, mostly it's a wrapper around other package managers).

Usage

NOTE Since this tool currently requires pyenv it does not run on Windows.

Installation

NOTE This tool uses pyenv to install itself and other software that runs on Python. The installer will install pyenv if it is not available.

(
  ^curl
    --silent
    --show-error
    --location
    https://raw.githubusercontent.com/hbibel/funstall/refs/heads/main/install.nu
    -o /tmp/install-funstall.nu
)
nu /tmp/install-funstall.nu  # Add flags as required
rm /tmp/install-funstall.nu

A link to the executable will be placed at ~/.local/bin. Make sure this is on your PATH.

List all available packages

funstall list

Why?

I use multiple operating systems on multiple machines, requiring me to switch between package managers (mainly pacman and brew). My goal is to have a consistent, personal workflow no matter which machine I use, so I need a wrapper around platform-specific package managers.

As a side note, I also don't agree with how some AUR packages are implemented, so I'm hesitant to use yay on Arch. Implementing my own installation scripts based on AUR implementations also makes me feel safer from supply-chain attacks.

Implementation Considerations

Initially I planned to implement this in nushell within my dotfiles. However I started to feel uneasy with the rather simplistic typing system in nushell as data models surpassed a certain level of complexity. Therefore I decided to reach for another programming language.

I started this project using Python because I want to avoid writing a GitHub action for now to distribute this project across my computers. Generally I prefer compiled languages for CLI applications though so I may rewrite in Rust™ in the future (or in another language).

Development

Publish a new version:

First create a PyPI API key with access to the repository. Then save it in .pypi-token.secret.

uv build --sdist
uv publish --token $(cat .pypi-token.secret)

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

funstall-0.1.3.dev6.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

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

funstall-0.1.3.dev6-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file funstall-0.1.3.dev6.tar.gz.

File metadata

  • Download URL: funstall-0.1.3.dev6.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for funstall-0.1.3.dev6.tar.gz
Algorithm Hash digest
SHA256 33683d203eb48680f2904bb2faf9b70d89029b1e37768c9a940a1e647cca51d4
MD5 4a7218b031c773b3e211b9222557e9a8
BLAKE2b-256 f70728f1c04b283af8186b53efc04fc523226fc4d91cefdeffba9426b9e62e47

See more details on using hashes here.

File details

Details for the file funstall-0.1.3.dev6-py3-none-any.whl.

File metadata

File hashes

Hashes for funstall-0.1.3.dev6-py3-none-any.whl
Algorithm Hash digest
SHA256 fbdc076802e498390c3aae38c7994e9b2186a13e348628d2010b83d90afc3a88
MD5 9df2960f4b6b231403f97dcb03b30141
BLAKE2b-256 bb994a18fba961e93df1c526def44eeb1ec15168aa84bbf6bc3614acb553cd5c

See more details on using hashes here.

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