Recent Releases of fastcore

fastcore - v1.8.8

New Features

  • Add vars_pub (#692)
  • Add __skipped__ and __flds__ to asdict (#692)

- Jupyter Notebook
Published by jph00 11 months ago

fastcore - v1.8.7

New Features

- Jupyter Notebook
Published by jph00 12 months ago

fastcore - v1.8.6

New Features

  • Add exc param to test_fail (#690)

- Jupyter Notebook
Published by jph00 12 months ago

fastcore - v1.8.5

New Features

- Jupyter Notebook
Published by jph00 about 1 year ago

fastcore - v1.8.4

New Features

  • Add trim_wraps and save_iter (#685)
  • Add asave_iter (#686)
  • Add CachedIter, CachedAwaitable, and reawaitable (#684)

- Jupyter Notebook
Published by jph00 about 1 year ago

fastcore - v1.8.3

New Features

  • Add trim_wraps and save_iter (#685)
  • Add CachedIter, CachedAwaitable, and reawaitable (#684)

- Jupyter Notebook
Published by jph00 about 1 year ago

fastcore - v1.8.2

New Features

  • stringify FT with to_xml (#681)
  • render FT attrs with to_xml (#680)
  • Add sort args to delegates (#667), thanks to @pydanny

Bugs Squashed

  • Ensure flexicache is LRU cached (#679), thanks to @pydanny

- Jupyter Notebook
Published by jph00 about 1 year ago

fastcore - v1.8.1

New Features

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.8.0

Breaking Changes

Bugs Squashed

  • list[object] not handled correctly in docments (#671)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.29

New Features

  • Add partition_dict (#665)
  • Add VAR_POSITIONAL and VAR_KEYWORD to docments (#664)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.28

New Features

  • Support documenting args and kwargs (#660), thanks to @Isaac-Flath
  • Update Config to support ConfigParser keyword arguments (#659), thanks to @ncoop57

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.27

New Features

  • Add L.groupby (#658)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.26

Bugs Squashed

  • splitlines mis-spelled (#656)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.25

New Features

  • Handle tuples in groupby (#654)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.24

New Features

  • Optimise case of indexing L with an int (#653)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.23

New Features

  • Add cmp and kwargs to sort_ex (#652)
  • Add groupby to L

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.22

New Features

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.21

New Features

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.20

New Features

  • Add ansi.py (from nbconvert) (#647)
  • Support latest CaptureShell version (#644)
  • Add exec_eval (#643)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.19

Bugs Squashed

  • Hyperscript attrs do not work in FT (#642)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.18

Bugs Squashed

  • Hyperscript attrs do not work in FT (#642)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.17

New Features

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.16

Bugs Squashed

  • list_func not passed recursively in dict2obj (#639)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.15

New Features

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.14

New Features

  • Add parallel_async (#637)

- Jupyter Notebook
Published by jph00 over 1 year ago

fastcore - v1.7.13

New Features

  • Add support for type casting in the typed decorator (#635), thanks to @ncoop57

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.12

New Features

  • Add BasicRepr (#634)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.11

New Features

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.10

Bugs Squashed

  • dict2obj does not handlelist_func` correctly or pass it recursively (#630)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.9

New Features

  • Add Config.find (#628)

Bugs Squashed

  • Falsey attrs result in doubled tags in to_xml (#629)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.8

New Features

  • Handle whitespace-sensitive situations in to_xml automatically (#626)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.7

New Features

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.6

New Features

Bugs Squashed

  • str2bool does not return a bool (#625)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.5

New Features

  • Add ft_cls to ft (#620)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.4

New Features

  • Add module __getattr__ to fastcore.xml (#619)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.3

Bugs Squashed

  • Curried risinstance fails when passed None (#618)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.2

New Features

  • Add AttrDictDefault and extract_docstrings (#617)
  • Add do_escape to to_xml (#617)
  • add markdown to doc output (#614)
  • move patched methods to parent class (#612), thanks to @comhar
  • add debug=True parameter to urlsend (#611), thanks to @radam9

Bugs Squashed

  • fix annotations generated by py2pyi (#613), thanks to @comhar

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.1

New Features

  • Add UNSET singleton
  • nullable dataclass overhaul (#607)
    • Update nullable_dc to use UNSET instead of None
    • Rename mk_dataclass to flexiclass
    • flexiclass uses UNSET instead of None
  • Add asdict, like the dataclasses version but works on more types
  • Add is_typeddict and is_namedtuple
  • Flatten nested tuples in ft

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.7.0

Breaking Changes

  • The FT structure has been changed so it no longer inherits from list (#606)
    • .list property added so you can still destructure it
    • __getitem__ now returns the approach child element
    • __add__ adds children

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.9

New Features

  • Handle embedded quotes in to_xml (#604)
  • Skip dict and listy valued attrs if empty in ft (#603)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.8

New Features

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.7

New Features

  • Do not update - to _ if special chars present in ft (#601)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.6

New Features

  • Add FT.get(k,default) (#600)
  • Add Safe str and return it from to_xml (#599)
  • Feat: add an indent flag for to_xml() (#594), thanks to @phact

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.5

New Features

  • Add valmap to ft (#598)
  • Allow embedding raw HTML inside FT templates using UTF-8 encoded bytes (#597), thanks to @adamritter
  • Inline flag for to_xml() (#594), thanks to @phact

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.4

New Features

  • attrmap and hyperscript support in fastcore.xml.FT (#595)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.3

New Features

  • add ver2tuple (#593)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.2

New Features

  • Allow attrs to be added to FT using __call__ (#591)
  • Experimental support for FT.__call__, h/t @cgarciae (#590)
  • FT interoperability with Django and Jinja using __html__() protocol (#589), thanks to @collinanderson

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.1

Breaking Changes

  • Rename XT to FT (#586)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.6.0

Breaking Changes

  • Rename XT to FT (#586)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.5.55

New Features

  • Add ValEnum

Bugs Squashed

  • <!doctype html> should be a void tag type (#585)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.5.54

New Features

  • flexicache async support
  • Handle exceptions in flexicache function (#582)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.5.53

New Features

  • add flexicache, along with policies time_policy and mtime_policy (#581)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.5.52

New Features

  • Add timed_cache (#580)

- Jupyter Notebook
Published by jph00 almost 2 years ago

fastcore - v1.5.51

New Features

  • Add nullable dataclass functions (#577)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.50

New Features

  • Add nullable dataclass functions (#577)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.49

New Features

  • Add nullable dataclass functions (#577)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.48

New Features

  • New expand_wildcards function (#576)
  • New replace_wildcards CLI (#576)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.47

New Features

  • Add void_ attr to XT and use for skipping closing tags in to_xml (#575)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.46

New Features

  • Unwrap NotStr passed to NotStr.__init__ (#574)
  • Provide attr get/set in XT (#572)
  • Handle non-str types in to_xml (#571)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.45

New Features

  • Improve formatting of single child nodes in to_xml (#570)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.44

Bugs Squashed

  • bool args incorrectly parsed in fastcore.xml (#569)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.43

New Features

  • Add parse_env to provide similar functionality to dotenv pypi lib (#568)
  • Add partition (#567)
  • Add return value to result attr in threaded functions (#563)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.42

New Features

  • Add HTTP functions: tobytes, http_response, and recv_once (#562)
  • Convenience props for XT (#561)
  • annotations for get_class / mk_class (#560)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.41

New Features

  • Add type2str and dataclass_src to xtras (#559)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.40

New Features

  • Save orig method in patch and patch_to (#558)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.39

New Features

  • add hl_md() (#557)
  • bool value handling for xt (#556)
  • Add py2pyi (#555)
  • Add attr support to nested_idx (#554)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.38

New Features

  • add fastcore.xml.highlight() (#553)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.37

New Features

  • Do not add closing tags for void tag types (#551)
  • Add tuple support to to_xml
  • Add start_proc()

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.36

New Features

  • Add tuple support to to_xml
  • Add start_proc()

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.35

New Features

  • Add process param to threaded (#550)
  • Check for __xt__ in to_xml

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.34

New Features

  • Add xml module for XML and HTML generation (#549)
  • Add NotStr, which behaves like a str, but is not an instance of one (#548)
  • Add NS, a SimpleNamespace subclass that also adds iter and dict support (#547)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.33

New Features

  • Add deprecated python stdlib imghdr to fastcore, and add additional jpeg header (#546)
  • Add additional numpydoc sections (#545), thanks to @dsm-72

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.32

Bugs Squashed

  • Revert "Python 3.12 Deprecation of pkg_resources" (#544)

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.30

New Features

  • allow docments to parse async function definitions
  • expose timeout in urlsend

Bugs Squashed

  • patch classmethod not supporting subclasses correctly

- Jupyter Notebook
Published by jph00 about 2 years ago

fastcore - v1.5.29

New Features

- Jupyter Notebook
Published by jph00 over 3 years ago

fastcore - v1.5.28

Bugs Squashed

  • fix: console_help excludes entrypoints from the root module (#495), thanks to @seeM
  • Improvements to test messages (#508), thanks to @ddobrinskiy

- Jupyter Notebook
Published by jph00 over 3 years ago

fastcore - v1.5.27

Bugs Squashed

  • fix: error in IPython while handling HTTP4xxClientError (#486), thanks to @seeM
  • fix: Config.get returns False instead of None for missing bool keys (#482), thanks to @seeM
  • params overriding delegates ignored in call_parse (#473)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.26

Bugs Squashed

  • Delegatee docments not appearing (#485)
  • UnicodeDecodeError occurs when reading settings.ini file containing CJK characters on Windows (#483)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.25

New Features

  • Add more information upon HTTP request failures (#479)

Bugs Squashed

  • fix: Config.get returns False instead of None for missing bool keys (#482), thanks to @seeM
  • but in delegates ignored in docments (#478)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.23

New Features

  • Optional types for Config (#472)
  • Add ret_false()

Bugs Squashed

  • docments using nested delegates comments incorrectly (#475)
  • true() defined twice; replace 2nd with ret_true() (#471)
  • 'method-wrapper' object has no attribute 'annotations' (#470)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.22

New Features

  • Recursively search for docments (#468)
  • delegates() now works with annotations too (#467)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.18

New Features

  • exclude passed to {func} from docments by passing verbose=False to delegates (#464), thanks to @seeM
  • enable meta.delegates to enforce KEYWORD_ONLY for kwargs from (#459), thanks to @EmbraceLife

Bugs Squashed

  • fix fastcore.style format resets and auto-complete (#462), thanks to @seeM

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.17

New Features

  • Add fastcore.style: fast styling for friendly CLIs (#460), thanks to @seeM
  • add skip_folder to xtras.walk (#458)

Bugs Squashed

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.15

New Features

  • layered Config with extra_files; Config repr (#456), thanks to @seeM
  • in-memory Config by passing save=False (#455), thanks to @seeM
  • use == for non iterable args to all_equal (#453)
  • New method: AttrDict.copy, to return AttrDict instead of plain python dict (#451), thanks to @Salehbigdeli
  • add xdg module (#450)
  • add console_help (#448)
  • add module info to basic_repr (#447)
  • add only and nested_setdefault collection functions (#446), thanks to @seeM
  • include annotations and qualname in copy_func (#425), thanks to @seeM

Bugs Squashed

  • Fix scripts not executing (#449), thanks to @renato145
  • urllib opener can conflict with fork parallel on macos (#444)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.11

New Features

  • move str2bool to fastcore.basics (#441)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.9

New Features

  • start mode option for parallel (#440)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.8

New Features

  • port to nbdev2 (#438)
  • add signature_ex

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.7

New Features

  • always set __wrapped__ in call_parse (#435)

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.6

Bugs Squashed

  • Fix missing import

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.5

New Features

  • use ujson if available (#432)
  • new func param for globtastic (#429)
  • add nested parser support to fastcore.script (#428), thanks to @seeM

- Jupyter Notebook
Published by jph00 almost 4 years ago

fastcore - v1.5.0

Breaking Changes

  • Importing fastcore.utils now longer imports fastcore.net

New Features

  • Move imports into functions to make import faster (#426)
  • use py310 style union annotations (#421), thanks to @seeM

Bugs Squashed

  • repr patching broken by pep 563 (#270)

- Jupyter Notebook
Published by jph00 about 4 years ago

fastcore - v1.4.5

New Features

Bugs Squashed

  • test_sig returns NameError: name test_eq is not defined (#372), thanks to @ababino

- Jupyter Notebook
Published by jph00 about 4 years ago

fastcore - v1.4.4

New Features

  • backport shutil pathlib compat (#416)
  • handle plain files in untar_dir (#412)

- Jupyter Notebook
Published by jph00 about 4 years ago

fastcore - v1.4.3

New Features

Bugs Squashed

  • Bugfix handle edge case when we have string in list and want to flatten (#410), thanks to @Salehbigdeli

- Jupyter Notebook
Published by jph00 about 4 years ago

fastcore - v1.4.2

New Features

  • numpy-style docstring support for docments (#405)

- Jupyter Notebook
Published by jph00 about 4 years ago

fastcore - v1.4.1

New Features

  • py310 annotation support (#402)
  • add set_nested_idx (#401)

- Jupyter Notebook
Published by jph00 over 4 years ago

fastcore - v1.4.0

New Features

  • Support union types with | in typedispatch and @patch (#397)
  • Support py3.10 annotations (#396)

Bugs Squashed

  • fix missing import for get_source_link (#392), thanks to @hamelsmu

- Jupyter Notebook
Published by jph00 over 4 years ago

fastcore - v1.3.29

Bugs Squashed

- Jupyter Notebook
Published by jph00 over 4 years ago

fastcore - v1.3.28

New Features

- Jupyter Notebook
Published by jph00 over 4 years ago

fastcore - v1.3.27

New Features

  • add loop functions, thanks to @willmcgugan (#363)
  • add walk function (#355)
  • add globtastic and compile_re (#354)
  • add exec_new (#350)
  • add PythonKernel (#348)
  • add flatten

Bugs Squashed

  • avoid expansion of % format strings in fastcore.script (#349)

- Jupyter Notebook
Published by jph00 over 4 years ago