加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設(shè)計優(yōu)化
    有限元分析 CAE仿真分析服務(wù)-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務(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號線
  • 短信驗證碼 目錄網(wǎng) 排行網(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精品国产在热久久婷婷| aa亚洲婷婷| 久久a爱视频| 国产成人免费av一区二区午夜| 麻豆视频在线观看免费网站黄| 欧美阿v一级看视频| 亚洲黄网站黄| 99riav视频一区二区| 美女精品在线| 欧美 亚欧 日韩视频在线 | 天天做夜夜做人人爱精品| 97色婷婷成人综合在线观看| 成人午夜精品| 成人一区而且| 最新日韩欧美| 欧美一区2区| 欧美三区视频| 日韩欧美四区| 欧美一级片网址| 亚洲日本欧美| 久久国产乱子精品免费女| cao在线视频| 久色成人在线| 一本色道久久综合亚洲精品不卡| 精品五月天堂| 国产成人tv| 欧美2区3区4区| 亚洲视频分类| 国产精品成人**免费视频| 韩国精品视频在线观看| 亚洲永久av| www.色在线| 国产精品久久久久久麻豆一区软件 | 日本一不卡视频| 在线观看精品| 国产精品99一区二区三| 另类亚洲自拍| 午夜亚洲视频| 午夜影院日韩| 久热精品在线| 亚洲综合国产激情另类一区| 欧美在线亚洲| 国产精品视区| 天堂va蜜桃一区二区三区| 亚洲一区二区成人| 亚洲美女少妇无套啪啪呻吟| 激情91久久| 亚洲一区二区免费看| 欧美日韩国产欧| 欧美一级专区| 国产精品久久久久久久| 国产色综合网| 丝袜亚洲精品中文字幕一区| 久久福利一区| 蜜桃91丨九色丨蝌蚪91桃色| 噜噜爱69成人精品| 国产精品精品| 欧亚一区二区| 免费在线日韩av| 欧美激情91| 五月天亚洲一区| 婷婷综合国产| 久久国产日韩| 一区在线播放| 免费av成人在线| 天堂а√在线最新版中文在线| 日韩一区欧美| 国产日韩欧美一区二区三区在线观看| 日本在线不卡一区| 亚洲欧洲专区| 日本一区二区三区播放| 国产 日韩 欧美 综合 一区| 亚洲a在线视频| 中文亚洲字幕| 男女精品视频| 日韩系列欧美系列| 国产日韩一区二区三区在线| 亚洲日韩视频| 玖玖精品一区| 米奇777超碰欧美日韩亚洲| 一本色道精品久久一区二区三区 | 日韩精品一区二区三区免费视频| 好吊妞国产欧美日韩免费观看网站| 久久国产电影| 日本欧美在线观看| 成人黄色在线| 亚洲人成精品久久久| 欧美国产不卡| 国产视频一区三区| 欧洲成人一区| 欧美影院视频| 久久精品av| 欧美激情欧美| 日本在线不卡视频| 亚洲无线观看| 在线亚洲精品| 亚洲国产高清一区| 日韩成人免费电影| 欧美日韩国产高清| 日韩电影免费网站| 欧洲一区在线| 亚洲网站在线| 美女视频在线免费| 国产欧美91| 亚洲高清av| 日韩在线免费| 日韩大尺度在线观看| 不卡一区综合视频| 欧美国产日韩电影| 国产九一精品| 91久久高清国语自产拍| 日韩视频在线观看| 亚洲传媒在线| 亚洲欧洲一区| 久久精品免费| 麻豆精品少妇| 日韩在线短视频| 日韩**一区毛片| 久久成人精品| 一区二区三区四区在线观看国产日韩| 日韩精品欧美| 日韩理论电影大全| 成人性生交大片免费看96| 九色精品国产蝌蚪| 婷婷精品久久久久久久久久不卡| 亚洲精品aaaaa| 亚洲女人av| 你懂的视频一区二区| 亚洲性图久久| 欧美成人三级| 成人羞羞视频在线看网址| 亚洲精品国产精品国产| 久久的色偷偷| 色中色综合网| 精品久久免费| 樱花草涩涩www在线播放| 欧美在线在线| 免费一级欧美片在线观看| 国产区精品区| 成人激情电影在线| 日韩高清一级| 黑森林国产精品av| 永久免费精品视频| 性欧美freesex顶级少妇| 9999久久久久| 怡红院成人在线| 久久精品国产亚洲5555| 97精品国产综合久久久动漫日韩| 欧美韩一区二区| 亚洲国产高清一区二区三区| 99久久综合狠狠综合久久aⅴ| 国产精品久久久久久久久免费高清 | 在线亚洲欧美| 亚洲第一二三区| 色一区二区三区四区| 免费精品一区| 丁香久久综合| 狠狠干综合网| 国产免费av一区二区三区| 日韩1区在线| 国产伦精品一区二区三区在线播放| 欧美xxxx做受欧美护士| 99久久夜色精品国产亚洲狼 | 精品久久久久久久| 欧美亚洲在线| 久久成人亚洲| 成人性生交大片免费看96| 日日夜夜综合| 日韩五码在线| 日韩一区二区三区精品| 亚洲精品成a人ⅴ香蕉片| 欧美久久精品一级c片| 国产精品2区| 亚洲私拍视频| 一本一道久久a久久精品蜜桃 | 激情久久一区二区| 日韩午夜免费| 经典三级久久| 日本vs亚洲vs韩国一区三区二区| 国产精品人人爽人人做我的可爱| 久久中文字幕一区二区| 日韩成人免费av| 91久久久久| 在线精品小视频| 国内揄拍国内精品久久| 国产理论在线| 欧美+日本+国产+在线a∨观看| 国产亚洲一区二区三区不卡| 丝袜美腿一区| 亚洲一区二区成人| 福利片在线一区二区| 久久婷婷国产| 亚洲国产综合在线观看| 中文精品视频| 欧美日韩亚洲在线观看| 日韩va亚洲va欧美va久久|