- add
L.map_filter
andL.map_first
(#97)- These support some nice refactorings, like changing from this:
to this:
d = [] for c in cs: m = f(c) if not m: continue d.append(m.group(1))
d = cs.map_filter(f).map(Self.group(1))
- These support some nice refactorings, like changing from this:
- Reapply fix for #86 which was unintentionally reverted by the next commit (#91)
dict2obj
: Convert (possibly nested) dicts (or lists of dicts) toSimpleNamespace
(#90)
- add function support to
store_attr
(#85)
mp_context
keyword for initialising concurrent.futures.ProcessPoolExecutor only supported in python 3.7+ (#86)
- remove
parallel_chunked
, usechunksize
arg toparallel
instead (#81)
- move fastscript to fastcore.script (#84)
- add
run_proc
anddo_request
(#83) - added
chunksize
toparallel
, which passes toProcessPoolExecutor.map
(#82) - move metaclasses and delegates et al to new
meta
module (#80)
- Remove numpy prerequisite (#75)
- NB: fastcore's
L
and other collection features still work with numpy arrays, but they do so internally using instance methods, so numpy is no longer a prerequisite, and numpy is not loaded if not used
- NB: fastcore's
- "has default params. These will be ignored" shown when not appropriate (#74)
- Change arguments of
store_attr()
and removestore_attrs
attribute (#71)store_attr
's API has changed.self
is now the second parameter, and is optional. Previously, if no names were passed to store, names were taken from thestore_attrs
attribute; now, however, names are taken from the list of arguments to the current function.
- Initial release