fastcore

Python supercharged for the fastai library

https://github.com/AnswerDotAI/fastcore

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.1%) to scientific vocabulary

Keywords

data-structures developer-tools dispatch documentation-generator fastai functional-programming languages parallel-processing python
Last synced: 6 months ago · JSON representation

Repository

Python supercharged for the fastai library

Basic Info
  • Host: GitHub
  • Owner: AnswerDotAI
  • License: apache-2.0
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage: http://fastcore.fast.ai
  • Size: 7.45 MB
Statistics
  • Stars: 1,055
  • Watchers: 21
  • Forks: 288
  • Open Issues: 34
  • Releases: 148
Topics
data-structures developer-tools dispatch documentation-generator fastai functional-programming languages parallel-processing python
Created about 6 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.md

Welcome to fastcore

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, 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, 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).

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

To get started, we recommend you read through the fastcore tour.

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.

Owner

  • Name: Answer.AI
  • Login: AnswerDotAI
  • Kind: organization

GitHub Events

Total
  • Create event: 25
  • Release event: 18
  • Issues event: 44
  • Watch event: 67
  • Issue comment event: 32
  • Push event: 147
  • Pull request review event: 8
  • Pull request review comment event: 4
  • Pull request event: 36
  • Fork event: 18
Last Year
  • Create event: 25
  • Release event: 18
  • Issues event: 44
  • Watch event: 67
  • Issue comment event: 32
  • Push event: 147
  • Pull request review event: 8
  • Pull request review comment event: 4
  • Pull request event: 36
  • Fork event: 18

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 58
  • Total pull requests: 48
  • Average time to close issues: 2 days
  • Average time to close pull requests: about 1 month
  • Total issue authors: 11
  • Total pull request authors: 21
  • Average comments per issue: 0.14
  • Average comments per pull request: 2.71
  • Merged pull requests: 37
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 41
  • Pull requests: 37
  • Average time to close issues: 1 day
  • Average time to close pull requests: 8 days
  • Issue authors: 9
  • Pull request authors: 14
  • Average comments per issue: 0.07
  • Average comments per pull request: 1.92
  • Merged pull requests: 30
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jph00 (22)
  • synapticarbors (1)
  • gsganden (1)
  • ElaineYao (1)
  • pydanny (1)
  • zachlewis (1)
  • chhenning (1)
  • sky1ove (1)
Pull Request Authors
  • hamelsmu (7)
  • pydanny (6)
  • Isaac-Flath (5)
  • ncoop57 (5)
  • hugovk (4)
  • galopyz (3)
  • alibayalili (2)
  • CarloLepelaars (2)
  • johnowhitaker (2)
  • pratapvardhan (2)
  • siraj-samsudeen (2)
  • phact (2)
  • comhar (2)
  • ssslakter (2)
  • RensDimmendaal (2)
Top Labels
Issue Labels
enhancement (20) bug (3)
Pull Request Labels
enhancement (19) bug (2) documentation (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 3,139,741 last-month
  • Total docker downloads: 25,574
  • Total dependent packages: 228
  • Total dependent repositories: 882
  • Total versions: 214
  • Total maintainers: 1
pypi.org: fastcore

Python supercharged for fastai development

  • Versions: 214
  • Dependent Packages: 228
  • Dependent Repositories: 882
  • Downloads: 3,139,741 Last month
  • Docker Downloads: 25,574
Rankings
Dependent packages count: 0.1%
Dependent repos count: 0.4%
Downloads: 0.4%
Docker downloads count: 0.9%
Average: 1.2%
Stargazers count: 2.1%
Forks count: 3.2%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/docs.yml actions
  • fastai/workflows/quarto-ghp master composite
.github/workflows/main.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v3 composite