semvec/pypi-packages huggingface dataset:
refreshrate 0.4
A python package that fetchs your monitor refresh rate.
Requires Python: >=3.6

# refreshrate
A Python package that fetches your monitor refresh rate.

## Installation
Install the package via pip:

```bash
pip install refreshrate
```

## Usage
To use `refreshrate` in your project:

```python
import refreshrate

# Get the monitor's refresh rate
rate = refreshrate.get()

if rate:
    print(f"Your monitor's refresh rate is {rate} Hz.")
else:
    print("Could not retrieve the refresh rate.")
```
django-sortable-tabular 0.1.1
A Django library for sortable TabularInline in admin interface

# django_sortable_tabular

`django_sortable_tabular` is a simple and lightweight Django library that enables column sorting for fields displayed in `TabularInline` in the Django admin panel.

## Author

Michał Konwiak
[GitHub](https://github.com/michalkonwiak).

## Features

- Column sorting for `TabularInline` using JavaScript and Django.
- Multi-column sorting with adjustable sort direction (ascending/descending).
- Seamless integration with the Django admin interface through the `SortableTabularInline` class.

## Requirements

- Python 3.8+
- Django 3.2+

## Installation

1. Install the library using `pip`:

   ```bash
   pip install django_sortable_tabular
2. Add a package to INSTALLED_APPS section. 
   ```bash
   INSTALLED_APPS = [
       # another apps
       'django_sortable_tabular',
   ]
3. Define a class that extends the `SortableTabularInline` class and use it as you would a standard inline class. Here’s an example:
   ```bash
   class CommentAdmin(SortableTabularInline):
    model = Comment

   class PostAdmin(admin.ModelAdmin):
       list_display = (
           "title",
           "text",
           "picture",
           "author"
       )
       inlines = [
           CommentAdmin
       ]

4. Run `python manage.py collectstatic`
5. Run server and enjoy