Changelog#

0.5.0#

Breaking Changes#

Miscellaneous#

0.4.2#

Miscellaneous#

  • OverlayFormat changed from dataclass to pydantic model for easier serialization and validation

0.4.1#

Added#

0.4.0#

Breaking Changes#

# Before
frinkiac.get_gif_url(screencap, font_family=FontFamily.JOST)

# After
overlay_format = OverlayFormat(font_family=FontFamily.JOST)
frinkiac.get_gif_url(screencap, overlay_format=overlay_format)

Added#

0.3.8#

Added#

  • Timestamp helper class for handling timestamps

0.3.7#

Added#

Miscellaneous#

  • Add support for optional query parameters with validation

0.3.6#

Breaking Changes#

Added#

  • FrameResult model for search results

  • BaseCompuGlobalModel as 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#

0.3.4#

Fixed#

0.3.3#

Fixed#

0.3.2#

Added#

Fixed#

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 compuglobal or compuglobal.aio as done previously

  • The 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#

Miscellaneous#

  • Moved fonts to its own module

  • Added default values to Stream