99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

159.352代做、代寫Python設(shè)計程序

時間: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 

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

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
    出評 開團(tuán)工具
    出評 開團(tuán)工具
    挖掘機(jī)濾芯提升發(fā)動機(jī)性能
    挖掘機(jī)濾芯提升發(fā)動機(jī)性能
    海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機(jī)場巴士4號線
    合肥機(jī)場巴士4號線
    合肥機(jī)場巴士3號線
    合肥機(jī)場巴士3號線
    合肥機(jī)場巴士2號線
    合肥機(jī)場巴士2號線
    合肥機(jī)場巴士1號線
    合肥機(jī)場巴士1號線
  • 短信驗(yàn)證碼 豆包 幣安下載 AI生圖 目錄網(wǎng)

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          99av国产精品欲麻豆| 国产精品超碰97尤物18| 国产亚洲视频在线| 亚洲一区二区精品在线观看| 久久综合中文| 国产有码一区二区| 午夜精品一区二区三区电影天堂 | 欧美另类videos死尸| 在线观看的日韩av| 久久久久国内| 在线观看精品| 蜜臀99久久精品久久久久久软件| 国产日韩一区| 久久精品中文| 尤物yw午夜国产精品视频明星| 欧美在线视频观看免费网站| 国产精品色婷婷久久58| 亚洲欧美日韩人成在线播放| 国产精品每日更新在线播放网址| 亚洲视频一起| 国产精品午夜久久| 香蕉成人啪国产精品视频综合网| 国产精品劲爆视频| 性欧美xxxx大乳国产app| 国产伦精品一区二区三区免费| 性欧美办公室18xxxxhd| 国产亚洲精品自拍| 毛片av中文字幕一区二区| 亚洲国产女人aaa毛片在线| 欧美成人精品福利| 99精品热视频只有精品10| 国产精品国产三级国产| 欧美一级欧美一级在线播放| 狠狠色狠狠色综合系列| 免费欧美网站| 亚洲香蕉伊综合在人在线视看| 国产精品亚洲不卡a| 久久精品青青大伊人av| 亚洲国产mv| 欧美日韩美女| 欧美在线播放高清精品| 亚洲国内自拍| 欧美午夜女人视频在线| 久久国产一区| 亚洲激情视频在线| 国产精品高清在线| 久久亚洲欧美国产精品乐播| 亚洲欧洲精品一区二区| 国产精品老牛| 免费在线观看成人av| 在线视频亚洲欧美| 黄色成人在线网站| 欧美三区不卡| 免费成人黄色片| 亚洲欧美乱综合| 亚洲欧洲午夜| 国产一区二区三区四区五区美女| 免费观看久久久4p| 午夜精品www| 亚洲欧洲日本国产| 国产日韩欧美精品一区| 欧美精品一区二区视频| 久久久久久电影| 亚洲视频在线观看网站| 亚洲电影视频在线| 国产精品一区久久久| 欧美激情一区二区三区高清视频| 欧美影院在线| 亚洲欧美韩国| 亚洲视频 欧洲视频| 亚洲国产精品精华液2区45| 国产乱理伦片在线观看夜一区 | 亚洲一区在线免费| 亚洲精品韩国| 亚洲第一精品电影| 国产亚洲欧美激情| 国产欧美欧洲在线观看| 国产精品v欧美精品v日韩精品| 免费在线观看一区二区| 久久米奇亚洲| 久久精品亚洲一区| 午夜精品在线看| 午夜精品久久久久久久99水蜜桃| 日韩亚洲精品电影| 日韩亚洲欧美精品| 亚洲精品视频在线看| 亚洲国产精品欧美一二99| 国内自拍亚洲| 国产伊人精品| 国产亚洲一区二区三区在线观看 | 久久精品国产免费| 欧美一区二区三区另类| 午夜视频一区在线观看| 篠田优中文在线播放第一区| 亚洲在线观看免费| 亚洲欧美日韩一区在线观看| 亚洲一区日韩在线| 亚洲综合社区| 午夜精品久久久久久久久久久久久| 中文一区二区在线观看| 亚洲午夜精品在线| 亚洲欧美日韩第一区| 午夜精品亚洲| 久久国产精品久久久久久电车| 久久www成人_看片免费不卡 | 久久精品久久99精品久久| 久久精品一区四区| 久久夜色精品亚洲噜噜国产mv| 久久在线91| 欧美激情91| 欧美午夜大胆人体| 国产日韩欧美中文在线播放| 国产在线不卡视频| 亚洲国产一区二区精品专区| 亚洲伦理久久| 午夜在线成人av| 久久精品人人做人人爽| 你懂的视频一区二区| 欧美大片在线影院| 欧美日韩亚洲一区二区三区在线观看 | 久久精彩免费视频| 欧美国产精品| 国产精品日产欧美久久久久| 国产一区二区激情| 亚洲美女精品成人在线视频| 亚洲一区二区在线看| 久久久久久久网站| 欧美日韩成人一区二区三区| 国产精品视频一二| 在线观看国产欧美| 亚洲视频久久| 久久综合伊人77777蜜臀| 欧美日韩亚洲另类| 国产亚洲一区精品| 99热这里只有精品8| 欧美在线看片| 欧美极品aⅴ影院| 国产精品揄拍500视频| 激情综合久久| 亚洲一区二区三区色| 米奇777超碰欧美日韩亚洲| 国产精品成人一区二区艾草| 伊人久久av导航| 亚洲欧美日韩系列| 欧美精品日韩三级| 韩国成人福利片在线播放| 在线视频欧美一区| 免费在线欧美视频| 国产一区二区精品| 亚洲在线一区二区三区| 欧美极品影院| 在线精品视频一区二区三四| 亚洲欧美一区二区三区久久| 猛男gaygay欧美视频| 国产亚洲精品福利| 亚洲一区二区三区中文字幕| 欧美成人精精品一区二区频| 国产日韩在线看片| 一区二区三区视频在线播放| 免费成人网www| 精品51国产黑色丝袜高跟鞋| 性欧美8khd高清极品| 国产精品vvv| 日韩一级片网址| 欧美第一黄色网| 在线免费观看日韩欧美| 久久精品人人做人人爽| 国产麻豆精品视频| 亚洲——在线| 国产精品欧美激情| 亚洲综合视频一区| 国产精品成人一区二区网站软件 | 国产精品视频午夜| 亚洲一区二区成人| 国产精品国产精品| 亚洲已满18点击进入久久| 国产精品久久国产三级国电话系列 | 日韩视频在线免费| 欧美激情第一页xxx| 亚洲国内自拍| 欧美精品一区二区久久婷婷| 亚洲人成人一区二区三区| 欧美va亚洲va日韩∨a综合色| 在线观看精品一区| 欧美成人午夜激情视频| 亚洲精品精选| 欧美日韩国产综合久久| 一区二区高清| 国产精品你懂的| 欧美在线看片a免费观看| 韩国v欧美v日本v亚洲v| 一区二区三区自拍| 亚洲精品综合精品自拍| 欧美成人午夜剧场免费观看| 国产欧美精品在线播放| 久久福利毛片| 在线观看av一区| 禁断一区二区三区在线| 欧美成人高清视频| 宅男噜噜噜66国产日韩在线观看|