-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added Travis CI config file * Configured files for Travis build tests * Changed Travis config for build test * Added PIL install to Travis * Update README.md * Update README.md * Update README.md * Create pythonapp.yml * Delete pythonapp.yml * Update README.md * Linking windows to the master file * Minor UI Adjustments * Added dropdown menu to form & UI changes * Minor UI adjustments * Change in UX and window resize * Minor change to window * Added new delete window * Linked delete.py to the master.py * Update README.md * Update README.md * Added the screenshots for documentation * Fixed minor UI issue * Binding submit button to return key * Replaced SS after minor UI changes * Replaced SS after minor UI fixing * Deleting old SS * Added new screenshots * Update README.md * Update the documentation * Update README.md Added about the project and features to the documentation * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Set theme jekyll-theme-hacker * Enable download buttons * Add jemoji plugin for inline emojis * Added code for #35 * Delete SMTP-test.py * New test code #35 * Added CSS with HTML email * Update the email * Delete SMTP-test.py * Added HTML code for email * Added password recovery using reg email ID * Update DB schema * Added new screenshots * Minor bug fix and button disabling added
- Loading branch information
1 parent
e7c433c
commit 11898ac
Showing
23 changed files
with
761 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: python | ||
python: | ||
- "3.7" | ||
|
||
dist: xenial | ||
|
||
services: | ||
- xvfb | ||
|
||
before_script: | ||
- pip install Pillow | ||
|
||
script: python master.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,235 @@ | ||
# Hospital Patient Management Applicatiom | ||
|
||
A python project for semester 6 using Tkinter and SQLite. | ||
This application use a Graphical User Interface(GUI) made using tkinter in Python3 which saves a patient's data to database using SQLite. | ||
<p align="center"> | ||
<img alt="For-the-Badge-Python" src="http://ForTheBadge.com/images/badges/made-with-python.svg"> | ||
<img alt="GitHub release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/chauhannaman98/MedFixture?style=for-the-badge"> | ||
</p> | ||
|
||
### Tools used | ||
<p align="center"> | ||
<img alt="Travis (.com) branch" src="https://img.shields.io/travis/com/chauhannaman98/MedFixture/master?style=flat-square"> | ||
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/chauhannaman98/MedFixture?style=flat-square"> | ||
<img alt="GitHub issues" src="https://img.shields.io/github/issues/chauhannaman98/MedFixture?style=flat-square"> | ||
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/chauhannaman98/MedFixture?style=flat-square"> | ||
<img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/chauhannaman98/MedFixture?style=flat-square"> | ||
<img alt="GitHub License" src="https://img.shields.io/github/license/chauhannaman98/MedFixture?style=flat-square"> | ||
</p> | ||
<p align="center"> | ||
<img alt="GitHub forks" src="https://img.shields.io/github/forks/chauhannaman98/MedFixture?style=social"> | ||
<img alt="GitHub stars" src="https://img.shields.io/github/stars/chauhannaman98/MedFixture?style=social"> | ||
</p> | ||
|
||
- **[VS Code](https://code.visualstudio.com/)** | ||
- **[SQLite Browser](http://sqlitebrowser.org/)** | ||
|
||
> If "ImportError: No module named 'tkinter'" is shown during execution of the python program, try installing tkinter library on your machine. | ||
<!-- PROJECT LOGO --> | ||
<br /> | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/icon.png" alt="Logo" width="80" height="80"> | ||
</a> | ||
|
||
<h3 align="center">MedFixture</h3> | ||
|
||
<p align="center"> | ||
A GUI application to make and manage hospital appointments in a database! | ||
<br /> | ||
<a href="https://github.com/chauhannaman98/MedFixture/blob/master/README.md"><strong>Explore the docs »</strong></a> | ||
<br /> | ||
<br /> | ||
<a href="https://github.com/chauhannaman98/MedFixture">View Demo</a> | ||
· | ||
<a href="https://github.com/chauhannaman98/MedFixture/issues">Report Bug</a> | ||
· | ||
<a href="https://github.com/chauhannaman98/MedFixture/issues">Request Feature</a> | ||
· | ||
<a href="https://github.com/chauhannaman98/Medixture/pulls">Make Pull Request</a> | ||
</p> | ||
</p> | ||
|
||
|
||
<!-- TABLE OF CONTENTS --> | ||
## Table of Contents | ||
|
||
* [About the Project](#about-the-project) | ||
* [Features](#features) | ||
* [Built Using](#built-using) | ||
* [Getting Started](#getting-started) | ||
* [Prerequisites](#prerequisites) | ||
* [Installation](#installation) | ||
* [Changelog](#changelog) | ||
* [Contributing](#contributing) | ||
* [License](#license) | ||
* [Contact](#contact) | ||
* [Acknowledgements](#acknowledgements) | ||
|
||
<!-- ABOUT THE PROJECT --> | ||
## About the Project | ||
|
||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/what_is_it.png" alt="what-is-it-window"> | ||
</a> | ||
</p> | ||
|
||
MedFixture is an application to book and manage the appointments of a hospital or clinic. The application itself doesn't save any data, that is, the login credentials, authentication data and patients' data is not hard programmed in the python script. The data which is handled by the application is actualy stored in an SQLite database. The appication itself can be used by several people and institutions. We just need to connect it the corresponding database. | ||
|
||
### Features | ||
* Uses a master login window to access the database and make data transactions. It even has a _Login as Guest_ feature to login for only viewing the data and not editing the database. | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/master.png" alt="master-login"> | ||
</a> | ||
</p> | ||
|
||
* If the user forgets the password, the application also has a feature to reset the password using the saved secret questions. The option to reset password usign OTP/reset link will be pushed in the upcoming versions hopefully. | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/forgot_pass.png" alt="master-login"> | ||
</a> | ||
</p> | ||
|
||
* If logged in using an user, authenticated by the credentials from the database, a new toplevel window opens and show the profile details. It also gives options to add, edit or delete the appointments. | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/menu_bar.png" alt="menu-bar"> | ||
</a> | ||
</p> | ||
|
||
* On clicking on _Add Appointment,_ a new window to add new appointment is opened which saves new data to connected database. | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/add.png" alt="add-appointment"> | ||
</a> | ||
</p> | ||
|
||
* On clicking on _Edit Appointment,_ a new window to edit existing appointment which updates data to connected database. | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/update.png" alt="update-appointment"> | ||
</a> | ||
</p> | ||
|
||
* On clicking on _Delete Appointment,_ a new window to delete any existing appointment which is saved in the connected database. | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/delete.png" alt="delete-appointment"> | ||
</a> | ||
</p> | ||
|
||
* On completing your work, you can simply logout your session and re-login again. | ||
<p align="center"> | ||
<a href="https://github.com/chauhannaman98/MedFixture"> | ||
<img src="resources/readme/logout_warning.png" alt="logout-warning"> | ||
</a> | ||
</p> | ||
|
||
### Built using | ||
* Software | ||
* [Python 3.7](https://www.python.org/) | ||
* [tkinter](https://docs.python.org/3/library/tkinter.html) for Python 3.x | ||
* [Visual Studio Code](https://code.visualstudio.com/) | ||
* [SQLite Browser](http://sqlitebrowser.org/) | ||
* Hardware | ||
* Desktop/laptop | ||
* OS: Windows 10/Linux (Recommended Ubuntu 18.0+) | ||
|
||
## Getting Started | ||
To use the this application on your system, you can simply clone this repository or download the .zip file. But, to run the application with all it's features, you must make proper setup and installation of libraries and prerequisites. | ||
|
||
### Prerequisites | ||
* Make sure that you have Python v3.x installed on your machine. Otherwise, you can just use this command to install python3 on Ubuntu : | ||
```sh | ||
sudo apt install python3 | ||
``` | ||
Otherwise, just go [here](https://www.python.org/) and download the python for your system. | ||
|
||
* To install tkinter module for python 3, use the following command: | ||
```sh | ||
sudo apt install python3-tk | ||
``` | ||
|
||
* Application uses SQLite3. Thus to install the module for python3, type the command: | ||
```sh | ||
sudo apt install sqlite3 | ||
``` | ||
|
||
* The `master.py` is also using Pillow which is a Python imaging library. To install the relevant module, use the following command: | ||
```sh | ||
sudo apt install python3-pil | ||
``` | ||
|
||
### Installation | ||
|
||
1. :dancers: Clone the repository or download the .zip from [here](https://github.com/chauhannaman98/MedFixture/archive/master.zip). | ||
```sh | ||
git clone https://github.com/chauhannaman98/MedFixture.git | ||
``` | ||
2. Go to the directory: | ||
```sh | ||
cd MedFixture | ||
``` | ||
|
||
4. Make sure you have installed all the [prerequisites](#prerequisites) and required [tools](#built-using) and modules. | ||
|
||
5. Make sure you have database(`database.db`) file in the directory. | ||
|
||
5. :man_technologist: Run `master.py` from terminal/command prompt from the . | ||
```sh | ||
python3 master.py | ||
``` | ||
|
||
|
||
## Changelog | ||
|
||
### [[v1.0.0-beta.1](https://github.com/chauhannaman98/MedFixture/releases/tag/v1.0.0-beta.1)] - 2020-05-10 | ||
|
||
A stable application has been released for public use in the beta state. Users are appreciated to test the application. You can [create](https://github.com/chauhannaman98/MedFixture/issues) an issue to request a new feature or report a bug. Also, you can fork the repository and [make](https://github.com/chauhannaman98/Medixture/pulls) a pull request for contributions. | ||
|
||
### [[v0.2.0](https://github.com/chauhannaman98/MedFixture/releases/tag/v0.2.0)] - 2020-05-07 | ||
#### Added: | ||
- `Added` new delete window to delete the existing record in the database. | ||
|
||
#### Changed: | ||
- `Improved` UI and UX for the add and update window. | ||
|
||
#### Deprecated: | ||
- `Deprecating` display window (view option) from the top-level window. | ||
|
||
### [[v0.1.0](https://github.com/chauhannaman98/MedFixture/releases/tag/0.1.0)] - 2020-05-05 | ||
|
||
The release is in the initial development phase. Anything MAY change at any time. The public API SHOULD NOT be considered stable. | ||
|
||
|
||
<!-- CONTRIBUTING --> | ||
## Contributing | ||
|
||
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. | ||
|
||
1. :fork_and_knife: Fork the Project | ||
2. :sparkles: Create your Feature Branch (`git checkout -b feature/AmazingFeature`) | ||
3. :white_check_mark: Commit your Changes (`git commit -m 'Add some AmazingFeature'`) | ||
4. :seedling: Push to the Branch (`git push origin feature/AmazingFeature`) | ||
5. :arrow_heading_up: Open a Pull Request | ||
|
||
|
||
|
||
<!-- LICENSE --> | ||
## License | ||
|
||
Distributed under the GNU General Public License v3.0 License. See [LICENSE](https://github.com/chauhannaman98/MedFixture/blob/master/LICENSE) for more information. | ||
|
||
|
||
|
||
<!-- CONTACT --> | ||
## Contact | ||
|
||
Made with :heart: by Naman Chauhan - [@techmirtz](https://twitter.com/techmirtz) - chauhannaman98gmail.com | ||
|
||
Project Link: :octocat: [https://github.com/chauhannaman98/MedFixture](https://github.com/chauhannaman98/Medfixture) | ||
|
||
|
||
|
||
<!-- ACKNOWLEDGEMENTS --> | ||
## Acknowledgements | ||
* [GitHub Emoji Cheat Sheet](https://www.webpagefx.com/tools/emoji-cheat-sheet) | ||
* [Img Shields](https://shields.io) | ||
* [GNU General Public License v3.0](https://choosealicense.com/licenses/gpl-3.0/) | ||
* [Hospital-Management-System on Github by onthir](https://github.com/onthir/Hospital-Management-System) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
theme: jekyll-theme-hacker | ||
show_downloads: true | ||
plugins: | ||
- jemoji |
Oops, something went wrong.