100% found this document useful (1 vote)
828 views10 pages

Python Website Blocker Project

Uploaded by

iitiansrd2025
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
828 views10 pages

Python Website Blocker Project

Uploaded by

iitiansrd2025
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
  • Title Page
  • Abstract
  • Certificate of Recommendation
  • Certificate of Approval
  • Acknowledgement
  • Feasibility Study
  • System Requirement Specification
  • Flow Chart
  • Algorithm

WEBSITE BLOCKER

This report is submitted in partial fulfilment for the project-work of Computer Science

Submitted By:

SIBA RANJAN DASH


DITESH PRASAD SAHOO
SOUMYA RANJAN BEHERA

Class: XI-A

Under the Guidance of

Dr. CHANDRALEKHA

PGT (COMPUTER SCIENCE)

KENDRIYA VIDYALAYA NO 1, CDA,CUTTACK


ODISHA, INDIA
2023-2024
ABSTRACT:
The "Website Blocker" is a Python project designed to enhance
productivity and focus by preventing access to distracting or time-
wasting websites. In today's digital world, the abundance of online
content can be a significant obstacle to maintaining productivity and
concentrating on essential tasks. This project aims to address this issue
by providing a simple yet effective solution to block access to specific
websites during designated periods.
The website blocker utilizes Python and operates by modifying the
system's host file to redirect unwanted website URLs to a non-functional
IP address. Users can customize the list of websites they wish to block
and set specific time intervals when the blocking mechanism should be
active. By doing so, the tool enables users to establish productive work
routines, limit distractions, and cultivate a more focused and efficient
workflow.
Key features of the "Website Blocker" project include:
User-defined website list: Users can create and modify a list of websites
they want to block, ensuring personalized control over the blocked
content.
Customizable blocking schedule: Users can set specific time periods for
website blocking, such as during work hours or study sessions,
promoting a balanced approach to online usage.
Cross-platform functionality: The project is designed to work on
multiple operating systems, making it accessible to a broader user base.
Minimalist interface: The project offers a straightforward and user-
friendly interface, making it easy to configure and operate without any
technical expertise.

By implementing the "Website Blocker" project, users can foster a more


productive and focused online environment, reducing distractions and
promoting better time management. Whether used for work, study, or
personal projects, this project can serve as a valuable tool to enhance
productivity and achieve goals effectively in an increasingly digital and
interconnected world.
KENDRIYA VIDYALAYA NO 1 CUTTACK

----------------------------------------------------------------------------------------------------------------

CERTIFICATE OF RECOMMENDATION
This is to certify that the project entitled “WEBSITE BLOCKER”
submitted by SIBA RANJAN DASH to Kendriya Vidyalaya No 1
Cuttack, Odisha, in partial fulfilment of requirements for the
project-work of CLASS-XI-A CS in Kendriya Vidyalaya No 1
Cuttack is a bonafide record of work carried out by him under
our supervision and guidance during the academic year 2023-
2024.

Date: 22/01/2024

Principal
Kendriya Vidyalaya No. 1
Cuttack
CDA, Odisha, India
KENDRIYA VIDYALAYA NO 1 CUTTACK

CERTIFICATE OF APPROVAL

This is to certify that we have examined the project entitled


“WEBSITE BLOCKER” submitted by SIBA RANJAN DASH and
hereby accord our approval of it as a study carried out and
presented in a manner required for its acceptance in partial
fulfilment of requirements for the project-work of CLASS-XI-A
CS in Kendriya Vidyalaya No 1 Cuttack for which it has been
submitted. It is to be understood that by this approval that the
undersigned do not necessarily endorse or approve any
statement made, opinion expressed or conclusion drawn
therein but approve the project only for the purpose for which
it is submitted.

Internal Examiner External Examiner


Name: Name:
Designation: Designation:

Signature: Signature:
ACKNOWLEDGEMENT

I have taken efforts in this project. However, it would not


have been possible without kind support and help of many
individuals and organisation. I would like to extend my
sincere thanks to all of them.

I am extremely indebted to Dr. Chandralekha, TGT,


department of computer science, and engineering, KVS,
for their valuable suggestion constant support throughout
our entire project. And thanks to my principal sir, who
gave the opportunity to do this project.

I also express gratitude towards my parents for their kind


co-operation and encouragement which helped me in
completing this project. My thanks and appreciation also
go to my friends in developing the project who have
helped me out with their abilities.

Siba Ranjan Dash

KENDRIYA VIDYALAYA NO.1 CTC


FEASIBILITY STUDY
Considering the requirements, a full-scale feasibility study was
undertaken for testing the possibility of computerization. The
feasibility study carried out under the following three areas

TECHNICAL OPERATIONAL RESEARCH


FEASIBILITY FEASIBILTY FEASIBILITY

Technical Feasibility
We are using Personal computers, laptops and as per Graphical
user interface i.e. Microsoft Windows. The system has standard
software like Sublime text editor (version-4), and notepad (865
bytes) for host path.
For sublime txt, 2 modules-datetime and time, and python
functions
Operational Feasibility
The project manager analyzes and make an improvement on
code according to the user need, and we can make the payment
according how the user make demand.
The project manager prior judgement was whether the installed
tool will be cost effective or not.
And it has to analyze whether the tool can physically move
within the site and can be used by anyone.

Research Feasibility
By conducting this project, we can block the websites that we
need. After able to that, we focus on how we can make the
websites blocked with in a time range, period and that’s the
main focus in this research or project
SYSTEM REQUIREMENT
SPECIFICATION

In all about only one data file needs to create for various
operations covered under study to get the required outputs
and perform desire function.

