pyhttp-app 2.0.1.post1__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/PKG-INFO +19 -10
  2. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/README.md +18 -9
  3. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/__init__.py +1 -1
  4. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/app.py +1 -1
  5. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/updater.py +1 -1
  6. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp_app.egg-info/PKG-INFO +19 -10
  7. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/LICENSE.md +0 -0
  8. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/__main__.py +0 -0
  9. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/assertions.py +0 -0
  10. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/cli.py +0 -0
  11. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/console.py +0 -0
  12. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/curl.py +0 -0
  13. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/db.py +0 -0
  14. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/jsengine.py +0 -0
  15. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/jsonc.py +0 -0
  16. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/mcp.py +0 -0
  17. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/mock.py +0 -0
  18. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/monitors.py +0 -0
  19. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/oauth2.py +0 -0
  20. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/openapi.py +0 -0
  21. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/pm.js +0 -0
  22. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/postman.py +0 -0
  23. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/runner.py +0 -0
  24. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/scripts.py +0 -0
  25. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/app.js +0 -0
  26. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/codegen.js +0 -0
  27. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/editor.js +0 -0
  28. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/features.css +0 -0
  29. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/features.js +0 -0
  30. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/index.html +0 -0
  31. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/logo.svg +0 -0
  32. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/style.css +0 -0
  33. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/vendor/codemirror.js +0 -0
  34. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/vendor/fonts/Inter-OFL.txt +0 -0
  35. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/vendor/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  36. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/vendor/fonts/inter-latin-wght-normal.woff2 +0 -0
  37. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/static/viewer.js +0 -0
  38. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp/templating.py +0 -0
  39. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp_app.egg-info/SOURCES.txt +0 -0
  40. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp_app.egg-info/dependency_links.txt +0 -0
  41. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp_app.egg-info/entry_points.txt +0 -0
  42. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp_app.egg-info/requires.txt +0 -0
  43. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyhttp_app.egg-info/top_level.txt +0 -0
  44. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/pyproject.toml +0 -0
  45. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/setup.cfg +0 -0
  46. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/tests/test_backend.py +0 -0
  47. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/tests/test_integrations.py +0 -0
  48. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/tests/test_mcp.py +0 -0
  49. {pyhttp_app-2.0.1.post1 → pyhttp_app-2.0.2}/tests/test_ui.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyhttp-app
3
- Version: 2.0.1.post1
3
+ Version: 2.0.2
4
4
  Summary: Local API client and alternative to Postman: collection runner, Postman-compatible scripts, mock servers and an MCP server
5
5
  Author-email: pyhttp Dev Team <dev@pyhttp.com>
6
6
  License: # pyhttp Free License 1.1
