Releases: valdergallo/pyconst
Releases · valdergallo/pyconst
2.0.0
09 May 15:36
Compare
Sorry, something went wrong.
No results found
stop to use mindset to works only on Django
start to use (attr, value) like all other enumerators
stop to force attr to lower or upper
create method to_enum() to return one Python Enum
all tests in python 3.7
1.0.7
19 Feb 13:51
Compare
Sorry, something went wrong.
No results found
bugfix copy.deepcopy raise error (new () takes exactly 3 arguments (2 given))
1.0.6
06 Nov 12:19
Compare
Sorry, something went wrong.
No results found
1.0.5
05 Nov 15:09
Compare
Sorry, something went wrong.
No results found
>>> from pyconst import Const
>>> const = Const(('My Label Name', 'my_attribute_name', 'my_attribute_value'))
1.0.4
31 Oct 17:33
Compare
Sorry, something went wrong.
No results found
control the values that you wanna put in (label, attribute and value)
>>> c = Cont()
>>> c.add(label='First Item',attr="my_attr", value=1)
>>> c.my_attr
'1'
1.0.2
31 Oct 09:48
Compare
Sorry, something went wrong.
No results found
add support to use number as attribute
Ex.:
>>> c = Cont()
>>> c.add('First Item', 1)
>>> c._1
'1'
1.0.0
29 Oct 20:30
Compare
Sorry, something went wrong.
No results found