Pyracf
Python interface to the RACF Command interface.
Install / Use
/learn @ambitus/PyracfREADME

⚠️ If this is not what you are looking for, it is likely because you are looking for a different package that used to be distributed under the
pyracfname. You may instead be looking for themfpandaspackage, which was distributed under thepyracfname prior to October 2024.
Python interface into the RACF management application programming interface.
>>> from pyracf import UserAdmin
>>> user_admin = UserAdmin()
>>> user_admin.get_omvs_uid("squidwrd")
2424
>>> user_admin.set_omvs_uid("squidwrd", 1919)
>>> user_admin.get_omvs_uid("squidwrd")
1919
Description
As automation becomes more and more prevalent, the need to manage the security environment programmatically increases. On z/OS that means managing a security product like the IBM Resource Access Control Facility (RACF). RACF is the primary facility for managing identity, authority, and access control for z/OS. There are more than 50 callable services with assembler interfaces that are part of the RACF API.
RACF callable services interfaces
While there are a number of languages that can be used to manage RACF, (from low level languages like Assembler to higher level languages like REXX), the need to have it in a language that is used to manage other platforms is paramount. The pyRACF project is focused on making the RACF management tasks available to Python programmers. This will make it easier to manage RACF from management tools like Ansible and Tekton.
Getting Started
Dependencies
- z/OS 2.4 and higher.
- R_SecMgtOper (IRRSMO00): Security Management Operations.
- The appropriate RACF authorizations
Installation
pip install pyracf
💡 You may also optionally Download & Install pyRACF From GitHub.
Usage
Help
Authors
- Joe Bostian: jbostian@ibm.com
- Frank De Gilio: degilio@us.ibm.com
- Leonard Carcaramo: lcarcaramo@ibm.com
- Elijah Swift: Elijah.Swift@ibm.com
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
339.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
