fastcore


Namefastcore JSON
Version 1.7.19 PyPI version JSON
download
home_pagehttps://github.com/fastai/fastcore/
SummaryPython supercharged for fastai development
upload_time2024-10-18 03:02:52
maintainerNone
docs_urlNone
authorJeremy Howard and Sylvain Gugger
requires_python>=3.8
licenseApache Software License 2.0
keywords python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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/fastai/fastcore/",
    "name": "fastcore",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "python",
    "author": "Jeremy Howard and Sylvain Gugger",
    "author_email": "infos@fast.ai",
    "download_url": "https://files.pythonhosted.org/packages/a2/a0/1582ae095c746fbe8d0ca98dedc9b6917e4730baa74cb3249db7b14d40c0/fastcore-1.7.19.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.19",
    "project_urls": {
        "Homepage": "https://github.com/fastai/fastcore/"
    },
    "split_keywords": [
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "60ca10828fb40dcf097d1af84c1f2f863bae4046d5949450bf95b3260f767672",
                "md5": "3a461a0863811a83bf4d27bb257b9229",
                "sha256": "c528203caf2bcb6869f1198c7bcb0f77158e04eeb8d3bc4c7b60c21b389235a1"
            },
            "downloads": -1,
            "filename": "fastcore-1.7.19-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3a461a0863811a83bf4d27bb257b9229",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 81340,
            "upload_time": "2024-10-18T03:02:51",
            "upload_time_iso_8601": "2024-10-18T03:02:51.252370Z",
            "url": "https://files.pythonhosted.org/packages/60/ca/10828fb40dcf097d1af84c1f2f863bae4046d5949450bf95b3260f767672/fastcore-1.7.19-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a2a01582ae095c746fbe8d0ca98dedc9b6917e4730baa74cb3249db7b14d40c0",
                "md5": "4b2fd500cbf4371910351109efc2fe3e",
                "sha256": "72ac75cf3f7a591966e24aa37a4283512a097a098b4794c944ce707f71ba0f02"
            },
            "downloads": -1,
            "filename": "fastcore-1.7.19.tar.gz",
            "has_sig": false,
            "md5_digest": "4b2fd500cbf4371910351109efc2fe3e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 77876,
            "upload_time": "2024-10-18T03:02:52",
            "upload_time_iso_8601": "2024-10-18T03:02:52.947017Z",
            "url": "https://files.pythonhosted.org/packages/a2/a0/1582ae095c746fbe8d0ca98dedc9b6917e4730baa74cb3249db7b14d40c0/fastcore-1.7.19.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-18 03:02:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fastai",
    "github_project": "fastcore",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fastcore"
}
        
Elapsed time: 1.74239s