加勒比久久综合,国产精品伦一区二区,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

    91在线一区| 色在线免费观看| 亚洲影院天堂中文av色| 亚洲成a人片| 欧美特黄一区| 综合亚洲自拍| 成人在线黄色| 三级欧美韩日大片在线看| 国产精品调教视频| 国产精品国产三级在线观看| 亚洲播播91| 亚洲综合不卡| 天天躁日日躁狠狠躁欧美| 国产精品亚洲人成在99www| 岛国精品在线| 久热精品在线| 精品一区三区| 成人av地址| 国产精品亚洲人成在99www| 久久国产生活片100| a天堂资源在线| 亚洲电影在线一区二区三区| 一区二区免费| 亚洲国产最新| 欧美日韩亚洲三区| 国产麻豆一区| 欧美日韩视频网站| 老鸭窝亚洲一区二区三区| 激情视频一区二区三区| 国产劲爆久久| 视频二区欧美| 日韩精品丝袜美腿| 国产高清亚洲| 欧美亚洲三级| 男人亚洲天堂| 国产69精品久久久久按摩| 97精品97| 午夜在线一区| 亚洲免费一区二区| 日韩亚洲在线| 狠狠噜噜久久| 午夜精品婷婷| 尤物tv在线精品| 99久久综合| 欧美日韩中文字幕一区二区三区| 91精品日本| 亚洲性视频在线| 日韩一二三区| 久久的色偷偷| 日韩电影在线看| 久久综合亚洲| 日韩伦理一区二区三区| 日韩 欧美一区二区三区| 国产成人精品一区二区免费看京| 亚洲一区色图| 国产精品久久免费视频| 欧美三级不卡| 亚洲久久一区二区| 欧美国产三级| 精品一区二区三区中文字幕| 国产一区二区三区四区大秀| 国产探花在线精品一区二区| 久久av综合| 天堂精品在线视频| 9l亚洲国产成人精品一区二三| 免费观看亚洲天堂| 国内精品麻豆美女在线播放视频| 国产极品模特精品一二| 成人羞羞视频在线看网址| 中文字幕中文字幕精品| 亚洲天堂男人| 日韩一区二区久久| 日本久久综合| 精品欧美一区二区三区在线观看| 欧美日韩视频免费看| 日韩和欧美一区二区三区| 中文字幕av亚洲精品一部二部| 亚洲区小说区图片区qvod| 日韩一二三区| 欧美一区二区麻豆红桃视频| 一本色道久久综合亚洲精品高清| 日韩影院免费视频| 日韩一区三区| 欧美96一区二区免费视频| 欧美日本三级| 久久激情av| 国产午夜久久| 日韩精品三区| 欧美激情四色| 欧美视频二区| 日韩香蕉视频| 中文字幕不卡三区视频| 欧美在线首页| 最新亚洲精品| 欧美日韩精品在线一区| 久久高清国产| 日韩免费大片| 日韩高清成人在线| 精品日产免费二区日产免费二区| 亚洲在线成人| 亚洲国产aⅴ精品一区二区三区| 欧美日韩亚洲国产精品| 91欧美日韩在线| 夜夜嗨网站十八久久| 涩涩av在线| 国产成人免费av一区二区午夜| 精品视频亚洲| 欧美中文字幕| 日一区二区三区| 99精品在免费线中文字幕网站一区 | 久久精品国产亚洲一区二区三区| av在线成人| 999久久久精品国产| 成人在线丰满少妇av| 另类欧美日韩国产在线| 亚洲综合色婷婷在线观看 | 男女性色大片免费观看一区二区 | 一区免费视频| 国产91欧美| 精品国产不卡一区二区| 亚洲欧美日韩综合国产aⅴ| 久久精品国产色蜜蜜麻豆| 麻豆久久一区| 日韩中文欧美在线| 日本成人在线视频网站| 清纯唯美亚洲经典中文字幕 | 日韩专区视频| av日韩在线播放| 日韩中文字幕麻豆| 亚洲欧美在线专区| 欧美~级网站不卡| 国产成人精品一区二区三区视频| 日韩va欧美va亚洲va久久| 亚洲免费观看| 在线国产日韩| 希岛爱理一区二区三区| 日本免费一区二区三区等视频| 综合视频一区| 欧美黄色大片在线观看| 国产精品一区高清| 国产精品日韩| 欧美国产中文高清| 亚洲一区激情| 国产一区二区三区免费在线| 最新亚洲一区| www 久久久| 亚洲综合电影一区二区三区| 97色婷婷成人综合在线观看| 亚洲作爱视频| 9999在线精品视频| 羞羞答答国产精品www一本| 综合久久一区| 日韩视频一区| 欧美久久亚洲| 蜜桃视频一区二区| 精品久久久久久久久久岛国gif| 欧美r级电影| 一区二区三区视频播放| 亚洲一二三四| 国产成人在线中文字幕| 成人在线高清| 亚洲一级影院| 国产精品分类| 午夜在线一区| 视频在线一区| 国产精品xxx| 亚洲高清影视| 国产精品欧美一区二区三区不卡| 奶水喷射视频一区| 51亚洲精品| 国产成人免费| 黄色亚洲在线| 久久亚洲精精品中文字幕| 日韩高清中文字幕一区二区| 国产91一区| aa亚洲一区一区三区| 黑森林国产精品av| 久久成人福利| 亚洲深深色噜噜狠狠爱网站| 蜜臀av性久久久久av蜜臀妖精 | 7m精品国产导航在线| 日本国产一区| 伊人久久亚洲美女图片| 日本中文字幕一区二区有限公司| 日韩a**中文字幕| 91久久久精品国产| 亚洲婷婷影院| 成人在线视频免费看| 欧美网站在线| 91成人福利| 日本不卡的三区四区五区| 免费高清不卡av| 欧美一区二区三区高清视频| 国产精品一区三区在线观看| 国产v综合v| 午夜亚洲福利在线老司机| 国产成人aa在线观看网站站| 国语对白精品一区二区| www.精品| 国产精品人人爽人人做我的可爱|