Reserve
reserve
InitReserveTool — reserve a PyPI package name as an AXMTool.
InitReserveTool
Reserve a package name on PyPI.
Registered as init_reserve via axm.tools entry point.
Source code in packages/axm-init/src/axm_init/tools/reserve.py
| Python | |
|---|---|
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | |
name
property
Tool name used for MCP registration.
execute(name='', *, author='', email='', dry_run=False, json_output=False)
Reserve a package name on PyPI.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Package name to reserve. |
''
|
author
|
str
|
Author name for the placeholder package. |
''
|
email
|
str
|
Author email for the placeholder package. |
''
|
dry_run
|
bool
|
If True, skip the actual publish step. |
False
|
json_output
|
bool
|
If True, render the structured report. |
False
|
Returns:
| Type | Description |
|---|---|
ToolResult
|
ToolResult with reservation status. |