<commit_before>## Build and Release Instructions

### Bump the version

Edit `setup.py` and change the version number.

### PyPI

To build a PyPI package and release it on [pypi.org/](https://pypi.org/project/fastai/):

1. Build the package (source and wheel)

   ```
   make dist
   ```

2. Publish:

   ```
   make release
   ```

   Note: PyPI won't allow re-uploading the same package filename, even if it's a minor fix. If you delete the file from pypi or test.pypi it still won't let you do it. So either a micro-level version needs to be bumped (A.B.C++) or some [post release string added](https://www.python.org/dev/peps/pep-0440/#post-releases) in `setup.py`.

3. Test that the uploaded package is found and gets installed:

   Test the webpage: [https://pypi.org/project/fastai/](https://pypi.org/project/fastai/)

   Test installation:

   ```
   pip install fastprogress
   ```



### Conda

To build a Conda package and release it on [anaconda.org](​https://anaconda.org/​):

1. Build the fastprogress package (include the `pytorch` channel, for `torch/` dependencies, and fastai test channel for `torchvision/fastai`):

   ```
   conda-build ./conda/
   ```

2. Upload

   ```
   anaconda upload /path/to/fastai-xxx.tar.bz2 -u fastai
   ```

3. Test

   ```
   conda install fastprogress
   ```<commit_msg>correct file name<commit_after>## Build and Release Instructions

### Bump the version

Edit `setup.py` and change the version number.

### PyPI

To build a PyPI package and release it on [pypi.org/](https://pypi.org/project/fastai/):

1. Build the package (source and wheel)

   ```
   make dist
   ```

2. Publish:

   ```
   make release
   ```

   Note: PyPI won't allow re-uploading the same package filename, even if it's a minor fix. If you delete the file from pypi or test.pypi it still won't let you do it. So either a micro-level version needs to be bumped (A.B.C++) or some [post release string added](https://www.python.org/dev/peps/pep-0440/#post-releases) in `setup.py`.

3. Test that the uploaded package is found and gets installed:

   Test the webpage: [https://pypi.org/project/fastai/](https://pypi.org/project/fastai/)

   Test installation:

   ```
   pip install fastprogress
   ```



### Conda

To build a Conda package and release it on [anaconda.org](​https://anaconda.org/​):

1. Build the fastprogress package (include the `pytorch` channel, for `torch/` dependencies, and fastai test channel for `torchvision/fastai`):

   ```
   conda-build ./conda/
   ```

2. Upload

   ```
   anaconda upload /path/to/fastprogress-xxx.tar.bz2 -u fastai
   ```

3. Test

   ```
   conda install fastprogress
   ```
{'fraction_non_alphanumeric': 0.12895927601809956, 'fraction_numerical': 0.008295625942684766, 'mean_word_length': 3.177952755905512, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6447453', 'n_tokens_mistral': 901, 'n_tokens_neox': 850, 'n_words': 304}