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

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

159.352代做、代寫Python設計程序

時間:2024-03-14  來源:合肥網(wǎng)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語言編程
  • 無相關信息
    合肥生活資訊

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

    關于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日韩精品欧美一区二区三区| 99在线国产| 亚洲乱码中文字幕久久孕妇黑人| 欧美激情小视频| 欧美精品久久久久久久久久| 久久久久国产精品免费网站| 精品麻豆av| 亚洲综合在线小说| 午夜精品久久久久久99热软件| 又粗又黑又大的吊av| 亚洲一区国产精品| 亚洲一区影院| 日本精品性网站在线观看| 欧美这里只有精品| 欧美性资源免费| 日韩女优人人人人射在线视频| 日韩福利在线| 免费在线黄网站| 国产免费一区二区三区视频| 99久久激情视频| 久久9精品区-无套内射无码| 久激情内射婷内射蜜桃| 国产精品少妇在线视频| 精品免费国产| 亚洲精品免费网站| 日韩久久精品一区二区三区| 欧美亚洲丝袜| 精品无码一区二区三区爱欲| 国产精品亚洲аv天堂网| 91精品在线观看视频| 国产精华一区| 九一免费在线观看| 国产精品精品视频一区二区三区 | 国产欧美亚洲日本| 成人精品视频在线播放| 久久国产精品一区二区三区| 国产精品视频男人的天堂| 久久在精品线影院精品国产| 亚洲精品中文字幕无码蜜桃| 日韩精品―中文字幕| 国产在线观看精品一区二区三区| 91精品综合视频| 国产精品欧美激情在线观看| 色在人av网站天堂精品| 色就是色欧美| 蜜桃麻豆91| 久久青草福利网站| 国产精品加勒比| 亚洲欧洲日韩精品| 欧美变态另类刺激| 91精品国产一区二区三区动漫| 久久久精品免费视频| 欧美精品激情在线| 欧洲美女7788成人免费视频| 国产精品一区在线观看| 久久精品亚洲94久久精品| 中日韩在线视频| 免费在线观看的毛片| 粉嫩精品一区二区三区在线观看| 久久久久一区二区| 在线观看亚洲视频啊啊啊啊| 欧美日韩精品久久| 久久这里只有精品18| 精品中文字幕乱| 欧洲亚洲一区二区| 91麻豆国产精品| 欧美成人中文字幕在线| 欧美亚洲日本网站| 久久综合久久网| 中文字幕乱码一区二区三区| 欧美成人一区二区在线观看| 久久精品国产sm调教网站演员 | 激情小说综合网| 国产高清免费在线| 中文精品一区二区三区| 免费高清一区二区三区| 国产成人高清激情视频在线观看| 一区二区视频在线观看| 欧美视频1区| 九九九久久久| 欧美一区二区三区艳史| 国产欧美日韩中文| 国产精品电影网| 欧美乱大交xxxxx潮喷l头像| 国产成人精品视| 亚洲自拍的二区三区| 国产欧美日韩专区发布| 国产精品久久久久久久av电影| 人妻精品无码一区二区三区| 国产传媒欧美日韩| 亚洲成色www久久网站| 91免费视频国产| 亚洲综合在线播放| 成人国产精品一区| 精品综合久久久久久97| 免费看国产一级片| 国产精品嫩草在线观看| 欧美一区免费视频| 日韩在线视频一区| 欧美在线免费观看| 久久久亚洲影院| 日本一本草久p| 久久久久一区二区三区| 日韩精品大片| 久久久国产影院| 黄色一级视频播放| 欧美成人一二三| 成人在线观看毛片| 亚洲mm色国产网站| 久操手机在线视频| 欧美国产日韩激情| 国产精品久久不能| 国产美女主播一区| 亚洲激情电影在线| 久久人人爽人人爽人人片av高清| 亚洲最大福利视频网站| 91好吊色国产欧美日韩在线| 日本一区精品| 日韩中文字幕免费视频| 欧美大香线蕉线伊人久久国产精品| 国产精品人成电影| 国产欧美精品va在线观看| 一区二区三区观看| 久久频这里精品99香蕉| 热久久免费视频精品| 国产精品欧美亚洲777777| 国产日韩第一页| 亚洲综合色激情五月| 久久国产日韩欧美| 国内精品中文字幕| 久久国产精品久久国产精品| 91国产精品视频在线| 欧洲成人免费视频| 欧美精品制服第一页| 国产精品av免费| 欧美黄色免费影院| 亚洲在线视频观看| 精品国产视频在线| 国产欧美精品一区二区三区介绍 | 日韩av高清| 国产精品日韩久久久久| 成人av在线播放观看| 亚洲五月六月| 日韩三级成人av网| av一区二区在线看| 精品欧美国产一区二区三区不卡| 中文字幕久久一区| xxx一区二区| 91精品视频一区| 麻豆精品蜜桃一区二区三区| 午夜一区二区三区| 欧美成aaa人片在线观看蜜臀| 91.com在线| 国产综合福利在线| 日韩国产精品一区二区三区| 九九精品在线播放| 精品国产自在精品国产浪潮| 国产青草视频在线观看| 热久久美女精品天天吊色| 中文字幕黄色大片| 国产精品久久久久久久久久久久午夜片| 91精品国产91久久久久久不卡 | 欧美一区二区三区四区在线观看地址| 国产精品极品美女在线观看免费| 久久久亚洲精品视频| 国产男女免费视频| 经典三级在线视频| 春日野结衣av| 欧美激情一区二区久久久 | 午夜探花在线观看| 国产99久久久欧美黑人| 国产精品网站大全| 久久精品国产一区二区三区日韩| 国产精品一区而去| 欧美日韩亚洲综合一区二区三区激情在线| 午夜精品久久久久久久男人的天堂| 久久伊人精品一区二区三区| 日韩一区二区精品视频| 91精品国产91久久久久| 分分操这里只有精品| 欧美亚洲精品日韩| 青青久久av北条麻妃海外网| 婷婷久久五月天| 懂色av粉嫩av蜜臀av| 亚洲精品乱码视频| 亚洲国产欧洲综合997久久| 色中色综合影院手机版在线观看| 国产精品成人久久电影| 国产精品麻豆va在线播放| 久久精品99无色码中文字幕| 久草一区二区| xvideos亚洲| 日韩综合视频在线观看| www.精品av.com| 久久精品视频中文字幕| 日韩在线免费av| 日韩亚洲第一页| 久久久国产影院| 国产精品美女久久久久av福利 | 热久久精品免费视频|