# Welcome to fastcore
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
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.
## Getting started
To install fastcore run: `conda install fastcore -c fastai` (if you use
Anaconda, which we recommend) or `pip install fastcore`. For an
[editable
install](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install),
clone this repo and run: `pip install -e ".[dev]"`. fastcore is tested
to work on Ubuntu, macOS and Windows (versions tested are those shown
with the `-latest` suffix
[here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).
`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-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).
## Contributing
After you clone this repository, please run `nbdev_install_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.
To run the tests in parallel, launch `nbdev_test`.
Before submitting a PR, check that the local library and notebooks
match.
- 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 the
notebooks with `nbdev_update`.
Raw data
{
"_id": null,
"home_page": "https://github.com/AnswerDotAI/fastcore/",
"name": "fastcore",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "python",
"author": "Jeremy Howard and Sylvain Gugger",
"author_email": "infos@fast.ai",
"download_url": "https://files.pythonhosted.org/packages/af/72/304f055b104c6a9948b3e62bd1908121e5540105293972d441b54b20e3f2/fastcore-1.7.27.tar.gz",
"platform": null,
"description": "# Welcome to fastcore\n\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\nPython is a powerful, dynamic language. Rather than bake everything into\nthe language, it lets the programmer customize it to make it work for\nthem. `fastcore` uses this flexibility to add to Python features\ninspired by other languages we\u2019ve loved, like multiple dispatch from\nJulia, mixins from Ruby, and currying, binding, and more from Haskell.\nIt also adds some \u201cmissing features\u201d and clean up some rough edges in\nthe Python standard library, such as simplifying parallel processing,\nand bringing ideas from NumPy over to Python\u2019s `list` type.\n\n## Getting started\n\nTo install fastcore run: `conda install fastcore -c fastai` (if you use\nAnaconda, which we recommend) or `pip install fastcore`. For an\n[editable\ninstall](https://stackoverflow.com/questions/35064426/when-would-the-e-editable-option-be-useful-with-pip-install),\nclone this repo and run: `pip install -e \".[dev]\"`. fastcore is tested\nto work on Ubuntu, macOS and Windows (versions tested are those shown\nwith the `-latest` suffix\n[here](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)).\n\n`fastcore` contains many features, including:\n\n- `fastcore.test`: Simple testing functions\n- `fastcore.foundation`: Mixins, delegation, composition, and more\n- `fastcore.xtras`: Utility functions to help with functional-style\n programming, parallel processing, and more\n- `fastcore.dispatch`: Multiple dispatch methods\n- `fastcore.transform`: Pipelines of composed partially reversible\n transformations\n\nTo get started, we recommend you read through [the fastcore\ntour](https://fastcore.fast.ai/tour.html).\n\n## Contributing\n\nAfter you clone this repository, please run `nbdev_install_hooks` in\nyour terminal. This sets up git hooks, which clean up the notebooks to\nremove the extraneous stuff stored in the notebooks (e.g.\u00a0which cells\nyou ran) which causes unnecessary merge conflicts.\n\nTo run the tests in parallel, launch `nbdev_test`.\n\nBefore submitting a PR, check that the local library and notebooks\nmatch.\n\n- If you made a change to the notebooks in one of the exported cells,\n you can export it to the library with `nbdev_prepare`.\n- If you made a change to the library, you can export it back to the\n notebooks with `nbdev_update`.\n",
"bugtrack_url": null,
"license": "Apache Software License 2.0",
"summary": "Python supercharged for fastai development",
"version": "1.7.27",
"project_urls": {
"Homepage": "https://github.com/AnswerDotAI/fastcore/"
},
"split_keywords": [
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c4329bfc9ec3478471340b82d1bf06992a8a16bbb3bfcf62217842d638948f98",
"md5": "48d718ee8030cdb90af14cdd268bfa4b",
"sha256": "ac62143e1fd40fd501a6740b99ccdcfef58dd467d2cd33dca681dc4f500b1e63"
},
"downloads": -1,
"filename": "fastcore-1.7.27-py3-none-any.whl",
"has_sig": false,
"md5_digest": "48d718ee8030cdb90af14cdd268bfa4b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 83969,
"upload_time": "2024-12-14T04:32:36",
"upload_time_iso_8601": "2024-12-14T04:32:36.125176Z",
"url": "https://files.pythonhosted.org/packages/c4/32/9bfc9ec3478471340b82d1bf06992a8a16bbb3bfcf62217842d638948f98/fastcore-1.7.27-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "af72304f055b104c6a9948b3e62bd1908121e5540105293972d441b54b20e3f2",
"md5": "6756f77e4f5ba9c511c990ff6818f99b",
"sha256": "531c1df430094667d385cbb5ec985b5db289647f6a004ff50134bb87b67d169e"
},
"downloads": -1,
"filename": "fastcore-1.7.27.tar.gz",
"has_sig": false,
"md5_digest": "6756f77e4f5ba9c511c990ff6818f99b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 80305,
"upload_time": "2024-12-14T04:32:39",
"upload_time_iso_8601": "2024-12-14T04:32:39.198150Z",
"url": "https://files.pythonhosted.org/packages/af/72/304f055b104c6a9948b3e62bd1908121e5540105293972d441b54b20e3f2/fastcore-1.7.27.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-14 04:32:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AnswerDotAI",
"github_project": "fastcore",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "fastcore"
}