Skip to content

This is a PyQt5 based GUI application that allows users to select a file and POST it to a REST API. The application receives a request ID from the API and uses it to query the current status of the computation. The GUI provides an intuitive interface for users to interact with the API and retrieve the results.

License

Notifications You must be signed in to change notification settings

yihong1120/PyQt5-File-Uploader-to-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyQt5 REST API File Uploader

This is a PyQt5-based GUI application that allows users to upload a file to a REST API and receive a request ID in response. The request ID can then be used to retrieve the current status of the calculation from the API.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Features

  • Select a file to upload
  • POST file to REST API
  • Receive and display request ID
  • Use request ID to query the current status of the calculation from the API

Requirements

You will need to have the following installed on your machine:

  • Python 3.x
  • PyQt5
  • Requests library

Usage

Clone the repository:

git clone https://github.com/[username]/PyQt5-REST-API-File-Uploader.git

Install required packages:

pip install -r requirements.txt

Run the application:

python main.py

The GUI should appear and you can start using the REST API client by selecting a file and clicking the "Submit" button. The API response and calculation result will be displayed in the GUI.

Contributing

If you would like to contribute to this repository, please create a pull request with your changes. All contributions are welcome!

License

This project is licensed under the MIT License

About

This is a PyQt5 based GUI application that allows users to select a file and POST it to a REST API. The application receives a request ID from the API and uses it to query the current status of the computation. The GUI provides an intuitive interface for users to interact with the API and retrieve the results.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages