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

合肥生活安徽新聞合肥交通合肥房產(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 

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

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    日韩三级成人av网| 久久露脸国产精品| 91精品国产91久久久久麻豆 主演 91精品国产91久久久久青草 | 国产盗摄视频在线观看| 欧美激情综合亚洲一二区| 精品欧美一区免费观看α√| 97精品国产97久久久久久免费| 麻豆成人在线看| 国产专区欧美专区| 久久视频在线看| 青青在线免费观看视频| 久久婷婷五月综合色国产香蕉| 亚洲最大的av网站| 99在线免费视频观看| 亚洲色成人www永久在线观看| 国产欧美一区二区视频| 久久精品国产亚洲| 欧美不卡福利| 国产精品免费视频xxxx| 欧美牲交a欧美牲交aⅴ免费下载 | 按摩亚洲人久久| 热久久美女精品天天吊色| 日韩一区二区久久久| 青青草成人网| 国产精品视频二| 国产一级片91| 另类专区欧美制服同性| 国产日韩av网站| 亚洲中文字幕无码av永久| 91精品国产综合久久久久久蜜臀| 亚洲欧美影院| 国产成人精品久久二区二区91| 亚洲欧美国产一区二区| 久久露脸国产精品| 日韩精品视频一区二区在线观看| 日韩在线中文字| 欧美日韩一区在线视频| 国产精品免费看久久久香蕉 | 国产精品激情自拍| 精品无码一区二区三区爱欲| 久久不射热爱视频精品| 成人黄动漫网站免费| 亚洲精品中文综合第一页| 国产精品69页| 欧美综合在线播放| 国产精品福利在线观看| 国产精品一区二区女厕厕| 亚洲综合日韩中文字幕v在线| 91观看网站| 日韩免费在线免费观看| 国产精品狼人色视频一区 | 久久青草福利网站| 欧美激情视频一区二区三区| 久久亚洲一区二区三区四区五区高 | 久久国产午夜精品理论片最新版本 | 国产激情一区二区三区在线观看| 欧美日韩亚洲一二三| 久久综合88中文色鬼| www国产无套内射com| 日日摸日日碰夜夜爽av| 久久久精品电影| 国产精品一码二码三码在线| 亚洲精品偷拍视频| 久久精品国产亚洲| www日韩视频| 欧美在线激情网| 最新av网址在线观看| 久久久久欧美| 国产伦精品一区| 奇米888一区二区三区| 美女av一区二区| 国产福利不卡| 国产伦精品一区二区三区视频黑人| 天天干天天色天天爽| 国产精品高清在线观看| 国产精品99久久免费黑人人妻| 欧美成人精品免费| 欧美激情视频在线观看| 色偷偷9999www| 国产精品亚洲天堂| 欧洲成人免费视频| 亚洲一区二区三区四区在线播放 | 日韩免费观看网站| 宅男av一区二区三区| 日韩在线观看免费av| 91免费看蜜桃| 国产日韩欧美综合| 色狠狠久久av五月综合|| 欧美大胆在线视频| 久久久久综合一区二区三区| 成人免费xxxxx在线观看| 欧美激情专区| 日韩免费在线看| 亚洲a∨一区二区三区| 国产精品成人免费电影| 久操网在线观看| aaa毛片在线观看| 国产视频九色蝌蚪| 黄色一级片播放| 欧美尤物巨大精品爽| 亚洲va码欧洲m码| 国产99在线|中文| 久久久久久久久久久久久国产精品| www.欧美黄色| 国产美女精品久久久| 国内久久久精品| 欧洲日韩成人av| 日本亚洲欧美成人| 亚洲欧美国产精品桃花| 精品久久久久久中文字幕动漫| 久久精视频免费在线久久完整在线看| 国产二级片在线观看| 91超碰中文字幕久久精品| 成人精品久久久| 国产精品一区二区女厕厕| 国产日韩欧美中文在线播放| 黄色高清无遮挡| 日韩精品久久一区| 欧美一级免费看| 视频在线99re| 色狠狠久久av五月综合|| 亚洲熟妇无码一区二区三区导航| 国产精品成人久久电影| 国产精品久久二区| 精品久久久av| 久久精品小视频| 久久精品视频在线| 国产精品爽爽爽| 国产精品久久久久久久乖乖| 欧美成年人视频网站| 欧美人与性动交| 中文字幕一区二区三区最新| 欧美大片欧美激情性色a∨久久 | 国产一区精品视频| 国产最新精品视频| 国产免费一区二区三区在线观看| 国产一级二级三级精品| 国产精品一区二区3区| 91成人综合网| 久久本道综合色狠狠五月| 久久久久久久久久国产| 久久精品国产视频| 国产精品无码一区二区在线| 国产精品高清网站| 亚洲专区在线视频| 日本欧美国产在线| 欧美亚洲日本在线观看| 国模吧一区二区| 超碰在线观看97| 国产成人综合精品在线| 国产成人免费av| 欧美成年人在线观看| 亚洲一区二区久久久久久久| 五月天综合网| 日本aa在线观看| 免费观看国产成人| 成人久久久久久| 91精品国产亚洲| 久久99欧美| 久久这里有精品视频| 亚洲国产一区二区精品视频 | 国产aaa一级片| 日韩av电影在线网| 欧美日韩一区在线观看视频| 国产精品一区二区三区成人| 国产v片免费观看| 国产精品久久久91| 亚洲精品第一区二区三区| 欧美一级大片在线观看| 国产美女网站在线观看| 国产精品12p| 国产精品日韩一区二区三区| 亚洲最大成人网色| 欧美性视频在线播放| 国产精品影院在线观看| 久久久久久伊人| 欧美日本在线视频中文字字幕| 午夜精品久久久内射近拍高清| 欧美丰满熟妇xxxxx| 91精品国产综合久久久久久久久 | 狠狠色综合色区| 国产精品1区2区在线观看| 国产精品久久久久久久久电影网 | 一区二区三区三区在线| 青青草原av在线播放| 俄罗斯精品一区二区三区| 久久青青草原| 久久99精品久久久久久青青91| 日本精品一区二区三区四区| 国产日产欧美a一级在线| 久久久久久久久久久久久久久久久久av | 日韩一区二区在线视频| 欧美极品第一页| 欧美日韩成人一区二区三区| 97干在线视频| 欧美成人在线免费| 欧美视频在线观看视频| 国产极品粉嫩福利姬萌白酱| 精品国产中文字幕| 欧美影视一区二区|