Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
Python is a powerful, dynamic language. Rather than bake everything into
the language, it lets the programmer customize it to make it work for
them. `fastcore` uses this flexibility to add to Python features
inspired by other languages we’ve loved, like multiple dispatch from
Julia, mixins from Ruby, and currying, binding, and more from Haskell.
It also adds some “missing features” and clean up some rough edges in
the Python standard library, such as simplifying parallel processing,
and bringing ideas from NumPy over to Python’s `list` type.
inspired by other languages we’ve loved, mixins from Ruby, and currying,
binding, and more from Haskell. It also adds some “missing features” and
clean up some rough edges in the Python standard library, such as
simplifying parallel processing, and bringing ideas from NumPy over to
Python’s `list` type.

## Getting started

Expand All @@ -29,9 +29,6 @@ with the `-latest` suffix
- `fastcore.foundation`: Mixins, delegation, composition, and more
- `fastcore.xtras`: Utility functions to help with functional-style
programming, parallel processing, and more
- `fastcore.dispatch`: Multiple dispatch methods
- `fastcore.transform`: Pipelines of composed partially reversible
transformations

To get started, we recommend you read through [the fastcore
tour](https://fastcore.fast.ai/tour.html).
Expand Down
2 changes: 1 addition & 1 deletion fastcore/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.7.30"
__version__ = "1.8.0"
104 changes: 2 additions & 102 deletions fastcore/_modidx.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,45 +224,7 @@
'fastcore.basics.with_cast': ('basics.html#with_cast', 'fastcore/basics.py'),
'fastcore.basics.wrap_class': ('basics.html#wrap_class', 'fastcore/basics.py'),
'fastcore.basics.zip_cycle': ('basics.html#zip_cycle', 'fastcore/basics.py')},
'fastcore.dispatch': { 'fastcore.dispatch.DispatchReg': ('dispatch.html#dispatchreg', 'fastcore/dispatch.py'),
'fastcore.dispatch.DispatchReg.__call__': ('dispatch.html#dispatchreg.__call__', 'fastcore/dispatch.py'),
'fastcore.dispatch.DispatchReg.__init__': ('dispatch.html#dispatchreg.__init__', 'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch': ('dispatch.html#typedispatch', 'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.__call__': ( 'dispatch.html#typedispatch.__call__',
'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.__get__': ('dispatch.html#typedispatch.__get__', 'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.__getitem__': ( 'dispatch.html#typedispatch.__getitem__',
'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.__init__': ( 'dispatch.html#typedispatch.__init__',
'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.__repr__': ( 'dispatch.html#typedispatch.__repr__',
'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch._attname': ( 'dispatch.html#typedispatch._attname',
'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.add': ('dispatch.html#typedispatch.add', 'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.first': ('dispatch.html#typedispatch.first', 'fastcore/dispatch.py'),
'fastcore.dispatch.TypeDispatch.returns': ('dispatch.html#typedispatch.returns', 'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict': ('dispatch.html#_typedict', 'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict.__getitem__': ( 'dispatch.html#_typedict.__getitem__',
'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict.__init__': ('dispatch.html#_typedict.__init__', 'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict.__repr__': ('dispatch.html#_typedict.__repr__', 'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict._reset': ('dispatch.html#_typedict._reset', 'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict.add': ('dispatch.html#_typedict.add', 'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict.all_matches': ( 'dispatch.html#_typedict.all_matches',
'fastcore/dispatch.py'),
'fastcore.dispatch._TypeDict.first': ('dispatch.html#_typedict.first', 'fastcore/dispatch.py'),
'fastcore.dispatch._chk_defaults': ('dispatch.html#_chk_defaults', 'fastcore/dispatch.py'),
'fastcore.dispatch._p2_anno': ('dispatch.html#_p2_anno', 'fastcore/dispatch.py'),
'fastcore.dispatch.cast': ('dispatch.html#cast', 'fastcore/dispatch.py'),
'fastcore.dispatch.default_set_meta': ('dispatch.html#default_set_meta', 'fastcore/dispatch.py'),
'fastcore.dispatch.explode_types': ('dispatch.html#explode_types', 'fastcore/dispatch.py'),
'fastcore.dispatch.lenient_issubclass': ('dispatch.html#lenient_issubclass', 'fastcore/dispatch.py'),
'fastcore.dispatch.retain_meta': ('dispatch.html#retain_meta', 'fastcore/dispatch.py'),
'fastcore.dispatch.retain_type': ('dispatch.html#retain_type', 'fastcore/dispatch.py'),
'fastcore.dispatch.retain_types': ('dispatch.html#retain_types', 'fastcore/dispatch.py'),
'fastcore.dispatch.sorted_topologically': ( 'dispatch.html#sorted_topologically',
'fastcore/dispatch.py')},
'fastcore.dispatch': {},
'fastcore.docments': { 'fastcore.docments._DocstringExtractor': ('docments.html#_docstringextractor', 'fastcore/docments.py'),
'fastcore.docments._DocstringExtractor.__init__': ( 'docments.html#_docstringextractor.__init__',
'fastcore/docments.py'),
Expand Down Expand Up @@ -528,68 +490,7 @@
'fastcore.test.test_shuffled': ('test.html#test_shuffled', 'fastcore/test.py'),
'fastcore.test.test_stdout': ('test.html#test_stdout', 'fastcore/test.py'),
'fastcore.test.test_warns': ('test.html#test_warns', 'fastcore/test.py')},
'fastcore.transform': { 'fastcore.transform.DisplayedTransform': ('transform.html#displayedtransform', 'fastcore/transform.py'),
'fastcore.transform.DisplayedTransform.name': ( 'transform.html#displayedtransform.name',
'fastcore/transform.py'),
'fastcore.transform.Func': ('transform.html#func', 'fastcore/transform.py'),
'fastcore.transform.Func.__call__': ('transform.html#func.__call__', 'fastcore/transform.py'),
'fastcore.transform.Func.__init__': ('transform.html#func.__init__', 'fastcore/transform.py'),
'fastcore.transform.Func.__repr__': ('transform.html#func.__repr__', 'fastcore/transform.py'),
'fastcore.transform.Func._get': ('transform.html#func._get', 'fastcore/transform.py'),
'fastcore.transform.InplaceTransform': ('transform.html#inplacetransform', 'fastcore/transform.py'),
'fastcore.transform.InplaceTransform._call': ( 'transform.html#inplacetransform._call',
'fastcore/transform.py'),
'fastcore.transform.ItemTransform': ('transform.html#itemtransform', 'fastcore/transform.py'),
'fastcore.transform.ItemTransform.__call__': ( 'transform.html#itemtransform.__call__',
'fastcore/transform.py'),
'fastcore.transform.ItemTransform._call1': ( 'transform.html#itemtransform._call1',
'fastcore/transform.py'),
'fastcore.transform.ItemTransform.decode': ( 'transform.html#itemtransform.decode',
'fastcore/transform.py'),
'fastcore.transform.Pipeline': ('transform.html#pipeline', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.__call__': ('transform.html#pipeline.__call__', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.__dir__': ('transform.html#pipeline.__dir__', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.__getattr__': ( 'transform.html#pipeline.__getattr__',
'fastcore/transform.py'),
'fastcore.transform.Pipeline.__getitem__': ( 'transform.html#pipeline.__getitem__',
'fastcore/transform.py'),
'fastcore.transform.Pipeline.__init__': ('transform.html#pipeline.__init__', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.__repr__': ('transform.html#pipeline.__repr__', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.__setstate__': ( 'transform.html#pipeline.__setstate__',
'fastcore/transform.py'),
'fastcore.transform.Pipeline._is_showable': ( 'transform.html#pipeline._is_showable',
'fastcore/transform.py'),
'fastcore.transform.Pipeline.add': ('transform.html#pipeline.add', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.decode': ('transform.html#pipeline.decode', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.setup': ('transform.html#pipeline.setup', 'fastcore/transform.py'),
'fastcore.transform.Pipeline.show': ('transform.html#pipeline.show', 'fastcore/transform.py'),
'fastcore.transform.Transform': ('transform.html#transform', 'fastcore/transform.py'),
'fastcore.transform.Transform.__call__': ('transform.html#transform.__call__', 'fastcore/transform.py'),
'fastcore.transform.Transform.__init__': ('transform.html#transform.__init__', 'fastcore/transform.py'),
'fastcore.transform.Transform.__repr__': ('transform.html#transform.__repr__', 'fastcore/transform.py'),
'fastcore.transform.Transform._call': ('transform.html#transform._call', 'fastcore/transform.py'),
'fastcore.transform.Transform._do_call': ('transform.html#transform._do_call', 'fastcore/transform.py'),
'fastcore.transform.Transform.decode': ('transform.html#transform.decode', 'fastcore/transform.py'),
'fastcore.transform.Transform.name': ('transform.html#transform.name', 'fastcore/transform.py'),
'fastcore.transform.Transform.setup': ('transform.html#transform.setup', 'fastcore/transform.py'),
'fastcore.transform._Sig': ('transform.html#_sig', 'fastcore/transform.py'),
'fastcore.transform._Sig.__getattr__': ('transform.html#_sig.__getattr__', 'fastcore/transform.py'),
'fastcore.transform._TfmDict': ('transform.html#_tfmdict', 'fastcore/transform.py'),
'fastcore.transform._TfmDict.__setitem__': ( 'transform.html#_tfmdict.__setitem__',
'fastcore/transform.py'),
'fastcore.transform._TfmMeta': ('transform.html#_tfmmeta', 'fastcore/transform.py'),
'fastcore.transform._TfmMeta.__call__': ('transform.html#_tfmmeta.__call__', 'fastcore/transform.py'),
'fastcore.transform._TfmMeta.__new__': ('transform.html#_tfmmeta.__new__', 'fastcore/transform.py'),
'fastcore.transform._TfmMeta.__prepare__': ( 'transform.html#_tfmmeta.__prepare__',
'fastcore/transform.py'),
'fastcore.transform._get_name': ('transform.html#_get_name', 'fastcore/transform.py'),
'fastcore.transform._is_tfm_method': ('transform.html#_is_tfm_method', 'fastcore/transform.py'),
'fastcore.transform._is_tuple': ('transform.html#_is_tuple', 'fastcore/transform.py'),
'fastcore.transform.compose_tfms': ('transform.html#compose_tfms', 'fastcore/transform.py'),
'fastcore.transform.gather_attr_names': ('transform.html#gather_attr_names', 'fastcore/transform.py'),
'fastcore.transform.gather_attrs': ('transform.html#gather_attrs', 'fastcore/transform.py'),
'fastcore.transform.get_func': ('transform.html#get_func', 'fastcore/transform.py'),
'fastcore.transform.mk_transform': ('transform.html#mk_transform', 'fastcore/transform.py')},
'fastcore.transform': {},
'fastcore.utils': {},
'fastcore.xdg': { 'fastcore.xdg._path_from_env': ('xdg.html#_path_from_env', 'fastcore/xdg.py'),
'fastcore.xdg._paths_from_env': ('xdg.html#_paths_from_env', 'fastcore/xdg.py'),
Expand Down Expand Up @@ -677,7 +578,6 @@
'fastcore.xtras._ceil': ('xtras.html#_ceil', 'fastcore/xtras.py'),
'fastcore.xtras._has_property_getter': ('xtras.html#_has_property_getter', 'fastcore/xtras.py'),
'fastcore.xtras._is_property': ('xtras.html#_is_property', 'fastcore/xtras.py'),
'fastcore.xtras._is_type_dispatch': ('xtras.html#_is_type_dispatch', 'fastcore/xtras.py'),
'fastcore.xtras._property_getter': ('xtras.html#_property_getter', 'fastcore/xtras.py'),
'fastcore.xtras._repr_dict': ('xtras.html#_repr_dict', 'fastcore/xtras.py'),
'fastcore.xtras._sparkchar': ('xtras.html#_sparkchar', 'fastcore/xtras.py'),
Expand Down
2 changes: 0 additions & 2 deletions fastcore/all.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from .imports import *
from .foundation import *
from .dispatch import *
from .utils import *
from .parallel import *
from .net import *
from .transform import *
from .test import *
from .meta import *
from .imports import *
Expand Down
Loading
Loading