Py3traits

Latest version: v1.2.1

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

Scan your dependencies

Page 3 of 3

0.7.0

----------------------------------------
- Introduced new extendable decorator, which adds function to add traits to object
- Introduced new function combine_class to create new classes out of traits
- Fixed module imports through out the library
- Improved documentation in examples

0.6.0

--------------------------------
- Added support for py.test
- Preparing to support tox
- Improved multiple examples and renamed them to make more sense
- Removed the need of having two separate code branches for different Python versions

0.5.0 Instances can now be extended with traits in Python 3.x
-------------------------------------------------------------
- Instance support now similar to classes
- Added more examples

0.4.0 Completed function binding with examples in Python 2.x
------------------------------------------------------------
- Separate functions can now be bound to classes
- Functions with 'self' as a first parameter will be acting as a method
- Functions with 'cls' as a first parameter will be acting as classmethod
- Other functions will be static methods.
- Fixed an issue with binding functions

0.3.0 Trait extension support without conflicts for Python 2.x
--------------------------------------------------------------
- Classes can be extended
- Instances can be extended
- Python 2.x supported

0.2.0

----------------------------
- Added apache 2.0 license to all files
- Set the character set as utf-8 for all files

0.1.0

---------------------
- prepared files for Python 2.x
- prepared files for Python 3.x

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.