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

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

159.352代做、代寫Python設計程序

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

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

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久综合久中文字幕青草| 99久久99| 国产一区二区视频在线观看 | 国产一区二区三区色淫影院 | 日本欧美精品久久久| 高清国语自产拍免费一区二区三区 | 久久久久久久成人| 亚洲欧美日韩综合一区| 国产免费裸体视频| 国产精品久久久久7777| 免费在线观看一区二区| 国产成人女人毛片视频在线| 日韩免费视频在线观看| 国产黄页在线观看| 色综合久久av| 久久黄色片视频| 日韩欧美一区二区三区四区 | 亚洲熟妇无码一区二区三区| 国内精品久久久| 国产精品裸体瑜伽视频| 欧美日韩亚洲综合一区二区三区激情在线 | 日韩一区二区精品视频| 日本女人高潮视频| 国产成人综合av| 日本精品久久久| 日韩中文在线不卡| 欧美激情一区二区三区在线视频| 国产成人欧美在线观看| 青青精品视频播放| 久久精品国产综合| 国内精品在线观看视频| 不卡av在线网站| 国产精品亚洲激情| 婷婷久久青草热一区二区| 久久久久久噜噜噜久久久精品| 青青草精品毛片| 国产精品久久久久77777| 国产欧美一区二区三区在线| 亚洲综合成人婷婷小说| 久久久久福利视频| 欧美激情 国产精品| 欧美wwwxxxx| 88国产精品欧美一区二区三区| 日日鲁鲁鲁夜夜爽爽狠狠视频97| 日韩在线视频导航| 国产又黄又爽免费视频| 亚洲精品一区二区三| 久久久久久久一区二区| 蜜桃av久久久亚洲精品| 亚洲综合在线中文字幕| 久久99精品国产一区二区三区| 欧美精彩一区二区三区| 欧美精品999| 国产ts人妖一区二区三区| 蜜臀av.com| 亚洲国产精品123| 国产精品视频26uuu| 国产精品一区二区三区成人| 视频一区亚洲| 国产精品久久久久久久午夜| 91免费版网站在线观看| 欧美a在线视频| 亚洲欧美国产不卡| 国产精品视频久久久久| 91精品免费久久久久久久久| 欧美亚洲视频一区| 一卡二卡3卡四卡高清精品视频| 九九久久99| 成人av一级片| 精品欧美一区二区三区久久久| 亚洲一区二区三区在线观看视频| 色妞一区二区三区| 国产乱肥老妇国产一区二| 午夜精品久久久久久久久久久久久 | 国产精品第三页| 久久综合婷婷综合| 毛葺葺老太做受视频| 少妇一晚三次一区二区三区| 久久中文精品视频| 久久福利电影| 99热国产免费| 麻豆精品蜜桃一区二区三区| 日本婷婷久久久久久久久一区二区| 久久av在线看| 久久久久久久久久福利| 国产日韩欧美在线视频观看| 秋霞在线一区二区| 亚洲精品在线观看免费| 国产精品老女人视频| 久草热视频在线观看| 成人国产精品一区二区| 激情图片qvod| 日韩精品国内| 欧美一区二区三区免费观看| 精品丰满人妻无套内射| 国产精品欧美日韩久久| 久久久久亚洲精品国产| 国产精品∨欧美精品v日韩精品| 国产日本在线播放| 精品一区二区三区自拍图片区| 日本一区二区三区四区在线观看| 一道本在线观看视频| 欧美精品一区在线播放| 国产精品美女www爽爽爽视频| 色婷婷久久av| 久久久久久久香蕉| 国产成人在线一区| 久久久久久av无码免费网站下载| 99久久免费观看| 成人国产一区二区| 99中文视频在线| 成人短视频在线观看免费| 国产小视频免费| 国产在线观看不卡| 蜜桃日韩视频| 国模私拍视频一区| 加勒比海盗1在线观看免费国语版 加勒比在线一区二区三区观看 | 国产成人福利视频| 久久久视频在线| 国产精品99导航| 国产高清免费在线| 久久噜噜噜精品国产亚洲综合| 国产激情综合五月久久| 久久精品中文字幕一区二区三区| 精品人妻一区二区三区四区在线| 免费看国产一级片| 人人妻人人澡人人爽欧美一区| 日韩a∨精品日韩在线观看| 亚洲 欧洲 日韩| 视频在线精品一区| 日本免费久久高清视频| 日韩少妇中文字幕| 欧美一级日本a级v片| 午夜欧美不卡精品aaaaa| 亚洲欧美日韩在线综合| 亚洲精品中文字幕无码蜜桃| 亚洲 欧美 综合 另类 中字| 视频一区三区| 五月天综合网| 日本高清视频一区| 欧美亚州一区二区三区| 国内自拍在线观看| 国产色视频一区| 成人免费观看a| 91高潮在线观看| 久久久久日韩精品久久久男男| 久久激情五月丁香伊人| 久久不射热爱视频精品| 日韩精品久久一区| 国产中文字幕在线免费观看| 国产极品精品在线观看| 国产精品色午夜在线观看| 亚洲国产一区二区精品视频| 国产日韩欧美在线观看| 国内外免费激情视频| 国产情侣av自拍| 国产精品99久久免费黑人人妻| 久久久久一本一区二区青青蜜月| 国产精品免费视频久久久| 久久99亚洲精品| 日本一区免费观看| 免费看a级黄色片| 99国产精品久久久久老师| 久久艹中文字幕| 欧美乱妇高清无乱码| 亚洲 日韩 国产第一区| 欧美日韩一级在线| 99视频精品免费| 色狠狠久久aa北条麻妃 | 久久久久久18| 日韩视频在线免费播放| 国产在线欧美日韩| 久久全国免费视频| 亚洲一区二区三区四区视频| 欧美在线视频一区二区| 国产精品一码二码三码在线| 久草资源站在线观看| 欧美激情精品久久久久久久变态 | 天天干天天色天天爽| 蜜桃传媒一区二区| 国产福利视频在线播放| 久久综合色88| 日本不卡一区二区三区视频| 国产青春久久久国产毛片| 91精品国产91久久久| 国产精品第七影院| 人体精品一二三区| 7777精品伊久久久大香线蕉语言| 国产成人涩涩涩视频在线观看| 国产精品入口福利| 午夜欧美不卡精品aaaaa| 欧美日韩性生活片| 91精品国产高清久久久久久91裸体 | 日日狠狠久久偷偷四色综合免费| 久久777国产线看观看精品| 热re99久久精品国99热蜜月| 91免费视频网站在线观看| 国产精品高清在线观看| 成人av蜜桃| 久久久久亚洲精品成人网小说|