国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

159.352代做、代寫Python設計程序

時間:2024-03-14  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



159.** 2024/S1 – Assignment 1 Brief
Online Psychological Profiling
In this assignment, you will extend the minimalistic Web servers developed in the exercises
from the lectures. Here you will develop a Web application to generate an online (and not
necessarily serious) psychological profile of the user.
Your application will function both as a server to the end user and as a client itself in order
to consume 3rd party Web services via RESTful APIs—as in the following schematic.
A key aim of this assignment is to gain hands-on experience with HTTP fundamentals. Do
not use any high level framework (Django, Flask, Nodejs, etc) as they abstract the low level
HTTP functionality. You will get a chance to use these frameworks in the 2nd assignment.
Here you are being asked to implement your own micro-framework.
However, you may make use of standard modules that come with Python, e.g. http.server,
urllib.parse, requests, json etc. Also it is strongly encouraged that you do not hard code
HTML text within your Python scripts.
Requirements
Authentication
Use basic HTTP authentication to protect your site. Implement this in your Python server
so that without the correct login credentials, none of the resources will be accessible.
Use your 8-digit student ID for both the user name and password, e.g.. when your browser
asks for the credentials put in :
User Name: 12345678
Password: 12345678 (replace 12345678 with your own ID)
[4 marks]
The back end
Design your server to respond to the following URI paths. Also add other path definitions
as you see fit. Any undefined path should result in a 404 NOT FOUND response.
/
The default/empty path should deliver the content of the “landing page” index.html (or
otherwise). This will function as the “front end” as below.
/form
Deliver the content of the file psycho.html to the user. The content here is a classic form
using vanilla HTML. Your browser should then display this appropriately.
/analysis
This is the “action” upon submitting the form data from the browser. You will first need to
(slightly) modify psycho.html.
This URI should action the following tasks at the server-side:
1. Parse the input form data and store at the server side in a suitable format.
2. Analyze the input data to generate a “psychological profile”. The results should be as
follows:
• an assessment of the users suitability for their selected preferred career
• a recommendation of movies the user might like—fetch the relevant data from a
3rd party site via a RESTful API (see below)
3. Fetch a random image, from a 3rd party site (see also below), for each pet that the
user selected in the check boxes. Store these at the server side.
For step 2 you can analyze the form data in any way you see fit—be creative and have fun!
The result of actioning the /analysis URI should be the psychological profile data and image
files stored at the server. These data should NOT be be delivered to the client at this point.
The server response should just be a simple message in a suitable format.
The delivery of actual data is to be handled by the view URI paths below.
/view/input
This URI delivers the input data to the client. This should be delivered in a suitable
serialization format. Do not include HTML. The visualization of the data is to be handled
by the front end.
/view/profile
Deliver the psychological profile data to the user for display in the front end. Again, use a
suitable serialization format.
[11 marks]
The front end
This deals with the presentation and visualization of the data generated at the server. Design
a suitable front end in index.html to interact with server. You will need to add JavaScript
functionality. This should have the following functionality:
1. Fetch the input data form psycho.html by actioning the appropriate back end URI.
The content of this HTML will need to be displaced in a separate browser window.
2. Fetch the serialized input data and display in the browser in a suitable human viewable
form.
3. Fetch the serialized psychological profile data together with the pet images (if any)
and display them in the browser in a human readable format.
Results should be displayed in a manner you would expect to see in a browser window after
appropriately parsing the serialization text. Do not just dump this raw text in the display
document.
[7 marks]
Deployment
Package your application as a Docker image and get it working in a Docker container.
[3 marks]
Submission
Please upload your saved Docker image. Instructions are on Stream.
This assignment is worth 25 marks (25% towards your final grade).
Due date: 2024 March 29, 11:55pm.
Appendix: 3rd Party Services
Movie Database
Visit http://www.omdbapi.com/apikey.aspx. Click on the “FREE!” radio button and
enter your details, e.g.:
Your API key will be sent to your e-mail. To get details on a particular movie title, try the
URI (replace abcdefgh with your own key)
http://www.omdbapi.com/?apikey=abcdefgh&t=alien
and see what comes back. See the documentation for other types of API calls.
Random Animal Pictures
The following URIs will fetch image metadata for animal image files. No API keys are
needed. Note: the metadata will be in JSON format which will contain the URL for the
actual image file—which you also need to action.
To understand what is going here, use curl, wget, or your own Python test script to action
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