Hardware Requirements
We would require laptop or desktop with pen drive, or
floppy disk if we want to move the data file physically.
Software Requirements
The software required for the system would be;
 Operating system: Microsoft Windows version 7,8,10
a or 11
 Text Editor: Sublime Text version 4
 Compilers: Python
 Module: datetime and time
 Host Path: Using Note pad
FLOW CHART
ALGORITHM
[Link] necessary modules (time, datetime, os).
[Link] the list of websites to block and
paths/constants for host files.
[Link] the operating system and set the default
host file path accordingly.
[Link] a function block_websites that
continuously runs.
[Link] the function:
 Check if the current time is within the

specified time range.


 If yes, open the host file and add blocked

websites.
 If no, open the host file and remove blocked

websites.
 Sleep for 3 seconds.

6. In the main block, call block_websites with the


specified time range (9 AM to 9 PM).

Common questions

Powered by AI

Developing a project like the "Website Blocker" offers numerous educational benefits for students. It allows them to apply theoretical knowledge of programming into practical solutions, enhancing technical skills in languages like Python. Moreover, the project can teach important lessons in time management, self-regulation, and the impact of digital distractions on productivity. Such projects can improve problem-solving abilities and foster innovation by providing students a platform to create tangible tools that address real-world issues, like digital distraction .

The research focus of the "Website Blocker" project lies in effectively blocking selected websites within specified time ranges. This involves significant attention to ensuring that the blocking mechanism works as intended and provides the desired impact on user productivity. For similar tools, this research component suggests the importance of not just blocking functionalities but also integrating user-friendly scheduling that aligns with human productivity patterns, thus offering a robust approach to digital distraction management .

The feasibility study focuses on technical, operational, and research challenges. Technically, it ensures the project can operate cross-platform with necessary software like Python, Sublime Text, and Notepad. Operational challenges involve ensuring the tool is user-friendly, cost-effective, and meets user demands for website blocking during set times. Research feasibility involves ensuring that blocking occurs effectively within chosen time ranges, the central focus of the project research .

Beyond its primary functionality of blocking distracting websites, the "Website Blocker" allows users to personalize which websites to block and during what periods, fostering a balanced online usage. This customizability promotes enhanced time management, reduced distractions, and productive routines. The user-friendly interface makes it accessible without requiring technical expertise, thereby broadening its usability across various users aiming for better operational efficiency .

The "Website Blocker" maintains cross-platform functionality by using system-independent programming languages like Python and standard operating systems such as Windows 7, 8, 10, and 11. The project adjusts the default host file path based on the operating system detected. This cross-platform ability is crucial as it allows the tool to be used by a broader audience across different devices and operating systems, increasing its accessibility and usefulness .

The "Website Blocker" project illustrates the profound influence of technology on productivity by demonstrating the dual role technology plays as both a tool for enhancement and a source of distraction. By implementing a system that specifically targets and blocks distracting online elements, the project highlights how technological solutions can be harnessed to mitigate their adverse effects. This analysis suggests that while technology continues to integrate into life and work environments, strategically employed tech solutions can counteract productivity challenges, thus fostering environments where technology acts as a facilitator rather than a deterrent to productivity .

The "Website Blocker" project operates by modifying the system's host file to redirect unwanted website URLs to a non-functional IP address. It involves importing necessary modules like time, datetime, and os. A function, block_websites, is defined to run continuously, checking if the current time is within a specified range. If it is, the host file is opened and blocked websites are added. If not, the blocked websites are removed. This process is supported by the use of standard software like Sublime Text and Notepad for editing and maintaining the host path .

The "Website Blocker" employs several strategies to ensure user engagement and ease of use. It offers a minimalist and straightforward interface, reducing the need for technical knowledge to configure and operate. Users can define their own list of websites to block, making the project customizable to individual needs. Additionally, the ability to set specific blocking schedules further personalizes the user experience, catering to varied work routines and user preferences .

The "Website Blocker" facilitates improved time management and productivity by allowing users to block distracting websites during specific periods, such as work hours or study sessions. This helps reduce online distractions, allowing users to focus on essential tasks without interruption. By customizing the list of blocked websites and the timing of these blocks, users can better manage their time, establish productive routines, and enhance focus, ultimately leading to more efficient task completion .

Stakeholder support is crucial in the "Website Blocker" project, as evidenced by the acknowledgments of guidance from teachers, support from school administration, and collaboration with peers. These acknowledgments highlight that successful projects often depend not only on individual effort but also on the collective efforts and support of advisors and stakeholders who provide resources, feedback, and moral support. Such collaborations can significantly enhance the development and implementation of a project, ensuring it meets educational goals effectively .

WEBSITE BLOCKER
This report is submitted in partial fulfilment for the project-work of Computer Science
Submitted By
 
 :  
S
ABSTRACT:
The  "Website  Blocker"  is  a  Python  project  designed  to  enhance
productivity and focus by preventing access
----------------------------------------------------------------------------------------------------------------
CERTIFICATE
CERTIFICATE OF APPROVAL
This is to certify that we have examined the project entitled 
“WEBSITE BLOCKER” submitted by SIBA RA
ACKNOWLEDGEMENT
I have taken efforts in this project. However, it would not
have been possible without kind support and help
FEASIBILITY STUDY
Considering the requirements, a full-scale feasibility study was 
undertaken for testing the possibility of
SYSTEM REQUIREMENT
SPECIFICATION
In all about only one data file needs to create for various 
operations covered under study
FLOW CHART
ALGORITHM
1.Import necessary modules (time, datetime, os).
2.Define the list of websites to block and 
paths/constants for ho

You might also like