Releases: ccpgames/ccptools
Releases · ccpgames/ccptools
Version 1.2.0
Version 1.2.0 - "Instance" support
Added
- The
logging
package to theccptools.structs._base
- Methods for casting between Datetime and timestamp (number of seconds since
UNIX Epoch as a float) that work even on Windows when the built in
datetime.timestamp()
anddatetime.fromtimestamp()
methods fail for
negative values and more - Methods for casting between Datetime and "instance" (number of milliseconds
since UNIX Epoch as an int)
Changed
- How
any_to_datetime
handles "ambiguous" numeric values when deciding between
"timestamp", "instance" and "filetime" - How
any_to_datetime
handles strings such that if a given string is a simple
int or float, it's cast and treated as such
Removed
- The
utc
argument fromany_to_datetime
Version 1.1.0
Version 1.1.0 - Enum Extras
[1.1.0] - 2024-04-08
Added
- a new
enum_eval
method that turns any reasonable value into an instance
of the supplied Enum class (i.e. string names or ints or whatever). - a new enum base class,
EnumEx
that extendsenum.Enum
by adding a
from_any
class method that usesenum_eval
to initialize a new instance
of whatever class extendsEnumEx
from any sensible value - the new
EnumEx
class to the baseccptools.structs
import
Version 1.0.0
Version 1.0.0 - Ready for the Wild
- Smooshed
datetimeutils
andtypeutils
into a new package calledccptools
Version 1.0.0-rc.2
Version 1.0.0-rc.2 - Ready for the Wild...?
- Let's see if this works!
- Github Actions failed :P
Version 1.0.0-rc.1
Version 1.0.0-rc.1 - Ready for the Wild...?
- Let's see if this works!