Skip to main content

About

PowerRules is a rule-based command automation tool: when the conditions of a rule match, its commands run.

rules:
  # Match when no backup process is running between 23:00 and 01:30
  - name: "Shutdown when no backup is running at night"
    conditions:
      and:
        - process:
            name: "backup"
            exists: false
        - datetime:
            between:
              start: "23"
              end: "1:30"
    actions:
      - run: "shutdown -h now"

Credits & License

  • Inkscape → program used to design the logo
  • Nuitka → standalone binaries
  • psutil → process information
  • Pydantic → configuration validation
  • PyYAML → YAML policy parsing
  • rich → console output formatting
  • Typer → command-line interface
  • Zensical → documentation

This repository is licensed under the MIT License.

Metadata

Release files for powerrules 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for powerrules 0.7.0
File Size Uploaded Provenance Actions
powerrules-0.7.0.tar.gz 50.5 kB With provenance Details for powerrules-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for powerrules 0.7.0
File Interpreter ABI Platform Actions
powerrules-0.7.0-py3-none-any.whl Python 3 none any Details for powerrules-0.7.0-py3-none-any.whl

Total release size: 118.6 kB

Release files / powerrules-0.7.0.tar.gz

Download URL powerrules-0.7.0.tar.gz
Size 50.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ef3e5760cf7773d85f84a65cf5c5ee8c58b40b7e427f09f3e5987f5732b0df02
BLAKE2b-256 checksum
How to use checksums
71c57493157bafd0bea049df5520910cba5710c10cfbbb45b6061cca067012d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / powerrules-0.7.0-py3-none-any.whl

Download URL powerrules-0.7.0-py3-none-any.whl
Size 68.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f43ad654ad622a7f475de6f5e39c5bbe1d64bcc80d474b7866cf95c1f600d78
BLAKE2b-256 checksum
How to use checksums
1de9c5d4b615428df86f8f222c9a3d27d4353e2725d7be79168fb3b95ef8f32a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for powerrules 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for powerrules-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page