> For the complete documentation index, see [llms.txt](https://1nodeio.gitbook.io/1node/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1nodeio.gitbook.io/1node/1node-api/endpoints/wrap-and-deploy-python-model.md).

# Wrap & Deploy Python Model

**CLI:** 1node deploy model.py

**API:**

POST /v1/deploy/python

**Body (multipart/form-data):** Upload model.py and optional weights.

**Response (200):**

```
{ "leaseId":"akash1abc...","message":"Python model wrapped and deployed" }
```