@@ -338,8 +338,11 @@ pyhttp
338
338
  ```
339
339
 
340
340
  On Linux, install the GTK webview bindings first (see *Linux* below) or use
341
- `pyhttp --browser`. `brew install pyhttp2/pyhttp/pyhttp-app` installs the
342
- same package through Homebrew (macOS and Linux, Intel and ARM).
341
+ `pyhttp --browser`. `brew install pyhttp2/pyhttp/pyhttp` installs the
342
+ same package through Homebrew (macOS and Linux, Intel and ARM; the tap is
343
+ [pyhttp2/homebrew-pyhttp](https://github.com/pyhttp2/homebrew-pyhttp)) — or tap
344
+ once with `brew tap pyhttp2/pyhttp`, after which plain `brew install pyhttp`,
345
+ `brew upgrade pyhttp` and `brew install --cask pyhttp` all work.
343
346
 
344
347
  **Windows**: double-click `run.bat`. The window opens without a console.
345
348
  WebView2 ships with Windows 10/11.
@@ -446,7 +449,7 @@ Packaged builds bundle Python and every dependency, so users just double-click.
446
449
  |---|---|---|
447
450
  | Windows 10/11 | `pyhttp-<version>-windows-x64-setup.exe`: installer (per user, no admin rights, into `%LOCALAPPDATA%\Programs\pyhttp`, Start menu entry, optional desktop icon, uninstaller in *Apps*) | `%APPDATA%\pyhttp` |
448
451
  | Windows 10/11 | `pyhttp-<version>-windows-x64.exe`: portable, one file, no install | `%APPDATA%\pyhttp` |
449
- | macOS 11+ | `brew tap pyhttp2/pyhttp https://github.com/pyhttp2/pyhttp-releases && brew install --cask pyhttp2/pyhttp/pyhttp`, or `pyhttp-<version>-macos-arm64.dmg` (drag pyhttp to Applications) | `~/Library/Application Support/pyhttp` |
452
+ | macOS 11+ | `brew install --cask pyhttp2/pyhttp/pyhttp`, or `pyhttp-<version>-macos-arm64.dmg` (drag pyhttp to Applications) | `~/Library/Application Support/pyhttp` |
450
453
  | Ubuntu 22.04+, Debian 12+ | `sudo apt install ./pyhttp-<version>-linux-amd64.deb`: installs to `/usr/lib/pyhttp`, adds `pyhttp` to the PATH and an app-menu entry; uses the distro's GTK and WebKitGTK (pulled in as dependencies) | `~/.local/share/pyhttp` |
451
454
 
452
455
  Running from source keeps using `./data`. In the packaged app, output that would
@@ -507,10 +510,14 @@ python packaging/bump.py 0.1.2
507
510
  ```
508
511
 
509
512
  That sets `__version__`, commits, creates the tag `v0.1.2` and pushes both. The
510
- tag run publishes the installer, the portable `.exe`, the `.dmg`, `SHA256SUMS.txt`,
511
- the license files and the Homebrew cask to the public
512
- [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) repository (needs the
513
- `RELEASE_TOKEN` secret). The Windows runner installs Inno Setup with Chocolatey when
513
+ tag run publishes the installer, the portable `.exe`, the `.dmg`, `SHA256SUMS.txt`
514
+ and the license files to this repository's Releases page, uploads `pyhttp-app` to
515
+ PyPI (secret `PYPI_API_TOKEN`), updates the Homebrew tap
516
+ ([homebrew-pyhttp](https://github.com/pyhttp2/homebrew-pyhttp): cask + formula)
517
+ and mirrors everything to
518
+ [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) so installs from
519
+ before the move keep updating (the mirror and taps need the `RELEASE_TOKEN`
520
+ secret, a fine-grained PAT with Contents: write on those two repositories). The Windows runner installs Inno Setup with Chocolatey when
514
521
  it is not already there. The in-app updater refuses a release without `SHA256SUMS.txt`,
515
522
  so keep that step in the workflow. A tag whose version differs from `__version__` is refused,
516
523
  because the release name, file names and the in-app update check all come from
@@ -572,8 +579,10 @@ is not allowed, and the name and logo stay with the project. The source code is
572
579
  published on PyPI as [`pyhttp-app`](https://pypi.org/project/pyhttp-app/)
573
580
  so it can be inspected and installed with pip; you may modify your own copy but
574
581
  not distribute the changes. The packaged installer, `.exe`, `.dmg` and `.deb`
575
- builds are published from the public
576
- [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) repository.
582
+ builds are published on this repository's
583
+ [Releases](https://github.com/pyhttp2/pyhttp/releases) page and mirrored to
584
+ [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases), the old home,
585
+ so installs from before the move keep updating.
577
586
  Bundled open-source components are listed in
578
587
  [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).
579
588
 
@@ -189,8 +189,11 @@ pyhttp
189
189
  ```
190
190
 
191
191
  On Linux, install the GTK webview bindings first (see *Linux* below) or use
