Pecrs

Latest version: v0.35

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.034

Major rewrite - Documentation is not up to date
Removed Controller.py, funtionality rolled into Space
Removed Body.py, funtionality moved to Shape
Space now contains most of the relevant data for Shapes to allow Pyglet Sprites to work seamlessly

0.033

Controller.start() renamed to Controller.start_moving()
Controller.stop() renamed to Controller.stop_moving()
Controller.on_start() renamed to Controller.on_start_moving()
Controller.on_stop() renamed to Controller.on_stop_moving()

0.032

Body have been rewritten to extend from Shape instead of having a Shape, in line with the move to make integration with Pyglet seamless.
Space movement methods no longer call Space.update_area(). Instead Controller movement methods call it in order to provide callbacks for collision area changes
StaticBody and AbsBody removed. StaticBody optimization handled by Controller.make() now. Controller.delete() modified to accomidate.
Remove method Controller.make_from()
Change method signature Controller.add() now takes id and static to make working with Pyglet sprites easier.
Remove method Controller.on_add(), doesn't need to be seperate from Controller.on_make() callback
Big documentation expansion

0.031

Remove print statements from Index
Changes to Index to makes it more flexible. Anything can be added now.
Space rewritten to work with Shapes instead of Bodies
Movement methods in the AbsBody moved to the Space
Full set of Shape Collision methods added to Space
Collider methods renamed to reflect that it works with Shapes or primiatives

0.012

Index now keeps track of entities instead of Controller.
Index.get() now retrives an entity instead of an id
Index.next() now retrives a unique id for an entity.
Update test.py to validate new Index.
Small changes to readme.
Some extra print statements removed and version requirements updates, thanks to Slavfox for pointing those out.

0.011

Project changing name from pysics to pecrs due to the name already being taken on pypi
Added better support for modules and packing
Added wheel and bdist
Some improvements to readme noting how percs is distinct from other physics engines

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.