Skip to content

UndefinedClear/Pure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PURE — Package Unit Reproducible Environment

PURE Logo Banner

Note

PURE is a minimalist, high-performance environment manager designed for reproducibility and speed. It orchestrates package management and system services with surgical precision.

License: MIT Python 3.10+ Status: Experimental


✨ Features

  • 📦 Intelligent Batching: Automatically groups packages by source (pacman, yay) for lightning-fast installations.
  • ⚙️ Service Orchestration: Manage systemd services alongside your packages in a single configuration.
  • 🧬 Reproducible State: Define your entire environment in a version-control-friendly .pure format.
  • 🏷️ Native Tagging: Support for the # PURE header, making your configuration files instantly recognizable.
  • 🎨 Rich UI: Powered by rich for a beautiful, tech-forward terminal experience.

🚀 Getting Started

Installation

Clone the repository and ensure you have Python 3.10+ installed.

git clone https://github.com/UndefinedClear/pure.git
cd pure
pip install rich

Usage

To apply your configuration:

python pure.py

To convert an existing JSON config to the .pure format:

python json_to_pure_config.py

🛠️ Configuration

PURE uses a human-readable list of tasks. The .pure file is essentially a JSON array with a specialized header.

Example config.pure

# PURE
[
    {
        "type": "package",
        "name": "neovim",
        "source": "pacman",
        "version": "latest"
    },
    {
        "type": "service",
        "name": "docker",
        "action": "enable"
    }
]

📂 Project Structure

  • pure.py: The core execution engine.
  • pure_types.py: Type definitions and format conversion logic.
  • json_to_pure_config.py: Utility for format migration.
  • config.pure: Your environment blueprint.

Built with ❤️ by UndefinedClear

About

⚡ PURE is a minimalist, high-performance environment manager designed for reproducibility and speed. It orchestrates package management and system services with surgical precision.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages