Metadata-Version: 2.4
Name: sysprims
Version: 0.5.1
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
License-File: LICENSE-MIT
License-File: LICENSE-APACHE
License-File: NOTICE
Summary: Cross-platform process inspection, signal dispatch, containment, timeout, and RFC 5545 recurrence primitives
Keywords: process,signals,timeout,containment,rrule,recurrence
License-Expression: MIT OR Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Repository, https://github.com/3leaps/sysprims

# sysprims (Python)

Cross-platform process inspection, signal dispatch, session and process-group
containment, timeout execution, and RFC 5545 recurrence (`contract: recurrence/v0`)
primitives backed by the Rust `sysprims` crates via a `cp310-abi3` extension module.

## Capabilities

- **Process inspection & trees**: `proc_get`, `process_list`, `listening_ports`,
  `list_fds`, `descendants`, `kill_descendants`, `guard_step`, `ancestors`, `wait_pid`.
- **Session & self introspection**: `self_pgid`, `self_sid`, `run_setsid`, `run_nohup`.
- **Signals**: `signal_send`, `signal_send_group`, `terminate`, `force_kill`,
  `kill_many`, `terminate_many`, `force_kill_many`.
- **Timeout & containment**: `run_with_timeout`, `terminate_tree`, `spawn_in_group`,
  `spawn_contained`, `ContainedProcess`.
- **Recurrence (`contract: recurrence/v0`)**: `RecurrenceRule`, `RecurrenceRefusal`,
  `RecurrenceQueryError`, `tzdb_version`, `RECURRENCE_CORPUS_DIGEST`, `RECURRENCE_CONTRACT`.

## License

Dual-licensed under MIT OR Apache-2.0.

