semvec/pypi-packages huggingface dataset:
django-queryset-erd 2025.1.1
Generate Entity-Relationship Diagrams from Django querysets

# Django Queryset ERD Generator

Generate Entity-Relationship Diagrams from Django querysets using Mermaid notation.

## Installation

```bash
pip install django-queryset-erd
```

## Usage

```python
from your_app.models import YourModel
from django_queryset_erd import generate_erd_from_queryset

queryset = YourModel.objects.select_related('related_model')
diagram = generate_erd_from_queryset(queryset)
print(diagram)
```

## Features

- Generates Mermaid ERD diagrams from Django querysets
- Supports ForeignKey and ManyToManyField relationships
- Handles reverse relationships

## Requirements

- Python 3.12+
- Django >= 4.2

## License

This project is licensed under the MIT License - see the LICENSE file for details.
unfuck 0.0.1
Use LLMs to unf*ck your codebase documentation.
Requires Python: <4.0,>=3.8

# unfuck

[![Release](https://img.shields.io/github/v/release/AlgoDistill/unfuck)](https://img.shields.io/github/v/release/AlgoDistill/unfuck)
[![Build status](https://img.shields.io/github/actions/workflow/status/AlgoDistill/unfuck/main.yml?branch=main)](https://github.com/AlgoDistill/unfuck/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/AlgoDistill/unfuck/branch/main/graph/badge.svg)](https://codecov.io/gh/AlgoDistill/unfuck)
[![Commit activity](https://img.shields.io/github/commit-activity/m/AlgoDistill/unfuck)](https://img.shields.io/github/commit-activity/m/AlgoDistill/unfuck)
[![License](https://img.shields.io/github/license/AlgoDistill/unfuck)](https://img.shields.io/github/license/AlgoDistill/unfuck)

Use LLMs to unf*ck your codebase documentation.

- **Github repository**: <https://github.com/AlgoDistill/unfuck/>
- **Documentation** <https://AlgoDistill.github.io/unfuck/>

## Getting started with your project

First, create a repository on GitHub with the same name as this project, and then run the following commands:

```bash
git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:AlgoDistill/unfuck.git
git push -u origin main
```

Finally, install the environment and the pre-commit hooks with

```bash
make install
```

You are now ready to start development on your project!
The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

To finalize the set-up for publishing to PyPI or Artifactory, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/publishing/#set-up-for-pypi).
For activating the automatic documentation with MkDocs, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/mkdocs/#enabling-the-documentation-on-github).
To enable the code coverage reports, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/codecov/).

## Releasing a new version

- Create an API Token on [PyPI](https://pypi.org/).
- Add the API Token to your projects secrets with the name `PYPI_TOKEN` by visiting [this page](https://github.com/AlgoDistill/unfuck/settings/secrets/actions/new).
- Create a [new release](https://github.com/AlgoDistill/unfuck/releases/new) on Github.
- Create a new tag in the form `*.*.*`.
- For more details, see [here](https://fpgmaas.github.io/cookiecutter-poetry/features/cicd/#how-to-trigger-a-release).

---

Repository initiated with [fpgmaas/cookiecutter-poetry](https://github.com/fpgmaas/cookiecutter-poetry).