192
- `pyhttp --browser`. `brew install pyhttp2/pyhttp/pyhttp-app` installs the
193
- same package through Homebrew (macOS and Linux, Intel and ARM).
192
+ `pyhttp --browser`. `brew install pyhttp2/pyhttp/pyhttp` installs the
193
+ same package through Homebrew (macOS and Linux, Intel and ARM; the tap is
194
+ [pyhttp2/homebrew-pyhttp](https://github.com/pyhttp2/homebrew-pyhttp)) — or tap
195
+ once with `brew tap pyhttp2/pyhttp`, after which plain `brew install pyhttp`,
196
+ `brew upgrade pyhttp` and `brew install --cask pyhttp` all work.
194
197
 
195
198
  **Windows**: double-click `run.bat`. The window opens without a console.
196
199
  WebView2 ships with Windows 10/11.
@@ -297,7 +300,7 @@ Packaged builds bundle Python and every dependency, so users just double-click.
297
300
  |---|---|---|
298
301
  | Windows 10/11 | `pyhttp-<version>-windows-x64-setup.exe`: installer (per user, no admin rights, into `%LOCALAPPDATA%\Programs\pyhttp`, Start menu entry, optional desktop icon, uninstaller in *Apps*) | `%APPDATA%\pyhttp` |
299
302
  | Windows 10/11 | `pyhttp-<version>-windows-x64.exe`: portable, one file, no install | `%APPDATA%\pyhttp` |
300
- | macOS 11+ | `brew tap pyhttp2/pyhttp https://github.com/pyhttp2/pyhttp-releases && brew install --cask pyhttp2/pyhttp/pyhttp`, or `pyhttp-<version>-macos-arm64.dmg` (drag pyhttp to Applications) | `~/Library/Application Support/pyhttp` |
303
+ | macOS 11+ | `brew install --cask pyhttp2/pyhttp/pyhttp`, or `pyhttp-<version>-macos-arm64.dmg` (drag pyhttp to Applications) | `~/Library/Application Support/pyhttp` |
301
304
  | Ubuntu 22.04+, Debian 12+ | `sudo apt install ./pyhttp-<version>-linux-amd64.deb`: installs to `/usr/lib/pyhttp`, adds `pyhttp` to the PATH and an app-menu entry; uses the distro's GTK and WebKitGTK (pulled in as dependencies) | `~/.local/share/pyhttp` |
302
305
 
303
306
  Running from source keeps using `./data`. In the packaged app, output that would
@@ -358,10 +361,14 @@ python packaging/bump.py 0.1.2
358
361
  ```
359
362
 
360
363
  That sets `__version__`, commits, creates the tag `v0.1.2` and pushes both. The
361
- tag run publishes the installer, the portable `.exe`, the `.dmg`, `SHA256SUMS.txt`,
362
- the license files and the Homebrew cask to the public
363
- [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) repository (needs the
364
- `RELEASE_TOKEN` secret). The Windows runner installs Inno Setup with Chocolatey when
364
+ tag run publishes the installer, the portable `.exe`, the `.dmg`, `SHA256SUMS.txt`
365
+ and the license files to this repository's Releases page, uploads `pyhttp-app` to
366
+ PyPI (secret `PYPI_API_TOKEN`), updates the Homebrew tap
367
+ ([homebrew-pyhttp](https://github.com/pyhttp2/homebrew-pyhttp): cask + formula)
368
+ and mirrors everything to
369
+ [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) so installs from
370
+ before the move keep updating (the mirror and taps need the `RELEASE_TOKEN`
371
+ secret, a fine-grained PAT with Contents: write on those two repositories). The Windows runner installs Inno Setup with Chocolatey when
365
372
  it is not already there. The in-app updater refuses a release without `SHA256SUMS.txt`,
366
373
  so keep that step in the workflow. A tag whose version differs from `__version__` is refused,
367
374
  because the release name, file names and the in-app update check all come from
@@ -423,8 +430,10 @@ is not allowed, and the name and logo stay with the project. The source code is
423
430
  published on PyPI as [`pyhttp-app`](https://pypi.org/project/pyhttp-app/)
424
431
  so it can be inspected and installed with pip; you may modify your own copy but
425
432
  not distribute the changes. The packaged installer, `.exe`, `.dmg` and `.deb`
426
- builds are published from the public
427
- [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) repository.
433
+ builds are published on this repository's
434
+ [Releases](https://github.com/pyhttp2/pyhttp/releases) page and mirrored to
435
+ [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases), the old home,
436
+ so installs from before the move keep updating.
428
437
  Bundled open-source components are listed in
429
438
  [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).
430
439
 
@@ -1,6 +1,6 @@
1
1
  """pyhttp - a local API client and alternative to Postman, with a collection runner."""
2
2
 
3
- __version__ = "2.0.1.post1"
3
+ __version__ = "2.0.2"
4
4
  # sent with every request unless the user sets their own in Settings; the convention is "product/version (+url)"
5
5
  USER_AGENT = f"pyhttp/{__version__}"
6
6
  __license__ = "pyhttp Free License 1.0 (free for everyone; source not distributed)"
@@ -24,7 +24,7 @@ from . import (USER_AGENT, __version__, console, curl, db, mock, monitors, oauth
24
24
  from .templating import build_context, render
25
25
 
26
26
  STATIC_DIR = Path(__file__).parent / "static"
27
- DEFAULT_RELEASE_REPO = "pyhttp2/pyhttp-releases" # public repo that holds the .exe/.dmg releases
27
+ DEFAULT_RELEASE_REPO = "pyhttp2/pyhttp" # public repo whose Releases page holds the .exe/.dmg builds
28
28
  try: # written by packaging/build.py so packaged apps know where their releases live
29
29
  from ._build import GITHUB_REPO as _BUILT_REPO
30
30
  except ImportError: # pragma: no cover - source checkout
@@ -31,7 +31,7 @@ from . import USER_AGENT
31
31
  FROZEN = bool(getattr(sys, "frozen", False))
32
32
  CASK = "pyhttp"
33
33
  TAP = "pyhttp2/pyhttp"
34
- TAP_URL = "https://github.com/pyhttp2/pyhttp-releases"
34
+ TAP_URL = "https://github.com/pyhttp2/homebrew-pyhttp"
35
35
  SUMS_FILE = "SHA256SUMS.txt"
36
36
  SELF_UPDATE_KINDS = ("installer", "portable", "brew")
37
37
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyhttp-app
3
- Version: 2.0.1.post1
3
+ Version: 2.0.2
4
4
  Summary: Local API client and alternative to Postman: collection runner, Postman-compatible scripts, mock servers and an MCP server
5
5
  Author-email: pyhttp Dev Team <dev@pyhttp.com>
6
6
  License: # pyhttp Free License 1.1
@@ -338,8 +338,11 @@ pyhttp
338
338
  ```
339
339
 
340
340
  On Linux, install the GTK webview bindings first (see *Linux* below) or use
341
- `pyhttp --browser`. `brew install pyhttp2/pyhttp/pyhttp-app` installs the
342
- same package through Homebrew (macOS and Linux, Intel and ARM).
341
+ `pyhttp --browser`. `brew install pyhttp2/pyhttp/pyhttp` installs the
342
+ same package through Homebrew (macOS and Linux, Intel and ARM; the tap is
343
+ [pyhttp2/homebrew-pyhttp](https://github.com/pyhttp2/homebrew-pyhttp)) — or tap
344
+ once with `brew tap pyhttp2/pyhttp`, after which plain `brew install pyhttp`,
345
+ `brew upgrade pyhttp` and `brew install --cask pyhttp` all work.
343
346
 
344
347
  **Windows**: double-click `run.bat`. The window opens without a console.
345
348
  WebView2 ships with Windows 10/11.
@@ -446,7 +449,7 @@ Packaged builds bundle Python and every dependency, so users just double-click.
446
449
  |---|---|---|
447
450
  | Windows 10/11 | `pyhttp-<version>-windows-x64-setup.exe`: installer (per user, no admin rights, into `%LOCALAPPDATA%\Programs\pyhttp`, Start menu entry, optional desktop icon, uninstaller in *Apps*) | `%APPDATA%\pyhttp` |
448
451
  | Windows 10/11 | `pyhttp-<version>-windows-x64.exe`: portable, one file, no install | `%APPDATA%\pyhttp` |
449
- | macOS 11+ | `brew tap pyhttp2/pyhttp https://github.com/pyhttp2/pyhttp-releases && brew install --cask pyhttp2/pyhttp/pyhttp`, or `pyhttp-<version>-macos-arm64.dmg` (drag pyhttp to Applications) | `~/Library/Application Support/pyhttp` |
452
+ | macOS 11+ | `brew install --cask pyhttp2/pyhttp/pyhttp`, or `pyhttp-<version>-macos-arm64.dmg` (drag pyhttp to Applications) | `~/Library/Application Support/pyhttp` |
450
453
  | Ubuntu 22.04+, Debian 12+ | `sudo apt install ./pyhttp-<version>-linux-amd64.deb`: installs to `/usr/lib/pyhttp`, adds `pyhttp` to the PATH and an app-menu entry; uses the distro's GTK and WebKitGTK (pulled in as dependencies) | `~/.local/share/pyhttp` |
451
454
 
452
455
  Running from source keeps using `./data`. In the packaged app, output that would
@@ -507,10 +510,14 @@ python packaging/bump.py 0.1.2
507
510
  ```
508
511
 
509
512
  That sets `__version__`, commits, creates the tag `v0.1.2` and pushes both. The
510
- tag run publishes the installer, the portable `.exe`, the `.dmg`, `SHA256SUMS.txt`,
511
- the license files and the Homebrew cask to the public
512
- [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) repository (needs the
513
- `RELEASE_TOKEN` secret). The Windows runner installs Inno Setup with Chocolatey when
513
+ tag run publishes the installer, the portable `.exe`, the `.dmg`, `SHA256SUMS.txt`
514
+ and the license files to this repository's Releases page, uploads `pyhttp-app` to
515
+ PyPI (secret `PYPI_API_TOKEN`), updates the Homebrew tap
516
+ ([homebrew-pyhttp](https://github.com/pyhttp2/homebrew-pyhttp): cask + formula)
517
+ and mirrors everything to
518
+ [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) so installs from
519
+ before the move keep updating (the mirror and taps need the `RELEASE_TOKEN`
520
+ secret, a fine-grained PAT with Contents: write on those two repositories). The Windows runner installs Inno Setup with Chocolatey when
514
521
  it is not already there. The in-app updater refuses a release without `SHA256SUMS.txt`,
515
522
  so keep that step in the workflow. A tag whose version differs from `__version__` is refused,
516
523
  because the release name, file names and the in-app update check all come from
@@ -572,8 +579,10 @@ is not allowed, and the name and logo stay with the project. The source code is
572
579
  published on PyPI as [`pyhttp-app`](https://pypi.org/project/pyhttp-app/)
573
580
  so it can be inspected and installed with pip; you may modify your own copy but
574
581
  not distribute the changes. The packaged installer, `.exe`, `.dmg` and `.deb`
575
- builds are published from the public
576
- [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases) repository.
582
+ builds are published on this repository's
583
+ [Releases](https://github.com/pyhttp2/pyhttp/releases) page and mirrored to
584
+ [pyhttp-releases](https://github.com/pyhttp2/pyhttp-releases), the old home,
585
+ so installs from before the move keep updating.
577
586
  Bundled open-source components are listed in
578
587
  [THIRD-PARTY-NOTICES.md](THIRD-PARTY-NOTICES.md).
579
588
 
File without changes
File without changes