semvec/pypi-packages huggingface dataset:
django-prefetch-values 0.3.0
Add .values_nested() to Django querysets for nested prefetch dictionaries
License: MIT
Requires Python: >=3.13
Keywords: django, orm, prefetch, prefetch_related, queryset, values

# Django Prefetch Values

[![PyPI version](https://img.shields.io/pypi/v/django-prefetch-values.svg)](https://pypi.org/project/django-prefetch-values/)
[![CI](https://github.com/oliverhaas/django-prefetch-values/actions/workflows/ci.yml/badge.svg)](https://github.com/oliverhaas/django-prefetch-values/actions/workflows/ci.yml)

An experimental package that adds `.values_nested()` to Django querysets, returning nested dictionaries with prefetched relations included.

## Quick Example

```python
Book.objects.prefetch_related("authors").values_nested("title", "authors")
# [{"title": "...", "authors": [{"id": 1, "name": "..."}, ...]}]
```

## Documentation

See the [full documentation](https://oliverhaas.github.io/django-prefetch-values/) for installation, usage, and API reference.

## Supported Versions

|         | Python 3.13 | Python 3.14 |
|---------|:-----------:|:-----------:|
| Django 5.2 | ✓ | ✓ |
| Django 6.0 | ✓ | ✓ |

## License

MIT
py-local 0.5.3
Local Network Module for Python
License: MIT

<h1 align="center">
  <img src="https://i.imgur.com/nxoVEaX.png" width="50%">
</h1>

<p align="center">
  Work with your local network easily
</p>

### [Project's wiki](https://github.com/codelao/py-local/wiki)
**or:**
`git clone https://github.com/codelao/py-local.wiki.git`

#### Contents
- [Home](https://github.com/codelao/py-local/wiki)
  - [Welcome to py-local's wiki!](https://github.com/codelao/py-local/wiki#welcome-to-py-locals-wiki)
    - [Description](https://github.com/codelao/py-local/wiki#description)
- [Getting started](https://github.com/codelao/py-local/wiki/Getting-started)
  - [Usage](https://github.com/codelao/py-local/wiki/Getting-started#usage)
    - [Getting current local IPv4 address](https://github.com/codelao/py-local/wiki/Getting-started#getting-current-local-ipv4-address)
    - [Getting current local IPv6 address](https://github.com/codelao/py-local/wiki/Getting-started#getting-current-local-ipv6-address)
    - [Getting current active Wi-Fi or Ethernet interface](https://github.com/codelao/py-local/wiki/Getting-started#getting-current-active-wi-fi-or-ethernet-interface)
    - [Getting status of network interface](https://github.com/codelao/py-local/wiki/Getting-started#getting-status-of-network-interface)
  - [Notes](https://github.com/codelao/py-local/wiki/Getting-started#notes)
- [Installation](https://github.com/codelao/py-local/wiki/Installation)
  - [Install via pip](https://github.com/codelao/py-local/wiki/Installation#install-via-pip)