Python supercharged for fastai development
Project description
Welcome to fastcore
Python supercharged for the fastai library
Installing
fastcore is on PyPI so you can just run:
pip install fastcore
For an editable install, use the following:
git clone https://github.com/fastai/fastcore
cd fastcore
pip install -e ".[dev]"
Tests
To run the tests in parallel, launch:
nbdev_test_nbs
or
make test
Contributing
After you clone this repository, please run nbdev_install_git_hooks
in your terminal. This sets up git hooks, which clean up the notebooks to remove the extraneous stuff stored in the notebooks (e.g. which cells you ran) which causes unnecessary merge conflicts.
Before submitting a PR, check that the local library and notebooks match. The script nbdev_diff_nbs
can let you know if there is a difference between the local library and the notebooks.
- If you made a change to the notebooks in one of the exported cells, you can export it to the library with
nbdev_build_lib
ormake fastcore
. - If you made a change to the library, you can export it back to the notebooks with
nbdev_update_lib
.
TODO: Write this page
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fastcore-0.1.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a5179beb5c9f9b10a150b7afac80ef151f91b3806e22087dbfe99a1a74b370 |
|
MD5 | 4c9a3d0d7135646b3647482fb187087a |
|
BLAKE2b-256 | b095def03028ab711bc1add394b82716ccd04ee8971d60fa87568a8bbf9190d0 |