Changelog
0.3.8
Added
Timestamp helper class for handling timestamps
0.3.7
Added
Optional season filters, season_minimum, and season_maximum for the following methods:
Miscellaneous
Add support for optional query parameters with validation
0.3.6
Breaking Changes
All instances of
AsyncCompuGlobalAPInow always requireaiohttp.ClientSessionSearch methods
AsyncCompuGlobalAPI.search()andAsyncCompuGlobalAPI.search_for_screencap()now return lists containingFrameResultinstead ofFrameRename
NoSearchResultsFoundtoNoSearchResultsFoundError
Added
FrameResultmodel for search resultsBaseCompuGlobalModelas parent for all models with desired serialization/validation behaviour
Fixed
Custom subtitles not being applied for comic panels
Font color length validation
Subtitle duration calculation
Extra slash (/) in gif url
Miscellaneous
Add unit tests for all models and API calls
Add integration tests with real APIs
Apply ruff rules to entire project
0.3.5
Added
Subtitle.get_duration()for getting Subtitle duration
Fixed
Incorrect path param using in
AsyncCompuGlobalAPI.get_frames()Custom subtitles not being used in comics/gifs
0.3.4
Fixed
Incorrect frames used in
ComicStripMissing field alias in
EpisodeSummary
0.3.3
Fixed
Missing panels in
ComicStrip
0.3.2
Added
Methods for missing API endpoints:
Methods for getting caption as a string:
StreamOverlay.get_caption()
Methods for building models from a
Screencapdirectly:
Fixed
Missing panels in
ComicStrip
0.3.1
Breaking Changes
Made all models immutable
Added
All models to compuglobal import scope
0.3.0
Breaking Changes
These changes are to accommodate the extensive update to the APIs with new features:
All synchronous implementations of the package have been removed
The async endpoints persist and are now accessible via
compuglobalorcompuglobal.aioas done previouslyThe Master Of All Science API appears to be unavailable at this point in time and redirects to Frinkiac, I have added a deprecation warning to this API and it will remain unless the API returns
The package now requires Python 3.13+
Image, comic, and gif generation are all now performed using the API rather than from a Screencap:
# This is now async
simpsons = compuglobal.Frinkiac()
# Previous usage
await screencap.get_gif_url()
# New usage
await simpsons.get_gif_url(screencap)
Added
Endpoints for comic panels/strips:
- Models for comics:
Default font for APIs to use in text Overlays
Miscellaneous
Moved fonts to its own module
Added default values to
Stream