semvec/pypi-packages huggingface dataset:
dj-watchfiles 2.0.1
Use watchfiles in Django’s autoreloader.
Requires Python: >=3.9

# dj-watchfiles

[![Run tests and upload coverage](https://github.com/xshapira/dj-watchfiles/actions/workflows/main.yml/badge.svg)](https://github.com/xshapira/dj-watchfiles/actions/workflows/main.yml)
[![Codecov](https://img.shields.io/codecov/c/gh/xshapira/dj-watchfiles?color=31C654)](https://codecov.io/gh/xshapira/dj-watchfiles)
![PyPI - Version](https://img.shields.io/pypi/v/dj-watchfiles)

Use [watchfiles](https://watchfiles.helpmanual.io/) in Django's autoreloader.

---

`dj-watchfiles` is a fork of [django-watchfiles](https://github.com/adamchainz/django-watchfiles), adds support for managing verbosity level.

---

## Requirements

Python 3.9 to 3.13 supported.

Django 4.2 to 5.1 supported.

## Installation

1. Install with **pip**:

   ```sh
   python -m pip install dj-watchfiles
   ```

2. Install with **uv**:

   ```sh
   uv add dj-watchfiles
   ```

3. Add dj-watchfiles to your INSTALLED_APPS:

   ```sh
   INSTALLED_APPS = [
        ...,
        "dj_watchfiles",
        ...,
    ]
   ```

That's it!

## Verbosity configuration

You can control the verbosity level either through Django settings or CLI.

1. **Django Settings**

   ```py

    WATCHFILES = {
      "verbosity": 2,  # Default is 1
    }

   ```

1. **CLI**

   ```sh
    python manage.py runserver --verbosity 2
   ```

### Verbosity Levels

| Verbosity level | Log level | What you'll see |
| --- | --- | --- |
| 0 | ERROR | Only errors |
| 1 | WARNING | Warnings and errors (Default) |
| 2 | INFO | Info, warnings, and errors |
| 3 | DEBUG | All messages including debug info |

Other settings you can get from the project settings `WATCHFILES`, e.g.:

```py
WATCHFILES = {
     "watch_filter": "path.to.custom_filter",
     "raise_interrupt": False,
     "debug": True,  # False by default
   }
```

**Note:** Setting `debug = True` is more like a hard override that ignores the verbosity setting completely and sets the verbosity level to 3 (DEBUG level).

---

Django doesn't provide an official API for alternative autoreloader classes.
Therefore, dj-watchfiles monkey-patches django.utils.autoreload to make its own reloader the only available class.
You can tell it is installed as runserver will list WatchfilesReloader as in use:

```sh
$ ./manage.py runserver
Watching for file changes with WatchfilesReloader
...

```

Unlike Django's built-in WatchmanReloader, there is no need for a fallback to StatReloader, since watchfiles implements its own internal fallback to using stat.
wakatime-client 0.3.1
An awesome package is coming soon! 🎉
Requires Python: >=3.8

<h1 align="center">
    <strong>WakaTime Client</strong>
</h1>
<p align="center">
    <a href="https://github.com/Kludex/wakatime-client" target="_blank">
        <img src="https://img.shields.io/github/last-commit/Kludex/wakatime-client" alt="Latest Commit">
    <a href="https://pypi.org/project/wakatime-client" target="_blank">
        <img src="https://img.shields.io/pypi/v/wakatime-client" alt="Package version">
    </a>
    <img src="https://img.shields.io/pypi/pyversions/wakatime-client">
    <img src="https://img.shields.io/github/license/Kludex/wakatime-client">
</p>

An awesome package is coming soon! 🎉

## Installation

```bash
pip install wakatime-client
```

## License

This project is licensed under the terms of the MIT license.
tytorch 0.8.8
Based on a fork of the amazing mltrainer and mads_datasets by R. Grouls, tytorch is an opinionated base for working with data for and training with pytorch.
Requires Python: >=3.11.5

Based on a fork of the amazing mltrainer and mads_datasets by R. Grouls, 
tytorch is an opinionated base for working with data for and training with pytorch.

The Dataset and DataPipeline follows a strategy pattern that provides for a relatively flat class hierarchy while at the same time allowing for maximum code reuse

The Trainer assumes mlflow for tracking and ray for tuning and is compatible with all the pytorch native dataloaders and objects, as well as the mads_datasets factories and datasets.