- Notifications
You must be signed in to change notification settings - Fork0
Python supercharged for the fastai library
License
HarikrishnanBalagopal/fastcore
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Python is a powerful, dynamic language. Rather than bake everything intothe language, it lets the programmer customize it to make it work forthem.fastcore uses this flexibility to add to Python featuresinspired by other languages we’ve loved, like multiple dispatch fromJulia, mixins from Ruby, and currying, binding, and more from Haskell.It also adds some “missing features” and clean up some rough edges inthe Python standard library, such as simplifying parallel processing,and bringing ideas from NumPy over to Python’slist type.
To install fastcore run:conda install fastcore -c fastai (if you useAnaconda, which we recommend) orpip install fastcore. For aneditableinstall,clone this repo and run:pip install -e ".[dev]". fastcore is testedto work on Ubuntu, macOS and Windows (versions tested are those showwith the-latest suffixhere.
fastcore contains many features, including:
fastcore.test: Simple testing functionsfastcore.foundation: Mixins, delegation, composition, and morefastcore.xtras: Utility functions to help with functional-styleprogramming, parallel processing, and morefastcore.dispatch: Multiple dispatch methodsfastcore.transform: Pipelines of composed partially reversibletransformations
To get started, we recommend you read throughthe fastcoretour.
After you clone this repository, please runnbdev_install_hooks inyour terminal. This sets up git hooks, which clean up the notebooks toremove the extraneous stuff stored in the notebooks (e.g. which cellsyou ran) which causes unnecessary merge conflicts.
To run the tests in parallel, launchnbdev_test.
Before submitting a PR, check that the local library and notebooksmatch.
- If you made a change to the notebooks in one of the exported cells,you can export it to the library with
nbdev_prepare. - If you made a change to the library, you can export it back to thenotebooks with
nbdev_update.
About
Python supercharged for the fastai library
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- Jupyter Notebook78.9%
- Python21.1%