Skip to content

Releases: Luke-zhang-04/CanvasPlus

Readme Problems

08 May 01:04
Compare
Choose a tag to compare
  • Fixed readme headers
  • New release just for this -_-

Templates and Organization

08 May 00:58
Compare
Choose a tag to compare
  • Reorganized classes into separate files
  • Revamp README
  • Added templates
  • Checked code with Codacy and Code Climate

Compatibility with older Python versions

30 Apr 23:32
Compare
Choose a tag to compare
  • async def can be excepted for older python versions

Passing build

30 Apr 23:00
Compare
Choose a tag to compare
  • Build is now passing with Python 3.5, 3.6, 3.7, and 3.8

Async Transformations

16 Apr 16:57
Compare
Choose a tag to compare

Asynchronous transformations

4 new methods

  • async_morph()
    • asynchronously moves points of a shape to fit another set of points
  • async_move()
    • asynchronously moves a shape by x, y
    • the equivalent of the move() method, but asynchronous
  • async_resize()
    • asynchronously resize a shape
  • async_rotate()
    • asynchronously rotate a shape
      Added asyncio library, tracking PEP 3156, for those who cannot install the dependency

Support for Python 3.0-3.4

13 Apr 16:37
Compare
Choose a tag to compare
  • Type hints aren't available in Python 3.4 and below
  • New file pythonBelow35.py is imported in the case of an import error

Transformations

13 Apr 02:02
Compare
Choose a tag to compare

Added three new transformations

  • Resize
  • Rotate
  • Flip
    Made the switch to MIT license, as GPL was too restrictive

Simple patches

13 Apr 18:16
Compare
Choose a tag to compare

Resize now resizes object instead of just returning new coordinates

Get_attributes, clone, and __iter__

01 Apr 16:37
Compare
Choose a tag to compare

Added new methods get_attributes, clone, and iter

  • get_attributes: returns attributes of tag or id
    • def get_attributes(self, tagOrId: Union[int, str]) -> Dict
  • clone: clones and object
    • def clone(self, tagOrId: Union[int, str], *args: List[int]) -> int
  • iter: returns an iterable of all canvas items
    • def iter(self) -> iter

Removal of Incompatible Widgets

01 Apr 01:03
Compare
Choose a tag to compare

Removal of incompatible widgets, such as menu, or toplevel.