Skip to main content

A GUI-based API testing tool

Project description

Project Info

A tiny tool like Postman to test api

Notes

  • Python Version: The script should work with Python 3.6+ (tested with 3.11 based on your previous interactions). Ensure this is clear in the README.
  • Optional Virtual Environment: You can suggest using a virtual environment for isolation:
  • Optional: Use a Virtual Environment

  python -m venv venv
  source venv/bin/activate  # macOS
  venv\Scripts\activate     # Windows
  pip install PyQt5 requests

- **Troubleshooting**: Add a note about common issues:
- If `pip` fails, ensure it's updated: `pip install --upgrade pip`.
- On macOS, if you see permission errors, try `pip install --user` or use `sudo`.
- On Windows, ensure Python is in your PATH (check with `python --version`).
- Verify module installation with `pip show PyQt5 requests`.

## Packaging and Distribution (Python Package)

To distribute the `p.py` script as a Python package, use `setuptools` to create a `pip`-installable package. This requires Python 3.6+ on the target computer.

### Steps to Package
1. **Create Project Files**:
 - `requirements.txt`:
PyQt5>=5.15.6
requests>=2.28.0

2. **Install Build Tools**:
  ```markdown
  pip install setuptools wheel

3. **Create the Package:Navigate to the project directory:**:
  
  ```markdown
  python3 setup.py sdist bdist_wheel
4. **Test locally**
  ```markdown
  pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pman_tester-1.0.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pman_tester-1.0.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file pman_tester-1.0.0.tar.gz.

File metadata

  • Download URL: pman_tester-1.0.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for pman_tester-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e9dca497a80ba0ea65359daea24d7a67c2531626e8916ee16b6257a494819e0c
MD5 80a34a2992e0cd0a5f7125043ef812d0
BLAKE2b-256 21395c944007ce8d641fdd369b8d12ded34e5037fc0fc4a261ed12d35ce4182e

See more details on using hashes here.

File details

Details for the file pman_tester-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pman_tester-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for pman_tester-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29b47dce3a790fa6ad5014842ba9bc6b8089f631497c458156eec48cdf135ab3
MD5 a52eb080854e5bc60cd983fc0e1eb09c
BLAKE2b-256 d6aec854bf806f0ddb1c159f2b78e699748199894b8e37aadca20df1f3099fe1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page