Skip to content
pyhttp

pyhttp

Pypi •[email protected] • November 26, 2026

Local API client and alternative to Postman: collection runner, Postman-compatible scripts, mock servers and an MCP server

pip install pyhttp-app==2.3.6

A local API client and alternative to Postman — it imports Postman collections and runs Postman scripts — with a built-in collection runner, in its own desktop window. Everything stays on your machine: requests live in a SQLite file, every run writes its responses to plain files, and the backend listens only on 127.0.0.1 .

macOS: "Update with Homebrew" fails on an older pyhttp? Homebrew 7 must trust the pyhttp tap once; pyhttp 2.0.7 and older only report brew upgrade --cask failed (exit code 1) . Run this in a terminal, then update again (from the app, or with the second line): brew trust pyhttp2/pyhttp brew update && brew upgrade --cask pyhttp2/pyhttp/pyhttp xattr -dr com.apple.quarantine /Applications/pyhttp.app The last line stops the "Apple could not verify pyhttp" popup that follows a Terminal upgrade (the build is not notarized; the in-app updater clears the flag itself). Your data in ~/Library/Application Support/pyhttp is kept. Installed from the .dmg instead? Download the new one and drag pyhttp over the old app. Details under Updates .

macOS: "Update with Homebrew" fails on an older pyhttp? Homebrew 7 must trust the pyhttp tap once; pyhttp 2.0.7 and older only report brew upgrade --cask failed (exit code 1) . Run this in a terminal, then update again (from the app, or with the second line):

The last line stops the "Apple could not verify pyhttp" popup that follows a Terminal upgrade (the build is not notarized; the in-app updater clears the flag itself). Your data in ~/Library/Application Support/pyhttp is kept. Installed from the .dmg instead? Download the new one and drag pyhttp over the old app. Details under Updates .

Save requests with name, description, tags , method, URL, query params, headers, body (JSON / text / XML / form), timeout and SSL verification.

Autosave : every edit, new body or pasted JSON is saved half a second after you stop typing. The header shows Saving… / Saved ; Ctrl/Cmd+S saves at once.

Bulk edit for headers, params and variables: one key: value per line, // at the start of a line disables it, and a pasted ?a=1&b=2 query string becomes separate params.

Each request in the sidebar has a ⋯ (or right-click) with Duplicate and Delete.

Compact editor: method, URL and Send sit at the top. Tags and description live behind Details and show as small chips when collapsed.

Named bodies : a request can hold many bodies, each with its own name (for example valid user , missing email ). bodies by name or content, and tick the ones to send. Send hits the request once per checked body and saves every output to a run folder, with the body name in the file names. The ➤ to a body sends just that body, without touching the checkboxes (Ctrl/Cmd+Shift+Enter does the same for the body in the editor); its ⋯ duplicates, reorders or deletes a body without opening it.

across name, description, URL, tags and body names; filter by tag chips.

HTML / JS view shows a list (by default the list in the last response, or {{prev.json.items}} ) and waits for you to pick from it: as a table to tick (at least / at most, one or several, only one field such as id ), or with your own HTML and JavaScript in a sandboxed frame ( pyhttp.data , pyhttp.submit(value) , pyhttp.picker(el) ). Preview tries it on sample data. What is picked goes to the block and is kept as {{selected}} ( {{selected[0].id}} works too).

