<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Trent Glimp</title>
    <description>The latest articles on DEV Community by Trent Glimp (@trentglimp).</description>
    <link>https://dev.to/trentglimp</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1125865%2F4e421075-254e-4b76-bfae-120f9715446e.jpeg</url>
      <title>DEV Community: Trent Glimp</title>
      <link>https://dev.to/trentglimp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/trentglimp"/>
    <language>en</language>
    <item>
      <title>Building a Command-Line IMDB Top 100 Movie Recommender with Python</title>
      <dc:creator>Trent Glimp</dc:creator>
      <pubDate>Wed, 16 Apr 2025 21:19:02 +0000</pubDate>
      <link>https://dev.to/trentglimp/building-a-command-line-imdb-top-100-movie-recommender-with-python-4e2b</link>
      <guid>https://dev.to/trentglimp/building-a-command-line-imdb-top-100-movie-recommender-with-python-4e2b</guid>
      <description>&lt;p&gt;Hey fellow developers! 👋&lt;/p&gt;

&lt;p&gt;I wanted to share a fun weekend project I built that combines my love for coding and movies: &lt;strong&gt;Top100Movies&lt;/strong&gt; - a Python CLI tool that helps you discover great films from IMDB's Top 100 list!&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;We've all been there - scrolling endlessly through streaming services, unable to decide what to watch. With so many options, decision paralysis is real! I wanted a simple way to filter through critically acclaimed movies based on my preferences, without the distractions of a full streaming platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;Top100Movies is a command-line application that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Scrapes the current IMDB Top 100 movies list&lt;/li&gt;
&lt;li&gt;Lets you filter these movies by multiple criteria&lt;/li&gt;
&lt;li&gt;Displays clean, formatted movie information&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;The project has three main components:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Web Scraping with BeautifulSoup&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Using Python's requests and BeautifulSoup libraries, I scrape IMDB's Top 100 list to get up-to-date information:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;scrape_top_100_movies&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="n"&gt;one_fifty_url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://www.imdb.com/search/title/?groups=top_100&amp;amp;sort=user_rating,desc&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="c1"&gt;# More scraping code...
&lt;/span&gt;    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;movies&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Movie Class for Data Management&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A simple but effective class that stores all relevant movie information and handles formatting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Movie&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;__init__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;year&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rating&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;runtime&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;maturity&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;genre_list&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rank&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;int&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt;
        &lt;span class="c1"&gt;# More attributes...
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3. Interactive User Interface&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The CLI provides filtering options including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Year or decade&lt;/li&gt;
&lt;li&gt;Maturity rating&lt;/li&gt;
&lt;li&gt;Genre&lt;/li&gt;
&lt;li&gt;Rank in Top 100&lt;/li&gt;
&lt;li&gt;Runtime&lt;/li&gt;
&lt;li&gt;IMDB rating&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;This project taught me several valuable lessons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Web scraping techniques and best practices&lt;/li&gt;
&lt;li&gt;Object-oriented design for data representation&lt;/li&gt;
&lt;li&gt;Creating intuitive command-line interfaces&lt;/li&gt;
&lt;li&gt;Managing user input validation&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It Yourself!
&lt;/h2&gt;

&lt;p&gt;You can check out the full project on &lt;a href="https://github.com/Trent-Glimp/Top100Movies" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Installation is simple:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/yourusername/Top100Movies.git
&lt;span class="nb"&gt;cd &lt;/span&gt;Top100Movies
pip &lt;span class="nb"&gt;install &lt;/span&gt;requests beautifulsoup4
python main.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Future Improvements
&lt;/h2&gt;

&lt;p&gt;Would love to hear your thoughts and suggestions in the comments! What other features would make this more useful to you?&lt;/p&gt;

&lt;p&gt;Happy coding (and movie watching)! 🍿🎬&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>My Wordle Knock-Off</title>
      <dc:creator>Trent Glimp</dc:creator>
      <pubDate>Mon, 24 Jul 2023 18:01:24 +0000</pubDate>
      <link>https://dev.to/trentglimp/my-wordle-knock-off-4ch8</link>
      <guid>https://dev.to/trentglimp/my-wordle-knock-off-4ch8</guid>
      <description>&lt;p&gt;As I'm about to start my freshman year of college in just over a month now, I decided that I want to polish up my CS skills I've learned from high school. I decided to start Codecademy's "Computer Science Career Path" which had me make a OOP terminal based game. Lucky for me, I had done this as a project my sophomore year in a CS class. The course told me to save the project to GitHub and then write a blog post for it, so why not?&lt;/p&gt;

&lt;p&gt;My game is called Octodle because it's an eight-letter word game instead of the standard 5. It updates every day just like the original so have fun coming back and playing it every day if you want to!&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Trent-Glimp" rel="noopener noreferrer"&gt;
        Trent-Glimp
      &lt;/a&gt; / &lt;a href="https://github.com/Trent-Glimp/OctodleGameProj" rel="noopener noreferrer"&gt;
        OctodleGameProj
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Terminal-based Wordle clone made to learn OOP in high school
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Octodle&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Octodle is a terminal-based word-guessing game inspired by Wordle, but with an eight-letter challenge. Test your vocabulary and deduction skills as you try to guess the daily word within six attempts.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;About the Game&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Octodle presents players with a new eight-letter word challenge every day. You have six attempts to guess the correct word, with feedback provided after each guess to help narrow down the possibilities.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Daily Word Challenge&lt;/strong&gt;: A new eight-letter word is selected each day based on the date&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Intelligent Feedback&lt;/strong&gt;: After each guess, you'll see:
&lt;ul&gt;
&lt;li&gt;Letters placed in their correct positions&lt;/li&gt;
&lt;li&gt;A list of all correct letters that appear in the target word&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Word Validation&lt;/strong&gt;: Only valid eight-letter words are accepted as guesses&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simple Terminal Interface&lt;/strong&gt;: Clean, easy-to-use command-line gameplay&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How to Play&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Run the game in your terminal&lt;/li&gt;
&lt;li&gt;Enter your eight-letter guess&lt;/li&gt;
&lt;li&gt;Receive feedback on your guess
&lt;ul&gt;
&lt;li&gt;Correctly positioned letters…&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Trent-Glimp/OctodleGameProj" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7rahkg7apxknli3khjmt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7rahkg7apxknli3khjmt.png" alt="Me playing today's game!" width="718" height="880"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
