Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python supercharged for the fastai library

License

NotificationsYou must be signed in to change notification settings

HarikrishnanBalagopal/fastcore

 
 

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.

Getting started

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 functions
  • fastcore.foundation: Mixins, delegation, composition, and more
  • fastcore.xtras: Utility functions to help with functional-styleprogramming, parallel processing, and more
  • fastcore.dispatch: Multiple dispatch methods
  • fastcore.transform: Pipelines of composed partially reversibletransformations

To get started, we recommend you read throughthe fastcoretour.

Contributing

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 withnbdev_prepare.
  • If you made a change to the library, you can export it back to thenotebooks withnbdev_update.

About

Python supercharged for the fastai library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook78.9%
  • Python21.1%

[8]ページ先頭

©2009-2025 Movatter.jp