JavaScript runs on what came before ( input : the items picked or the value the last script returned, else the last response's JSON; vars , prev , email ), and hands on what it returns. set('payload', {...}) makes {{payload}} for the request's body, fail('why') takes the fail port; Try it runs it on sample input. Together: list → pick 5 of 15 → build the body → send the request.

Folders : a flow can sit in a folder ("Auth/Signup" nests). Drag flows onto a folder, or use the folder button on a flow; a folder's buttons run it, add a flow, rename it.

Run selected : tick flows (or a whole folder) and run them one after the other; the panel under the list follows them, and a flow that waits for a pick says "needs you".

History : every finished run of a flow is kept with its log (the newest 50): when it ran, what started it, how it ended. The History tab to the run log lists them; a click reads one again, with the blocks marked as they ended.

Which email : up to four lines (From, Subject, Text, To: each "contains", capitals do not matter, an empty line is ignored) and a choice of ALL of these (and) or ANY of these (or) . The block says back in words what it will take, "Try it on my inbox" shows which messages there fit and why the others do not, and a run that got no message says what did arrive and why it was skipped (or that the mail came before the flow started).

Start : when you press Run, or by itself when an email arrives that fits; the run then begins with that message as {{email.…}} .

The inbox : every pyhttp account has a test inbox, @inbox.pyhttp.com . On the web it is simply there. The desktop app uses the same one once it is signed in (topbar → Cloud): the mail arrives in the cloud and the Email block asks for it there, so the app must be online. Not signed in, the block, the sidebar and the run log say so, with a Sign in button. Starting a flow by itself on an arriving email is for the web, where something is always running; on the desktop such a flow is run by hand.

Monitors (rail → Monitors, a section with its own page: every monitor at a glance with Pause all / Resume all / Run all now; one monitor with its uptime, average time, the requests it sends and its check history, "Failures only"; the list filters by All / Failing / Paused): picked requests are sent again every N minutes while the app is open. A check fails when a request errors, answers 4xx/5xx or fails a test; failing monitors show in the status bar and can POST to a webhook. "Run now" sends a check at once.

Mock servers (rail → Mocks): fake endpoints answered by pyhttp itself, on the port it already runs on — /… , with no second process to start. Give a route a method, a path ( /users/:id ), a status and a body, and point your front end, a test or another request at it. See Mock servers below.

Streamed responses : tick Stream the response live in a request's Settings tab for Server-Sent Events, chunked and AI-style streaming endpoints — the body shows as it arrives, and Cancel stops the stream but keeps what came.

Keyboard first : ↑/↓ move through the sidebar, Enter opens, Space ticks for a run, Delete removes. Deleting a request or body is undoable for a few seconds from the toast.

Folders : organise requests in nested folders (for example QA , Prod , QA / Users ). Drag requests or folders onto a folder, or use the ⋯ : Add request, Add folder, Run folder, Rename, Move, Delete. Ticking a folder selects every request inside it for a run.

Environments : create Dev, QA, Staging, Prod (one click each) or your own. Each has its own variables, which override the global ones while it is active. Switch from the selector in the top bar; Prod is highlighted in red. Runs record which environment they used. Mark a variable secret (🔒) and its value is masked on screen and replaced by •••••• in the saved history and run files (Postman's secret type is kept on import and export).

In-app dialogs for every confirmation (no browser pop-ups); Escape cancels, Enter confirms.

Select many requests, reorder them, and run them one by one . Progress shows live; each response is stored in the run's output folder.

Variables : {{base_url}} anywhere in URL, params, headers or body. Global variables apply everywhere; the active environment overrides them.

Chaining : inside a run, {{prev.json.token}} , {{prev.status}} , {{prev.body}} and {{prev.headers.content-type}} read the response.

Run history, cancel, stop-on-failure, delay between requests.

Import / export the whole collection as JSON, including folders and environments. Import asks whether to add to or replace your collection.

Body editor (CodeMirror): line numbers, code folding, bracket matching, syntax colours, Ctrl+/ a line out (removed before the request is sent, like Postman), Tab indents, Ctrl+B beautifies and keeps your , and a live status line says "Valid JSON" or points at the broken line.

Response viewer : a collapsible, colour-coded JSON tree (click a key to copy its path), Raw and Preview (HTML, images, PDF) views, wrap toggle, a path filter ( data.items[*].id ) and Ctrl+F with match count. Save the body to a file.

Auth tab : Basic, Bearer, API key (header or query), Digest, OAuth 2.0 (client credentials or password grant: the token is fetched on the first send, cached until it expires, refreshed with the refresh token, and fetched again after a 401 ; Get new token shows its status), or inherit from the folder. Folders have their own settings (auth, headers, variables) that every request inside inherits.

Body types : JSON, text, XML, HTML, JavaScript, form (key/value rows), form-data with file fields, binary file, GraphQL (query + variables).

Scripts tab (Pre-request and Post-response, like Postman): tests without code (status, header, body, JSON path and response-time assertions; results in the response's Tests tab and in run reports), each for all bodies or for one named body; extract values from a response into environment or global variables ( {{token}} in the request); pre-request variables ; and scripts in JavaScript with Postman's pm API ( pm.test , pm.expect , pm.response , pm.environment.set …) so Postman scripts run unchanged, or in Python with a py object. {{body_name}} (also body_name in scripts) tells which body is being sent. With several bodies, each script editor has a for picker: write a script for All bodies or for one named body; a body's own pre-request / test script runs after the all-bodies one, only when that body is sent.

Dependent requests : in a request's Settings tab, pick another request to send first (typically one that fetches a token and saves it with an extraction or pm.environment.set ), and how long its result stays valid. The token request runs before the first send, is reused until it expires, is fetched once even for parallel sends, and is refreshed automatically with one retry when the dependent request comes back 401 or 403.

Dynamic variables : {{$guid}} , {{$timestamp}} , {{$isoTimestamp}} , {{$randomInt 1 100}} , {{$randomEmail}} , {{$date}} and more. Path variables ( /users/:id ) get their value from a Params row. Unresolved variables are flagged before sending.

Code snippets ( ): cURL, Python (requests, httpx), JavaScript fetch, Node axios, PowerShell, raw HTTP, Go, with variables and auth resolved.

Import Postman Collection v2.1 files and Postman environments, OpenAPI 3 / Swagger 2 specs (JSON or YAML: one folder per tag, {{baseUrl}} from the servers, bodies from examples and schemas, auth from the security schemes), browser HAR files, or paste a curl command. Export as a Postman collection (whole collection or one folder).

Tabs for open requests (Ctrl+W closes) and drag to reorder requests and folders.

History in the right-hand panel: Run history lists collection runs, Request history every single request sent. Filter it by text or by status (2xx, 3xx, 4xx, 5xx, errors), send an entry again with one click (↻), reopen its response, open a copy as a new request, or compare two entries (status, time, size, and a line diff of body, headers and request; JSON keys are sorted so only real changes show).

Split panes : the request editor and the response are two panes that scroll on their own, so the URL, the tabs and the response status always stay in view. Drag the edge between them (and the edges of the sidebar and the right-hand panel) to resize; double-click an edge to reset. The response goes below the request or to its right : switch in the status bar ("Response: below | right"), with the button in the response header, or in Settings. The sidebar hides behind the ☰ button (Ctrl/Cmd+). Errors wrap instead of scrolling sideways.

Cookie jar like a browser: cookies are stored per domain, sent on later requests, listed in a Cookies response tab and editable in a manager.

Runner options : iterations, a CSV/JSON variables file (one row of variable values per iteration, columns as {{variables}} ; the run dialog offers a sample file with a column for each variable your requests use, to download or to run with), failing tests fail the run, "failed only" filter, HTML/JSON run report. While a run goes, every request it sends shows its responses beside the request: one tab per body and iteration, so you can compare them without opening the report.

Settings : follow redirects, max redirects, proxy with bypass list, client certificates per host, default timeout, User-Agent (default pyhttp/ ), editor font size, response below or beside the request, and in-app updates (the Windows builds and Homebrew installs update themselves, see Updates below).

Response views : attach your own HTML pages to a request and see its response as a chart, a table, a dashboard — in the View tab, side by side, or in the browser. See Response views below.

Git sync (topbar → Git): the project's requests, environments, mocks and monitors as JSON files in a Git repository, committed and pushed automatically on every change, and pulled back in when a teammate pushes — a collection without a cloud account. See Git sync below.

Cloud sync (topbar → Cloud, optional): sign in with GitHub or Google in your browser and every project syncs with your pyhttp account, by itself. Edits go up a second after the last one, and what you change on another computer or in the web app at app.pyhttp.com comes down. The list of projects syncs too: create, rename or delete a project on one side and the other follows, under the same name (a project deleted elsewhere leaves a copy in deleted-projects in the data folder). When a project here meets a different one of the same name in the account, this computer's is renamed Name (computer) . Keep only here takes one project out of the account and leaves it on this computer. A request changed on both sides is never overwritten: you choose Keep mine or Take the cloud's . Requests, folders, environments, variables, mocks, cookies and history sync; settings, monitors and run results stay on the computer. Values of 🔒 variables sync too, so your other computers and the web app can use them; switch Sync secret values too off, before signing in or any time after, and they go up empty and stay on the computer. (A computer signed in before this became the default keeps them local until you switch it on.) Nothing is sent anywhere until you sign in.

with a link : with cloud sync on, right-click a request or a folder (or open the project ) → link… . Whoever has the link sees the current version in the browser and can take a copy; values of 🔒 variables are left out. Stop sharing ends the link.

WebSocket client : give a request a ws:// or wss:// address (written out, or through a variable such as {{events_url}}/orders ) and Send becomes Connect . The response area turns into a console: a live log of messages in both directions (click a JSON message to pretty-print it), a filter, Ping, and a box to send from (Ctrl/Cmd+Enter). The request's query parameters, headers, auth and {{variables}} are used for the connection, and a Sec-WebSocket-Protocol header names the subprotocols to offer. Compression (permessage-deflate) and proxies are not supported.

Example responses : the pin button in the response bar saves the response on screen with its request ( Examples tab). Examples go into the documentation export, travel with exports and Git sync, and each one can become the answer of a mock route.

Compare two responses : after sending two or more bodies (or iterations), ⇄ Compare in the response strip shows the body, headers and request of any two as a diff.

Large responses : the viewer shows the first 512 KB and offers Load the whole body ; a big JSON document is then drawn as a window of rows, so 100 000 items scroll, expand, filter by path and as smoothly as ten.

Secrets in the system keychain (Settings → General, off by default): the values of 🔒 variables are kept in Windows Credential Manager, the macOS Keychain or the Secret Service ( secret-tool ) instead of the project database. They stay on that computer.

Native desktop window using the OS webview (WebView2 / WKWebView / WebKitGTK), with native save/open dialogs for export and import.

No Node, no Electron, no build step to run it. Python 3.10+ only (the editor is a prebuilt CodeMirror bundle checked into the repo).

A project is a separate workspace: its own requests, folders, environments, variables, history, cookies, run outputs, mocks and monitors. Click the project name in the top bar to switch, create, rename or delete one. Everything you had before projects existed is the Default project and stays where it was; each new project lives in its own folder under the data directory ( projects/ /pyhttp.db and projects/ /outputs ). App settings (theme, proxy, fonts…) are copied into a new project so it does not start bare. The CLI runner uses the active project, or pyhttp run --project "Shop API" … for another one; pyhttp mcp --project … serves one project to an MCP client.

From a terminal: pyhttp projects lists them, pyhttp projects create NAME [--use] , use NAME , rename OLD NEW and delete NAME manage them. pyhttp doctor checks every project's database (integrity, row counts), reports run output sizes and orphan folders, pyhttp doctor --clean-outputs 30 deletes run folders older than 30 days, and pyhttp doctor --vacuum compacts the databases (worth it after deleting a lot of history; close pyhttp first).

Export ▾ → pyhttp JSON writes the whole project (collection, environments, variables, mocks, monitors) to one file that imports into another project or machine; monitors and "send this request first" links are kept. Export ▾ → Documentation writes the collection as Markdown, or as one self-contained HTML page in the app's theme: folders, requests, parameters, headers (credential-looking values masked), auth, example bodies, pinned example responses and tests. A folder's ⋯ exports just that folder.

Click Git in the top bar, choose a folder and press Turn on Git sync . From then on the project's definitions live in a Git repository as well: every request, folder, environment, mock and monitor is one JSON file, and a change is committed and pushed by itself a few seconds after you stop editing, with the names of what changed as the commit message. It works the other way too: what a teammate pushes is pulled, merged and read into the project , so a team can one collection through an ordinary Git repository.

The folder can be a repository, a folder inside one (keep the requests to the code they test), or neither — then a repository is created in it. Only the paths above are staged, committed or deleted; other files and uncommitted work in the same repository are left alone.

The remote is optional. Give a URL and it becomes origin ; leave it empty and the remote the repository already has is used. Without any remote, commits stay local. Pushing uses your own Git credentials (credential manager or SSH key). A push that fails is tried again with the change, and the dot on the Git button turns red with the reason in its tooltip.

Settings → Git has the switches: Commit automatically , Push automatically and Pull automatically (all on by default; with them off, Sync now does it), and Include secret values (off by default: values of variables marked 🔒 are written empty). Tokens and passwords typed straight into a request are part of that request and are always written — use a 🔒 variable for anything that must not reach the repository.

History, run outputs and cookies are never written. Each project has its own Git folder. Sending a request does not commit by itself; variables a script sets go out with the edit.

It works both ways. With every sync (and when the app starts) the remote is fetched and merged, and what changed there is read into the project: a teammate's edited request replaces yours under the same id, new ones appear, deleted ones go, and the window reloads to show it. Commits you make by hand in the folder are read back the same way. Edits to the files that are not committed are overwritten by the sync.

When a pull happens: with your edit, when the app starts, when you press Sync now , and on a timer: the remote is looked at every 5 minutes (Settings → Git, 1 minute to an hour, or never), so a teammate's push shows up while you are only reading. A remote that cannot be reached is skipped quietly by the timer; the real sync reports it.

What a pull keeps: request and folder ids (history and "send this request first" links still point at the right request), and the local value of every 🔒 variable whose value was left out of the file. A mock server whose route list changed gets the new list as a whole, so the hit counts of its routes start again.

Joining a repository: give a new, empty project the remote URL and an empty folder; it starts from what the remote has. If the project already has content and the folder holds a different pyhttp project, nothing is replaced until you choose Load the folder into this project or Overwrite the folder with this project .

Conflicts: when you and the remote changed the same request, the merge is undone and the Git tab asks: Take the remote version or Keep my version . Changes to different requests merge by themselves. If a pull arrives while you are typing in a request, the window does not reload under you (a toast offers Reload ), and what you save afterwards wins for that request.

In a repository shared with code, Pull automatically merges the remote branch into the branch that is checked out, code included. Turn it off there if you would rather pull yourself.

JSON is not always the best way to look at an answer. A request can carry views : HTML pages of your own that draw its response as a chart, a table, a dashboard, a receipt.

Open the Views tab of the request ( to Scripts) — before or after sending — or the View tab of a response.

Press Create a starter view — pyhttp writes a working page (a bar chart and a table for lists, cards for single objects, the raw data) into /views/ and shows it at once. Or press Choose HTML files… and give the path of a page you already have, or the address of one ( ).

Edit the file, press ↻ Reload .

A request can have several views . The chips above the page switch between them, All shows every one side by side, and ↗ Open in browser opens the one shown (or all of them) in your browser. Show the view first (in Edit views… ) opens the View tab instead of the body whenever a response arrives. History works the same way: click a call in Request history and it opens in the request's views with the response it holds (the dialog has Body, Views, Headers, Tests and Request tabs); its ⋯ has Show in its views and Open its views in the browser . A call of a request without views offers Add views to this request .

How a page gets the response. pyhttp opens the page as

and the page reads the address from its own URL and fetches it:

api answers with the response body and its original content type; meta is JSON the response (and carries the body as body and, parsed, as json ).

Files to the HTML file (scripts, styles, images) load with relative paths. Nothing above the file's folder is served.

Inside pyhttp a view runs in a sandboxed frame: it can read the response it was given and nothing else of the app. Both addresses allow cross-origin reads, so a page on your own dev server or opened from disk can fetch them too. The ids are random and short-lived: pyhttp keeps the last 80 responses handed to views in memory, and an old link answers 404 after that or after a restart — open the view again.

A view gets the whole body, also when the response is larger than what the viewer (512 KB) and the history (64 KB) keep: bodies above 64 KB are saved in full to the run outputs ( outputs/_bodies/ , up to 64 MB each) and removed with their history entry. Calls made before this was added only have the cut copy.

Views on a folder : a folder's ⋯ → Settings takes views too. Every request inside (also in subfolders) shows them in its View tab, after its own.

Views are saved with the request (so they travel with exports and Git sync) as the path you typed; on another computer the file must exist at the same path, or use a page address.

An API you need does not exist yet, or you want it to fail on demand. Open Mocks in the top bar, add a mock server, and give it routes. They are answered by pyhttp itself on the port it already listens on, so there is no second server to start and no second port to remember:

Routes are a method, a path, a status, headers and a body. A path may hold parameters written either way ( /users/:id or /users/{id} ); * matches one segment and ** the rest of the path. ANY answers every method. Exact paths win over parameter ones, so /users/me and /users/:id can live side by side.

The body is a template , so a route can answer differently every time and can read the call it is answering: {{req.params.id}} (a path parameter), {{req.query.limit}} , {{req.headers.x-key}} , {{req.body}} , {{req.json.user.name}} , {{req.method}} , {{req.path}} — plus your own {{variables}} and the dynamic ones ( {{$guid}} , {{$randomEmail}} …).

One path, several answers : give a route a query condition ( fail=1 ) and it only answers calls that carry it, so the happy path and the 500 can /payments/:id . A route with a condition wins over one without.

Delays per server and per route, to see how your app behaves on a slow API.

CORS headers and preflight ( OPTIONS ) answers are sent by default, so a browser app on another origin can call the mock.

Calls : every request a mock answered, newest first, with the headers and body it arrived with and which route matched — the quickest way to see what your app is really sending. Unmatched calls are flagged, and a 404 from a mock lists the routes it does know.

From requests… builds one route per request you already have, answering with the response that request last gave.

Try opens a route as a normal request, with the URL written as {{mock_url}}/ /… . {{mock_url}} is this app's own /mock base, so such requests keep working whichever port the app got.

GET /mock lists what is being mocked on this port, for a quick look from curl or a browser.

Mocks live in the same SQLite file as everything else, and are not part of the collection export.

Requires Python 3.10 or newer.

Any OS, with pip (the PyPI name is pyhttp-app ; the command stays pyhttp ):

On Linux, install the GTK webview bindings first (see Linux below) or use pyhttp --browser . brew install pyhttp2/pyhttp/pyhttp installs the same package through Homebrew (macOS and Linux, Intel and ARM; the tap is pyhttp2/homebrew-pyhttp ) — or tap once with brew tap pyhttp2/pyhttp , after which plain brew install pyhttp , brew upgrade pyhttp and brew install --cask pyhttp all work.

Windows : double-click run.bat . The window opens without a console. WebView2 ships with Windows 10/11.

Linux : Ubuntu/Debian users can install the .deb instead (see Desktop apps ). From source, install the GTK webview bindings once, then use run.sh .

The scripts create a .venv on first start and reinstall dependencies whenever requirements.txt changes.

If no native webview is available, pyhttp prints why and falls back to the browser automatically.

pyhttp run runs requests without the UI, prints each result, writes reports and exits with 0 when everything passed, 1 when something failed and 2 for usage errors, like Postman's newman.

A collection file (Postman v2.1, pyhttp export, OpenAPI, HAR) is run from a throwaway data folder, so your own collection is not touched. Other options: --delay MS , --insecure , --timeout S , --no-fail-on-http-error , --no-fail-on-tests , -q , --no-color . Runs started from the command line also appear in the app's Run history. See python -m pyhttp run --help .

MCP server (AI tools drive pyhttp)

python -m pyhttp mcp serves the collection over the Model Context Protocol on stdio: an AI tool can list, create and edit requests, send them, run folders or tags like the collection runner, read history, switch environments and set variables. Every tool goes through the same code path as the UI, and the data folder is shared with the app, so both can be open at the same time.

Use --data-dir to put this somewhere else.

Sending with a single checked body shows the response immediately and does not write files. Sending with two or more checked bodies, or using Run selected , always saves outputs.

Desktop apps (installer, .exe, .dmg and .deb)

Packaged builds bundle Python and every dependency, so users just double-click.

Running from source keeps using ./data . In the packaged app, output that would go to a console is written to pyhttp.log in the data folder. Every release also ships SHA256SUMS.txt with the checksums of the files above.

pyhttp looks up the latest release at start (Settings → : once an hour, or Check now ) and shows an ⬆ Update button in the top bar when a newer version exists. What the button does depends on how pyhttp was installed:

"Update with Homebrew" failed (exit code 1) on pyhttp 2.0.7 or older. Homebrew 7 loads nothing from a third-party tap until it was trusted once. Macs that installed pyhttp before the move to github.com/pyhttp2/pyhttp trusted the tap under its old address; once pyhttp points the tap at its new that trust no longer applies, and brew upgrade stops with Refusing to load cask pyhttp2/pyhttp/pyhttp from untrusted tap . Trust the tap once, then update again (from the app, or with the second line):

The third line clears the quarantine flag that a Terminal upgrade leaves on the new app; without it the launch shows "Apple could not verify pyhttp is free of malware" (see First launch below). From 2.0.8 on pyhttp runs the trust step itself and shows Homebrew's own error line with the fix when something else goes wrong.

Requests, settings and history are kept: they live in the data folder, which no update touches. The backend is pyhttp/updater.py ( POST /api/update/install , GET /api/update/status ); the UI polls the status and shows a progress bar.

Build on your machine

PyInstaller does not cross-compile: build the .exe on Windows and the .dmg on a Mac.

On Windows you can use the project venv: .venv\Scripts\python packaging\build.py . The Windows build produces the portable .exe and, when Inno Setup 6.3+ or 7 is installed, the installer from packaging/pyhttp.iss (ISCC.exe is found on PATH, in Program Files or through the ISCC environment variable; without it the installer is skipped with a note). A .dmg built on an Apple Silicon Mac runs on Apple Silicon; build on an Intel Mac for Intel.

On Ubuntu/Debian the same command builds the .deb . Install the GTK bindings and packaging tools first ( sudo apt install libgirepository1.0-dev libcairo2-dev pkg-config gir1.2-gtk-3.0 gir1.2-webkit2-4.1 dpkg-dev , then pip install "PyGObject<3.51" pycairo in the venv). The package leaves GTK, WebKitGTK and the other system libraries to the distro and declares them as dependencies ( packaging/build.py works them out from the bundle, like dpkg-shlibdeps ). Build on the oldest release you want to support: a .deb built on Ubuntu 22.04 runs on 22.04, 24.04 and Debian 12+.

Build both on GitHub (no Mac needed)

.github/workflows/build.yml builds the Windows .exe and the macOS .dmg on GitHub's machines. Every push to main only runs the tests (Windows, macOS, Linux). For a test build without releasing, run the workflow by hand from the Actions tab (files appear under the run's Artifacts for a day). To release:

That sets __version__ , commits, creates the tag v0.1.2 and pushes both. The tag run publishes the installer, the portable .exe , the .dmg , SHA256SUMS.txt and the license files to this repository's Releases page, uploads pyhttp-app to PyPI (secret PYPI_API_TOKEN ) and updates the Homebrew tap ( homebrew-pyhttp : cask + formula; the tap needs the RELEASE_TOKEN secret, a fine-grained PAT with Contents: write on that repository). The Windows runner installs Inno Setup with Chocolatey when it is not already there. The in-app updater refuses a release without SHA256SUMS.txt , so keep that step in the workflow. A tag whose version differs from __version__ is refused, because the release name, file names and the in-app update check all come from __version__ . Alternatively run the workflow by hand from the Actions tab with "publish" ticked.

First launch: unsigned app warnings

The builds are not code-signed, so the operating system warns the first time:

Windows shows "Windows protected your PC" (SmartScreen): click More info → Run anyway .

macOS shows "Apple could not verify pyhttp is free of malware": click Done , open System Settings → Privacy & Security , scroll down and click Open Anyway to pyhttp (right-click → Open no longer works on macOS 15). Or clear the quarantine flag once, which also fixes "the app is damaged": xattr -dr com.apple.quarantine /Applications/pyhttp.app . The in-app updater clears it itself after a Homebrew update; a brew upgrade run in Terminal does not.

Removing these warnings needs a Windows code-signing certificate and an Apple Developer ID (with notarization).

Run the tests with pip install -r requirements-dev.txt and python -m pytest tests -q .

In --browser or --server mode the API is documented at , so you can drive runs from scripts ( POST /api/runs ). Window mode uses the same default port when it is free and falls back to any free one, printing it on start — so mock server URLs stay the same from launch to launch.

Copyright (c) 2026 pyhttp Dev Team — From the unknown to the unowned . pyhttp is free for everyone under the pyhttp Free License 1.1 : at or at work, at a company of any size, for any purpose including commercial use, with no fees, no seats and no registration. Unmodified release files may be shared freely, inside a company or through package managers; selling pyhttp or distributing modified versions is not allowed, and the name and logo stay with the project. The source code is published on PyPI as pyhttp-app so it can be inspected and installed with pip; you may modify your own copy but not distribute the changes. The packaged installer, .exe , .dmg and .deb builds are published on this repository's Releases page (the old pyhttp-releases repository is no longer updated; every install checks here). Bundled open-source components are listed in THIRD-PARTY-NOTICES.md .

Postman is a trademark of Postman, Inc. pyhttp is an independent project and is not affiliated with or endorsed by Postman, Inc.; the name is used only to describe compatibility (importing Postman collections, running Postman-style scripts).

The app itself stays free. If paid extras ever appear, they will be optional add-ons, services or support under their own terms, never a restriction on who may use pyhttp.

Release files for pyhttp-app 2.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation .

Source distribution (sdist)

Built distribution (wheel)

Total release size: 1.7 MB

Release files / pyhttp_app-2.3.6.tar.gz

Release files / pyhttp_app-2.3.6-py3-none-any.whl

Security for pyhttp-app 2.3.6

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

Nov 26, 2026 2 release files No provenance

Nov 26, 2026 2 release files No provenance

Nov 19, 2026 2 release files No provenance

Nov 19, 2026 2 release files No provenance

Nov 18, 2026 2 release files No provenance

Nov 17, 2026 2 release files No provenance

Nov 17, 2026 2 release files No provenance

Nov 14, 2026 2 release files No provenance

Nov 14, 2026 2 release files No provenance

Nov 14, 2026 2 release files No provenance

Nov 14, 2026 2 release files No provenance

Nov 13, 2026 2 release files No provenance

Nov 12, 2026 2 release files No provenance

Nov 12, 2026 2 release files No provenance

Nov 7, 2026 2 release files No provenance

Nov 6, 2026 2 release files No provenance

Nov 6, 2026 2 release files No provenance

Nov 6, 2026 2 release files No provenance

Nov 6, 2026 2 release files No provenance

Nov 2, 2026 2 release files No provenance

Nov 2, 2026 2 release files No provenance

Nov 2, 2026 2 release files No provenance