Skip to main content

MyEmerge Github - Downloads

A Python-based CLI tool designed to simplify, optimize, and automate Gentoo Linux system updates (emerge).

Features

  • Automated Update Workflow: Runs sync, world deep update, preserved rebuilds, reverse dependencies checks, and distfiles cleanup.
  • CPU Frequency Scaling Control: Automatically limits or sets CPU scaling frequency during compilation (powered by pycpufreq) to prevent system thermal throttling or excessive heat.
  • Optional Ccache Integration: Supports checking compiler cache statistics and sets Portage CCACHE_DIR automatically when enabled.
  • Security-Minded Configuration: Enforces and verifies secure file ownership (root:root) and permissions on /etc/myemerge/myemerge.ini.

Configuration

myemerge automatically creates and reads its configuration file at /etc/myemerge/myemerge.ini.

Example Configuration

[cpupower]
# Maximum CPU frequency in Hz applied during emerge execution
# Defaults to your system's current maximum CPU scaling frequency
cpu_hz = 4600000

[ccache]
# Boolean flag to enable or disable ccache support (True / False)
# Defaults to False
use = False

Configuration Options

Section Option Type Default Description
[cpupower] cpu_hz Integer System Max Freq Maximum CPU scaling frequency (in Hz) applied while compiling packages. Restores previous frequency upon completion.
[ccache] use Boolean False When True, configures CCACHE_DIR and allows viewing cache stats. Set to False to disable ccache integration.

Ccache Setup

To take full advantage of ccache in Gentoo, ensure it is installed and configured in /etc/portage/make.conf:

FEATURES="ccache"
CCACHE_DIR="/var/cache/ccache"

You can view ccache statistics at any time by running:

myemerge --ccache_stats

If ccache is disabled in /etc/myemerge/myemerge.ini (use = False), myemerge will skip setting the environment variable and inform you when running --ccache_stats.


Usage

myemerge [options]

Command-Line Arguments

  • --help, -h: Show help message and available options.
  • --version: Show the version number and release date.
  • --rebuild: Rebuild the whole Gentoo system (emaint, emerge -ev world, @preserved-rebuild, revdep-rebuild).
  • --ccache_stats: Display ccache statistics (ccache -s).
  • --nosync: Skip emerge --sync and proceed directly with package updates.
  • --noclean: Skip cleaning unnecessary distfiles (eclean-dist -d) after compilation.

Development

This project uses Poetry and Poe the Poet for task management.

# Update translations (.pot, .po, and compile .mo)
poetry run poe translate

# View release instructions
poetry run poe release

Metadata

Release files for myemerge 1.2.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 myemerge 1.2.0
File Size Uploaded Provenance Actions
myemerge-1.2.0.tar.gz 20.5 kB Without provenance Details for myemerge-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.3 kB

Release files / myemerge-1.2.0.tar.gz

Download URL myemerge-1.2.0.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f9ac2ad3bdf0c6d4f14930e48f1c0b7e81f641fd3e7cd4333be75441726241eb
BLAKE2b-256 checksum
How to use checksums
38a33da3d4ae762725975ff1f07e414b8e190728e17b89c5c355901cf62865f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.10 Linux/7.3.0-gentoo

Release files / myemerge-1.2.0-py3-none-any.whl

Download URL myemerge-1.2.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6214e5c27116170cdd71a858b6be14ab2846ef2fc225e9d1d210be04ab0a0c73
BLAKE2b-256 checksum
How to use checksums
a3aef7ce2fd45b0052754c0df930bd053999ee165ecbc5e13088d53ecd19d7c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.14.10 Linux/7.3.0-gentoo

Security for myemerge 1.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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