掃一掃在手機打開當前頁
  • 上一篇:8PRO102代寫、代做C++程序語言
  • 下一篇:CS 3140代做、代寫java語言編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日韩国产一区久久| 成人久久久久爱| 午夜精品久久久久久久久久久久| 久久久www免费人成黑人精品| 亚洲一区美女视频在线观看免费| 欧美激情极品视频| 欧美国产激情视频| 国产一级黄色录像片| 99免费在线视频观看| 色在人av网站天堂精品| 777精品久无码人妻蜜桃| 久久最新资源网| 日韩精品久久一区| 国产精品50p| 日韩一区国产在线观看| 久久久999免费视频| 亚洲欧美日韩精品在线| 国产xxxxx视频| 亚洲欧洲日夜超级视频| 日韩中文字幕三区| 性欧美长视频免费观看不卡| 97国产精品久久| 亚洲精品一区二区三| 久久精品色欧美aⅴ一区二区| 亚洲欧洲免费无码| 国模精品一区二区三区色天香| 91久久久久久| 日韩久久久久久久久久久久| 国产精品国产三级国产专区53| 亚洲一区二区三区精品在线观看 | 五月天色婷婷综合| 久久久久久久久中文字幕| 欧美成aaa人片免费看| 国产在线视频2019最新视频| 久久av一区二区| 国产亚洲黄色片| 中文字幕综合在线观看| 91精品国产高清自在线| 国产一区二区三区高清| 日韩免费精品视频| 久色乳综合思思在线视频| 少妇精69xxtheporn| 色欲av无码一区二区人妻| 精品视频9999| 久久久影视精品| 欧美日韩精品免费观看视一区二区| 成人国产精品日本在线| 亚洲精品高清视频| 日韩视频在线观看免费| 国内精品久久久久伊人av| 国产99在线免费| 国产精品二区三区四区| 久久久精品电影| 深夜精品寂寞黄网站在线观看| 国产a级片免费观看| 国产高清精品一区| 国产主播精品在线| 欧美精品无码一区二区三区| 欧美亚州一区二区三区| 亚洲图片小说在线| 久久久久国产精品www| 国产高清精品一区| 狠狠综合久久av| 亚洲一区三区在线观看| 中文字幕日韩精品久久| 欧美精品成人在线| 亚洲啪啪av| 久久亚洲精品一区| 国产www精品| 国产欧美日韩一区二区三区| 性亚洲最疯狂xxxx高清| 亚洲国产婷婷香蕉久久久久久99| 午夜在线视频免费观看| 精品丰满人妻无套内射| 国产欧美日韩视频一区二区三区| 国产在线观看91精品一区| 国产一区二区香蕉| 欧美久久久久久久久久久久久久| 欧美在线视频二区| 亚洲精品女av网站| 色999五月色| 欧美精品久久久久a| 欧美激情一区二区久久久| 一区二区三区在线观看www| 亚洲成人午夜在线| 青青草成人在线| 国产原创欧美精品| 欧美精品免费观看二区| 国产一区二区自拍| 99电影在线观看| 国产毛片视频网站| 欧美性在线观看| 国产在线不卡精品| 91免费在线观看网站| 久久久久久久9| 久热精品视频在线观看一区| 亚洲欧洲三级| 欧美日韩精品久久| 日韩欧美一区二区三区久久婷婷| 亚洲自拍小视频| 欧美一区二区视频97| 亚洲一区二区三区加勒比| 精品国产福利| 亚洲mm色国产网站| 欧美亚洲免费高清在线观看| 国产美女直播视频一区| 国产成人精品视| 操人视频在线观看欧美| 久久av.com| 午夜精品久久久久久久男人的天堂| 欧美日本韩国在线| 国产欧美日韩网站| 国产成人精品日本亚洲专区61| 91精品久久久久久蜜桃| 日韩在线视频观看| 毛片精品免费在线观看| 日本精品视频网站| 国产欧美一区二区白浆黑人 | 国产精品美女免费| 日韩中文字幕第一页| 精品久久久久久中文字幕动漫| 午夜精品一区二区三区av| 欧美国产亚洲一区| 久久久亚洲欧洲日产国码aⅴ| 99精品免费在线观看| 97精品视频在线| 国产精品视频一区二区三区四区五区| 国产精品中文字幕久久久| 免费国产一区| 免费在线国产精品| av无码久久久久久不卡网站| 久久精品99无色码中文字幕| 亚洲bt天天射| 粉嫩av一区二区三区免费观看| 91精品国产综合久久男男| 国产精品99久久久久久久久久久久| 成人av中文| 久久手机免费视频| 性色av香蕉一区二区| 国产日韩在线播放| 久久精品99久久久香蕉| 日韩中文字幕免费在线| 欧美在线一区二区视频| 97精品国产97久久久久久春色| 国产精品九九九| 欧美亚洲第一页| 国产成人+综合亚洲+天堂| 亚洲最新免费视频| 日本久久久a级免费| 成人精品水蜜桃| 国产成人在线精品| 亚洲一区尤物| 成人综合视频在线| 国产白丝袜美女久久久久| 色综合久久天天综线观看| 欧美国产日韩在线播放| 成人久久一区二区三区| 久久精品国产精品亚洲色婷婷| 一本—道久久a久久精品蜜桃| 国产一区二区丝袜高跟鞋图片| 成人黄色中文字幕| 另类美女黄大片| 国模视频一区二区| 国产精品无码一本二本三本色| 日本精品性网站在线观看| 久久久国产精品一区二区三区| 五月天综合网| 欧美精品一区在线| 国产成人精品免高潮费视频| 国产精品久久久久久久久久久久久久 | 久久久久久久久久伊人| 久久久www成人免费精品| 精品国产乱码久久久久久丨区2区 精品国产乱码久久久久久郑州公司 | 中文字幕精品在线播放| 国产日韩av在线播放| 国产成人一二三区| 国产精品久久久av| 韩国精品久久久999| 国产精品污www一区二区三区| 欧美视频在线第一页| 97成人在线视频| 亚洲自拍av在线| 91久久精品在线| 欧美xxxx做受欧美| 国产网站免费在线观看| 蜜臀久久99精品久久久无需会员| 亚洲二区自拍| 久久男人的天堂| 日韩高清国产精品| 久久国内精品一国内精品| 免费在线观看日韩视频| 欧美成年人在线观看| 国产伦精品一区二区三区四区视频_ | 国产精品99久久久久久白浆小说| 欧美一区二区三区在线免费观看| 国产无套粉嫩白浆内谢的出处| 久久91精品国产| 今天免费高清在线观看国语| 久久香蕉综合色| 日本毛片在线免费观看|