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.1

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.1
File Size Uploaded Provenance Actions
powerrules-0.7.1.tar.gz 50.5 kB With provenance Details for powerrules-0.7.1.tar.gz

Built distribution (wheel)

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

Total release size: 118.7 kB

Release files / powerrules-0.7.1.tar.gz

Download URL powerrules-0.7.1.tar.gz
Size 50.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8af8041fb84d8c5f00e9118a28b59565ed94701a337ab4a59e938e88987fe330
BLAKE2b-256 checksum
How to use checksums
ef73bd125d505a0ed4467ba8f8ddbff36f19b6bd262672da95cf582632312e8f
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.1-py3-none-any.whl

Download URL powerrules-0.7.1-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82d5c176fd40a81a9c0dfe3baff23a135582ce5b6ddd93194a2044da3716c8a6
BLAKE2b-256 checksum
How to use checksums
b2bc4027ffbc04c392b28a93ca7dcdea016182ea8857f6525d024175e7d7f2e4
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.1

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.1.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.1 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