cpuset-py3
Fork of cpuset (https://github.com/lpechacek/cpuset) by Alex Tsariounov that works with python3
Decision gist · record as of 2026-08-14
No—the package is abandoned (last commit 2016-01-21, no releases since 2020-12-01) and will receive no maintenance or security updates. The license is ambiguous in metadata. If you need cpuset control, use the system cpuset command directly, interact with cgroups v2 via standard Python libraries, or adopt a maintained alternative. Install only if you are maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Linux kernel with cpuset support enabled, root privileges to modify cpuset filesystem, and /dev/cpuset or /sys/fs/cgroup/cpuset mounted.
- Low install friction with no runtime dependencies, but the project is abandoned—last commit was 2016-01-21 and no releases since 2020-12-01.
- Expect no maintenance or security updates.
License · maintenance · safety
(unclear) — License treatment is unclear: the description excerpt cites GNU General Public License version 2, but the package metadata does not declare it formally. Verify the actual license terms before use in proprietary or restrictive-license projects.
last release 2020-12-01 (2082 days) · last repo commit 2016-01-21 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 363,856 downloads/mo, #7,215 on PyPI
Alternatives
Verify before relying
pip install cpuset-py3
import cpuset
# Requires root access and Linux cpuset filesystem mounted
cpuset.create_cpuset('mygroup', cpus='0-3')- Whether the package works with modern Python 3 versions (last release 2020-12-01, no version constraint specified).
- Actual license declaration: description cites GPLv2 but metadata does not formalize it.
- Whether the cpuset filesystem API it wraps has changed in recent Linux kernels.
What it is and what it does
cpuset-py3 is a Python wrapper around the Linux cpuset kernel facility, which controls CPU and memory resource allocation for processes and groups. It abstracts the low-level filesystem calls needed to create, modify, and manage cpusets—logical groupings of CPUs and memory nodes that constrain process execution. The package is a Python 3 port of the original cpuset utility, intended for system administrators and developers who need programmatic control over CPU affinity and NUMA resource binding on Linux systems.
The package has no external dependencies and installs easily, but it is abandoned—the last commit was in 2016 and no releases have been made since 2020. It requires root privileges, a Linux kernel with cpuset support, and the cpuset filesystem to be mounted. The license is stated as GPLv2 in the description but not formally declared in package metadata, creating ambiguity for downstream use.
Use it for
- Isolate CPU cores for latency-sensitive workloads by binding processes to specific cpuset groups.
- Enforce NUMA-aware memory allocation and CPU binding on multi-socket systems.
- Programmatically manage CPU resource limits for containerized or multi-tenant applications.
- Restrict process execution to specific CPU cores for performance testing and benchmarking.
- Implement CPU affinity policies in system administration scripts on Linux servers.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—the package is abandoned (last commit 2016-01-21, no releases since 2020-12-01) and will receive no maintenance or security updates.
The license is ambiguous in metadata. If you need cpuset control, use the system cpuset command directly, interact with cgroups v2 via standard Python libraries, or adopt a maintained alternative. Install only if you are maintaining legacy code that already depends on it.
Install
cpuset-py3 on PyPI
Before you install
Low install friction with no runtime dependencies, but the project is abandoned—last commit was 2016-01-21 and no releases since 2020-12-01. Expect no maintenance or security updates.
Requires Linux kernel with cpuset support enabled, root privileges to modify cpuset filesystem, and /dev/cpuset or /sys/fs/cgroup/cpuset mounted.
License in practice
License treatment is unclear: the description excerpt cites GNU General Public License version 2, but the package metadata does not declare it formally. Verify the actual license terms before use in proprietary or restrictive-license projects.
Quickstart
pip install cpuset-py3
import cpuset
# Requires root access and Linux cpuset filesystem mounted
cpuset.create_cpuset('mygroup', cpus='0-3')
Verify before relying
- Whether the package works with modern Python 3 versions (last release 2020-12-01, no version constraint specified).
- Actual license declaration: description cites GPLv2 but metadata does not formalize it.
- Whether the cpuset filesystem API it wraps has changed in recent Linux kernels.
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,082 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 363,856 / month, #7,215 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3 :: Only |
Evidence: cpuset_py3-1.0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “linux cpu affinity management”
- cpuset-py3Wraps Linux cpuset kernel facilities through Python to manage CPU and…
- grpcio-gcpExtends gRPC with connection pooling and affinity-based routing for…
- mhctoolsUnified Python interface to multiple MHC binding, presentation,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also pysigset · intbitset · hip-python · spidev · ephemeral-port-reserve · intel-openmp · tbb · bash_kernel · jupyter-kernel-client · kernels