8d6612697d
Add pyproject.toml and bump version to 0.2.0
...
Adds modern PEP 621 packaging metadata in pyproject.toml alongside the
existing setup.py. Bumps version to 0.2.0 to reflect the new features.
2026-03-30 00:00:39 -07:00
0cff2a4bf5
Add CLI tests using click CliRunner
...
Tests all new CLI commands: version, list (with --fresh/--rotten/--genre
filters), search, random, and quote, plus the --version flag.
2026-03-30 00:00:12 -07:00
2a917d3d6c
Add type hints to all modules
...
Annotate function signatures and module-level collections with typing
hints (Optional, List, Dict, Tuple) for better IDE support and
documentation.
2026-03-29 23:59:46 -07:00
c70450c012
Enhance CLI with list, search, random, and quote commands
...
Replaces the single-command CLI with a click group supporting:
- list: show all movies with optional --genre/--fresh/--rotten filters
- search: find movies by title substring
- random: pick a random movie (with quote if available)
- quote: get a random iconic Sandler quote
2026-03-29 23:59:16 -07:00
bbffdbda97
Add famous Adam Sandler movie quotes
...
Includes iconic quotes from Happy Gilmore, Billy Madison, The Waterboy,
Big Daddy, 50 First Dates, and Uncut Gems with helpers to retrieve a
random quote or list them all.
2026-03-29 23:58:46 -07:00
3eb6adafc4
Add Rotten Tomatoes rating system
...
Movies now carry an rt_score and a freshness property (Fresh/Rotten/
Unrated). Catalog entries updated with approximate RT scores, and a
new get_movies_by_freshness() helper filters on the threshold.
2026-03-29 23:58:24 -07:00
a9ec1b4add
Add movie catalog with 19 real Adam Sandler films
...
Includes a predefined catalog with title, year, and genre for each
movie, plus helper functions to search, filter by genre, and pick
a random movie.
2026-03-29 23:57:17 -07:00
b46eead2d2
Fix unreachable assertion in GoodAdamSandlerMovie test
...
The second constructor call inside a single assertRaises block was
never reached because the first call already raised. Split into two
separate assertRaises blocks so both cases are actually tested.
2026-03-29 23:57:00 -07:00
d348e1c227
Add __str__ and __repr__ to AdamSandlerMovie
...
Provides human-readable display ("Title (Year)") and a debug-friendly
repr showing all attributes.
2026-03-29 23:56:47 -07:00
f7c6ec91a9
Add year and genre attributes to movie classes
...
Expand AdamSandlerMovie with optional year and genre parameters
to support richer movie metadata.
2026-03-29 23:56:31 -07:00
baba1df7d9
update readme
2022-09-21 08:17:13 -07:00
b5e3da4b02
fixup
2022-09-18 08:57:13 -07:00
df9ff74c92
no scrubs
2022-09-18 08:56:50 -07:00
5b37ce645e
expand to 3.7
2022-09-18 08:55:55 -07:00
90effa5d40
add makefile and update instructions with quick start
2022-09-18 08:46:10 -07:00
265871e4c6
include pypy3.9
2022-09-18 08:40:28 -07:00
a5e3511062
add img to readme, and add shields
2022-09-18 08:40:13 -07:00
46b9fe03c7
add pyenv file back
2022-09-18 08:22:13 -07:00
8619639d4d
add pyenv local versions to .gitignore
2022-09-18 08:20:03 -07:00
26e3a3078a
update with info about environments
2022-09-17 14:41:08 -07:00
aa1765eb91
fix sdist (again)
2022-09-17 14:20:38 -07:00
a8d2411c0d
more updates and fixes for wheel tests
2022-09-17 14:17:52 -07:00
42f21e5031
fix tox pytest invocation
2022-09-17 11:05:34 -07:00
5774c196ba
include all req files in manifest
2022-09-17 11:05:20 -07:00
516edaf47a
add dev requirements
2022-09-17 11:02:07 -07:00
041d07ad14
update manifest and tox.ini
2022-09-17 10:47:19 -07:00
bd43553b3a
add manifest.in
2022-09-17 10:13:20 -07:00
0cc1ad0ee0
ignore attic
2022-09-17 10:11:10 -07:00
ad26c25fa7
add init version of adam sandler
2022-09-17 10:08:41 -07:00