Bottle Framework and REST API Implementation in Python

Verified

Added on  2025/05/04

|10
|597
|99
AI Summary
Desklib provides solved assignments and past papers for students.
Document Page
ICT 705
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Executive summary
This assignment is based on python programming. Several files of data are used which are
provided in the brief of an assignment and the developer is required to read every source file of
data. The framework used is Bottle framework and is a web-based application. This application
consists of two fields for input which requires the entry of postal code and service type. On
clicking the find button, office and its location will get displayed.
i
Document Page
Contents
Executive summary.......................................................................................................................................i
Introduction.................................................................................................................................................1
Data integration..........................................................................................................................................2
Data read.................................................................................................................................................2
Data clean................................................................................................................................................2
Data Merging...........................................................................................................................................3
Web Services...............................................................................................................................................3
Running Screenshots...................................................................................................................................3
Conclusion...................................................................................................................................................5
References...................................................................................................................................................6
Figure 4: REST API link.................................................................................................................................3
Figure 5: JSON data.....................................................................................................................................3
Figure 6: MAP UI..........................................................................................................................................4
Figure 8: Find Office.....................................................................................................................................4
ii
Document Page
Introduction
This entire assignment is based on the system’s implementation and data integration. Several
things are developed in this project by the programming language called python. In the area of
system implementation and integration of data, python plays a major role. In data science,
python is the most important programming language and hence for this project, python
programming is used.
1
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Data integration
Three steps are involved in the process of data in integration which are data reading, data
cleaning, and data merging. These steps are described below in detail.
Data read
It is the first step in the data integration process. In this, CSV files are needed to be read with
the help of python code.
Data clean
It is the second step in data integration. After the reading of files, the next step is the removal
of replicated data present in the files. If there exists any replicated data, then the error will
occur.
2
Document Page
Data Merging
Data merging is the last step of the process of integration of the data as well as system. After
the removal of multiple and duplicate entries, another step is the merging of the data source
files so as to read data efficiently. In the program data_integration.py file is added.
Web Services
For this application, a bottle framework is used and the REST API is implemented for
implementing the web-based application. The 8181 port is used and every process of the
program of the application will run on this particular port only.
Running Screenshots
Figure 1: REST API link
Figure 2: JSON data
3
Document Page
Figure 3: MAP UI
Figure 4: Find Office
4
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Conclusion
The web-based application is implemented successfully as well as the program is running
without facing any errors. Many other things are also implemented that includes the REST API
as well as the Bottle framework and many others. The use of 8181 server port is used also the
report contains the screenshots for displaying the work appropriately in the file.
5
Document Page
References
Lai, R.Y. and Chan, K.F., Intuit Inc, 2013. Method and apparatus for securely invoking a rest API.
U.S. Patent 8,621,598.
Radenski, A., 2006, June. Python First: A lab-based digital introduction to computer science. In
ACM SIGCSE Bulletin (Vol. 38, No. 3, pp. 197-201). ACM.
Nowotka, M., Davies, M., Papadatos, G. and Overington, J., 2014. ChEMBL Beaker: a lightweight
web framework providing robust and extensible cheminformatics services. Challenges, 5(2),
pp.444-449.
Alqarni, A.A. and Pardede, E., 2012, September. Integration of data warehouse and
unstructured business documents. In 2012 15th International Conference on Network-Based
Information Systems (pp. 32-37). IEEE.
Gao, Y., Yuan, F. and Zhang, M., 2010, March. Data extraction based on index path in web. In
2010 Second International Workshop on Education Technology and Computer Science (Vol. 3,
pp. 157-160). IEEE.
6
Document Page
Appendix
7
chevron_up_icon
1 out of 10
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]